Skip to main content

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

Workflow preview

Workflow preview
100%
Auto-generate SEO blog posts with Perplexity, GPT, Leonardo & WordPress preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 ...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.if, n8n-nodes-base.wait, n8n-nodes-base.googlesheets, n8n-nodes-base.code, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Cristian Tala Sánchez.

Original n8n.io source

1.1 Workflow description

Title
Auto-generate SEO blog posts with Perplexity, GPT, Leonardo & WordPress
Workflow name
Auto-generate SEO blog posts with Perplexity, GPT, Leonardo & WordPress

✨ 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.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 2 - Research Topic- Perplexity

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - Crear Post en Wordpress

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Message a model

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 5 - Upload Image to Wordpress

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 6 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 7 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 8 - Get Leonardo Image Status

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 9 - Get Leonardo Image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 10 - Agregar ALT a la Imagen

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 11 - Publicaciones Wordpress Startups y Tecnología

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 12 - Leonardo: Create Post Image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 13 - Get Title, Content, and Image FileName

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 14 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Auto-generate SEO blog posts with Perplexity, GPT, Leonardo & WordPress
Complexity advanced
Nodes 19
Categories Content Creation, Multimodal AI
Author Cristian Tala Sánchez
Published 16 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6067/6067.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Auto-generate SEO blog posts with Perplexity, GPT, Leonardo & WordPress do?

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 ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.