Skip to main content

Automate SEO-Optimized blog creation with GPT-4o, Perplexity AI & multi-language support

Workflow preview

Workflow preview
100%
Automate SEO-Optimized blog creation with GPT-4o, Perplexity AI & multi-language support preview
Open on n8n.io

Important notice

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

1. Workflow Overview

WordPress Blog Automation Pro v2.1 – with DEEPER RESEARCH – Advanced Content Automation This advanced, dual workflow system automates the entire lifecycle of creating in depth, SEO optimized blog p...

Best for

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

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.editimage, n8n-nodes-base.splitinbatches, n8n-nodes-base.wait, n8n-nodes-base.merge, @n8n/n8n-nodes-langchain.outputparserstructured, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.chainllm

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Daniel Ng.

Original n8n.io source

1.1 Workflow description

Title
Automate SEO-Optimized blog creation with GPT-4o, Perplexity AI & multi-language support
Workflow name
Automate SEO-Optimized blog creation with GPT-4o, Perplexity AI & multi-language support

WordPress Blog Automation Pro v2.1 – with DEEPER RESEARCH – Advanced Content Automation

This advanced, dual-workflow system automates the entire lifecycle of creating in-depth, SEO-optimized blog posts. It transforms a simple topic from a Google Sheet into a fully researched, well-structured, and image-rich article published directly on your WordPress site, with all assets securely backed up to Google Drive. It leverages AI for multi-layered research, content generation, and image creation, streamlining your content pipeline.

This version 2.1 is an upgrade from the WordPress Auto-Blogging Pro v2 - with DEEPER RESEARCH - Advanced Content Automation.

For more powerful n8n templates, visit our website at aiautomationpro.org.

What's new in version 2.1

Version 2.1 introduces several upgrades for efficiency and simplicity:

  1. Re-architecture of the core AI logic: The initial AI research agent is now more powerful. It not only provides a general overview but also proactively defines and returns the complete chapter structure for the article in a single step. This integration results in a more coherent and logically structured article from the very beginning.
  2. Multi-Language Support: The workflow is now designed to support content creation in multiple languages, allowing you to scale your content strategy globally.
  3. Simplified Architecture with Native Perplexity Node: Thanks to updates in n8n's Perplexity node, the separate "Research Tool" sub-workflow has been eliminated. All research calls are now made directly within the Main Flow. This simplifies the template's structure from three workflows down to two, making it easier to set up, manage, and debug.
  4. Enhanced AI Reliability: The new version uses Structured Output Parsers within the LangChain framework. This ensures the AI's responses are always in a clean, predictable JSON format, drastically reducing errors and making the entire automation more resilient.

What problem is this workflow solving? / Use cases

Standard content automation often struggles with producing truly in-depth, comprehensive content. This workflow addresses that challenge by:

  • Automating Multi-Level Research: Optionally eliminates the manual effort required to deeply research topics, ensuring content is thorough and well-supported.
  • Generating Long-Form Content: Enables the creation of detailed articles, comprehensive reports, or even initial e-book drafts automatically.
  • Scaling Content Production: Efficiently handles lists of topics from Google Sheets, processing them sequentially for reliable, automated content creation over time.
  • Enhancing SEO Automatically: Integrates best practices like sitemap-based internal linking, external source linking, automatic categorization, and tag generation.
  • Streamlining Complex Tasks: Combines research, writing, image generation, SEO optimization, publishing, and comprehensive backups into a single, automated system.

Who is this for?

This advanced workflow is designed for demanding users who require robust, comprehensive content automation:

  • Content Marketers & Strategists
  • SEO Professionals
  • Niche Site Builders & Affiliates
  • Agencies
  • Researchers & Analysts
  • Power Users of previous versions ready to upgrade to a more powerful and streamlined architecture.

Unique Features

  • Conditional Deeper Research: Choose per-topic whether to activate multi-level research for maximum depth or use standard chapter-level research.
  • Multi-Language Content Generation: Define your desired output language in the Airtable settings to create content for different global audiences.
  • Centralized Control Interface: Google Sheets acts as the primary interface for bulk input, parameter setting, and status monitoring.
  • Dual Trigger Options: Use Google Sheets for batch processing lists of topics or n8n’s Native Form for single, ad-hoc topic submission.
  • Latest AI Image Models: Optimized for high-quality images using OpenAI’s latest models, with easy node setup to switch to alternatives.
  • Multiple-Image Generation: Generates and adds unique AI images for each chapter, as well as a featured image for the article.
  • Automatic Categorization: The AI intelligently assigns your post to the most relevant existing categories on your WordPress site.
  • AI-Powered Tag Generation: The workflow automatically generates a list of relevant SEO tags for your article to improve discoverability.
  • Batch Topic Processing: Handles multiple topic inputs efficiently via the Trigger Flow loop, processing them sequentially with status tracking.
  • Advanced External & Internal Linking: Automatically inserts relevant internal links by analyzing your sitemap and includes external source links from its research.
  • Direct WordPress Integration: Streamlines publication by automatically sending finalized content, metadata, tags, images, and categories to your WordPress site.
  • Comprehensive Backup System: Saves final content in multiple formats and locations: Markdown to Google Docs, Images to Google Drive, Final URLs and details to Google Sheets.
  • Rate-Limit Aware: Includes configurable Wait nodes to prevent API errors during intensive processing.
  • Native Perplexity Integration: Simplifies online research with n8n's built-in Perplexity node.

