Skip to main content
Community template Uses AIContent CreationMultimodal AI

Auto-generate SEO blog posts with Perplexity, GPT, Leonardo & WordPress - n8n workflow template

This workflow automates the creation and publishing of weekly SEO-optimized blog posts using AI and publishes them directly to WordPress — with featured images and tracking in Google Sheets. --- This automation is ideal for: Startup platforms and tech blogs Content creators and…

Template by Cristian Tala Sánchez · Original listing (opens in a new tab)

Starts on
On a schedule
Nodes
13 nodes
Level
Intermediate
Setup
About 32 min

Workflow preview

How this workflow runs

  1. 1

    Schedule Trigger

    Starts the workflow automatically on a schedule (cron / fixed interval).

  2. 2

    Research Topic- Perplexity

    Makes an external API call (HTTP request) to send or retrieve data from a third-party service.

  3. 3

    Get Title, Content, and Image FileName

    Runs custom JavaScript to transform or manipulate the data flowing through the workflow.

  4. 4

    Message a model

    Calls the OpenAI API for chat, image, or audio generation.

  5. 5

    Leonardo: Create Post Image

    Makes an external API call (HTTP request) to send or retrieve data from a third-party service.

  6. 6

    Get Leonardo Image Status

    Makes an external API call (HTTP request) to send or retrieve data from a third-party service.

  7. 7

    If

    Branches the workflow based on a true/false condition.

  8. 8

    Get Leonardo Image

    Makes an external API call (HTTP request) to send or retrieve data from a third-party service.

  9. 9

    Wait

    Pauses the workflow for a set time or until a condition is met (used for polling / async jobs).

  10. 10

    Upload Image to Wordpress

    Makes an external API call (HTTP request) to send or retrieve data from a third-party service.

Creator's notes and setup

Written by Cristian Tala Sánchez for the original listing.

SEO Blog Post Automation with Perplexity, GPT, Leonardo AI & WordPress

This workflow automates the creation and publishing of weekly SEO-optimized blog posts using AI and publishes them directly to WordPress — with featured images and tracking in Google Sheets.


Who is this for

This automation is ideal for:

  • Startup platforms and tech blogs
  • Content creators and marketers
  • Solopreneurs who want consistent blog output
  • Spanish-speaking audiences focused on startup trends

What it does

  • Runs every Monday at 6:00 AM via CRON
  • Uses Perplexity AI to research trending startup topics
  • Generates a 1000–1500 word article with GPT in structured HTML
  • Creates a cinematic blog image using Leonardo AI
  • Uploads the image to WordPress with alt text and SEO-friendly filename
  • Publishes the post in a pre-defined category
  • Logs the post in Google Sheets for tracking

How to set it up

  1. Connect your credentials:

    • Perplexity API
    • OpenAI (GPT-4.1 Mini or similar)
    • Leonardo AI (Bearer token)
    • WordPress (Basic Auth)
    • Google Sheets (OAuth2)
  2. Customize your content:

    • Adjust the prompt inside the HTTP node to fit your tone or focus
    • Change the WordPress category ID
    • Update scheduling if you want a different publishing day
  3. Test the workflow manually to ensure all steps function correctly


Pro tips

  • Add Slack or email nodes to get notified when a post goes live
  • Use multiple categories or RSS feeds for content diversification
  • Adjust GPT prompt to support different languages or tones
  • Add post-validation rules if needed before publishing

Why this matters

This workflow gives you a full editorial process on autopilot: research, writing, design, publishing, and tracking — all powered by AI. No more blank pages or manual posting.

Use it to scale your content strategy, boost your SEO, and stay relevant — 100% hands-free.

n8n nodes used (7 types)

What every node does (13)
  • Schedule Trigger (Schedule Trigger)Starts the workflow automatically on a schedule (cron / fixed interval).
  • Research Topic- Perplexity (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • Crear Post en Wordpress (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • Message a model (Open AI)Calls the OpenAI API for chat, image, or audio generation.
  • Upload Image to Wordpress (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • If (If)Branches the workflow based on a true/false condition.
  • Wait (Wait)Pauses the workflow for a set time or until a condition is met (used for polling / async jobs).
  • Get Leonardo Image Status (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • Get Leonardo Image (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • Agregar ALT a la Imagen (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • Publicaciones Wordpress Startups y Tecnología (Google Sheets)Reads from or writes rows to a Google Sheets spreadsheet.
  • Leonardo: Create Post Image (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • Get Title, Content, and Image FileName (Code)Runs custom JavaScript to transform or manipulate the data flowing through the workflow.

FAQ

Auto-generate SEO blog posts with Perplexity, GPT, Leonardo & WordPress: questions

How do I import the "Auto-generate SEO blog posts with Perplexity, GPT, Leonardo & WordPress" workflow into n8n?

Copy the workflow JSON from this page, open the n8n editor, click on an empty canvas and paste with Ctrl+V (Cmd+V on macOS). You can also download the .json file and choose Import from File in the workflow menu. Save the workflow, then attach credentials before activating it.

Which nodes and credentials does "Auto-generate SEO blog posts with Perplexity, GPT, Leonardo & WordPress" use?

It uses Google Sheets, HTTP Request, If, Wait, Code and Schedule Trigger, plus 1 more. Any node that connects to an external service needs your own credential — open each node after import and select or create one. Trigger, logic and transformation nodes usually need no credentials.

Can it run on n8n Cloud and on self-hosted n8n?

The workflow format is the same on both. If a node appears as unknown or outdated after import, update n8n to a recent version or, on self-hosted instances, install the required community node package. Features such as $env access are available on self-hosted instances only.

How can I customise "Auto-generate SEO blog posts with Perplexity, GPT, Leonardo & WordPress"?

Start by changing the trigger (schedule, webhook or app event) and the destination nodes to match your stack — it is listed under Content Creation, Multimodal AI. Edit prompts, field mappings and filters in the relevant nodes, use expressions like {{ $json.field }} to map data, and test with a manual execution before activating.

n8n is a trademark of n8n GmbH. AltFTool is not affiliated with, endorsed by or sponsored by n8n. Community templates are credited to their creators and link to the original listing; AltFTool originals are written and tested by the AltFTool team.

About this page

Free n8n workflow templates to copy and import

The AltFTool n8n library collects free n8n workflow templates for AI agents, Gmail, Google Sheets, Telegram and other apps. Each workflow page shows a preview, the list of nodes and the credentials it needs, and lets you copy or download the JSON to import into your own n8n.

Search the templates by app or task, or browse them by category and by node. The Workflow Inspector checks any workflow JSON for triggers, credentials and hardcoded keys before you share it, and the expressions cheat sheet gives copy-paste n8n expression examples. AltFTool is not affiliated with n8n.

People also search for

  • n8n workflow templates
  • n8n templates
  • n8n automation examples
  • n8n json workflows
  • n8n nodes
  • free n8n workflow templates
  • n8n ai agent template
  • n8n expressions cheat sheet