How this workflow works

This template utilizes two interconnected n8n flows, orchestrated primarily via Google Sheets.

  1. Trigger Flow (Scheduler & Dispatcher): Activates on a schedule or via a form. It reads rows from a Google Sheet where the Status is 'To Do' and executes the Main Flow for each topic, one by one.
  2. Main Flow (Content Generation Engine):
    • Setup: Receives parameters from the Trigger Flow and updates the topic's status to 'In Progress'.
    • Research & Planning: Gathers internal links from your sitemap and performs initial online research using the native Perplexity node. A LangChain-based AI agent then outlines the entire article.
    • Conditional Content Creation: Based on the Have Deeper Research flag, it either performs multi-level research or standard chapter-level research.
    • Image Generation & Upload: Generates and uploads a featured image and images for each chapter to WordPress and Google Drive.
    • Publishing & Backup: Assembles the final article, converts it to HTML, publishes it to WordPress with all SEO metadata, and saves comprehensive backups to Google Sheets and Google Docs.
    • Finalize: Updates the topic's Status to 'Done' in the Google Sheet.

Requirements

  • n8n Instance
  • OpenAI API Key
  • Perplexity API Key
  • WordPress Website (REST API enabled, with an Application Password)
  • Google Account (for Sheets, Drive, and Docs)

Setup Step-by-Step

  1. Import Workflows: Download and import the two .json files (Trigger Flow and Main Flow).
  2. Configure Google Sheet: Find the link to the Google Sheet template in the automated email you received after your order confirmation. You must make your own copy of this sheet. Do not request access to the original link. The sheet has two tabs: Create Topic and Final Blogs. Ensure the column headers in your copy match those used in the workflow nodes.
  3. Create Google Drive Folder: In your Google Drive, create a new folder where all your content backups (documents and images) will be stored. Copy the Folder ID from the URL (it's the string of letters and numbers at the end).
  4. Link Flows: In the Trigger Flow, open the "Execute Workflow" node and select your imported Main Flow from the dropdown menu.
  5. Configure Credentials: In n8n, add credentials for OpenAI, Perplexity, WordPress, and Google.
  6. Connect Workflow Nodes: Open both workflows and assign the correct credential to each relevant node. Update the "Google Sheets" nodes with your Sheet ID and the "Google Drive" nodes with the Folder ID you created in step 3.
  7. Initial Test Run: Add a test topic to your sheet, manually trigger the workflow, and verify the process completes successfully.
  8. Activate Workflow: Toggle the "Active" switch ON for the Trigger Flow. The Main Flow should remain inactive as it is triggered by the other flow.
  9. Finalize SEO in WordPress: The workflow saves the generated SEO meta title and meta description to the Final Blogs tab in your Google Sheet. After the post is created in WordPress (as a draft), you must manually copy these values from the sheet and paste them into your SEO plugin's fields (e.g., Yoast, Rank Math) on the WordPress post editor.

How to customize the workflow

  • Adjust the Schedule: Change the interval in the "Schedule Trigger" node of the Trigger Flow to control how often it checks for new topics.
  • Change Language: To generate content in a different language, open the Main Flow, go to the Global Configuration node, and update the language field to your desired language (e.g., "Spanish", "French", "German").
  • Refine AI Prompts: Modify the prompts in the OpenAI nodes within the "Main Flow" to fine-tune the writing style, tone, and structure of your articles.
  • Change Image Style: Edit the prompts in the "Generate Image" section to alter the style of the generated images to match your brand.
  • Customize Post Status: Change the default publishing status in the "WordPress" node from "draft" to "publish" if you want to post directly without a final review.

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 - Sticky Note

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

Block 2 - Sticky Note2

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

Block 3 - Sticky Note3

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

Block 4 - Sticky Note4

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

Block 5 - Sticky Note5

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

Block 6 - Sticky Note6

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

Block 7 - Resize Image

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

Block 8 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 9 - Sticky Note7

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

Block 10 - Wait1

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

Block 11 - Merge2

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3

Block 12 - Merge1

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3

Block 13 - Structured Output Parser1

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.2

Block 14 - Structured Output Parser4

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.2

Block 15 - Initial Research

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.7

Block 16 - Sticky Note10

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

Block 17 - Sticky Note11

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

Block 18 - Sticky Note12

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

Block 19 - Blog Planner

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.5

Block 20 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 21 - OpenAI Chat Model1

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 22 - Settings

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 23 - Google Sheets In Progress Topic

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

Block 24 - Sticky Note1

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

Showing the first 24 of 125 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Automate SEO-Optimized blog creation with GPT-4o, Perplexity AI & multi-language support
Complexity advanced
Nodes 125
Categories Content Creation, Multimodal AI
Author Daniel Ng
Published 27 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7962/7962.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 Automate SEO-Optimized blog creation with GPT-4o, Perplexity AI & multi-language support do?

WordPress Blog Automation Pro v2.1 – with DEEPER RESEARCH – Advanced Content Automation This advanced, dual workflow system automates the entire lifecycle of creating in depth, SEO optimized blog p...

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.