Skip to main content

WordPress blog generation with AI Research, Image Creation & Auto Publishing

Workflow preview

Workflow preview
100%
WordPress blog generation with AI Research, Image Creation & Auto Publishing preview
Open on n8n.io

Important notice

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

1. Workflow Overview

How This N8n Workflow Works This is an automated blog post generation system that: 1. Researches topics using AI agents and web search tools 2. Writes complete blog posts with proper SEO structure ...

Best for

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

Tools used

@n8n/n8n-nodes-langchain.outputparserstructured, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.if, n8n-nodes-base.wait, n8n-nodes-base.splitinbatches, n8n-nodes-base.code, n8n-nodes-base.set, 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 Muhammad Asadullah.

Original n8n.io source

1.1 Workflow description

Title
WordPress blog generation with AI Research, Image Creation & Auto Publishing
Workflow name
WordPress blog generation with AI Research, Image Creation & Auto Publishing

How This N8n Workflow Works

This is an automated blog post generation system that:

  1. Researches topics using AI agents and web search tools
  2. Writes complete blog posts with proper SEO structure
  3. Generates custom images for each post
  4. Publishes directly to WordPress with images embedded

Setup Steps

1. API Keys & Credentials

  • Set in "API Keys" node:
    • tavily: Get from tavily.com (free tier available)
    • wavespeed: Get from wavespeed.ai for image generation
    • wordpress-website-url: Your WordPress site URL

2. WordPress Authentication

  • Create WordPress Application Password:
    • Go to Users → Your Profile → Application Passwords
    • Create new password and save it
  • Set up WordPress API credential in n8n with:
    • Username: Your WordPress username
    • Password: The application password you created

3. Data Table Setup

  • Create an n8n Data Table with these columns:
    • title, topic, content, slug, excerpt, featured_image, audience, category, author, status

4. AI Model Configuration

  • Configure AI models in these nodes:
    • Researcher Agent (uses OpenAI or Google Gemini)
    • Writer Agent (uses OpenAI or Google Gemini)
    • Image Prompts Writer (uses OpenAI)

5. Image Generation

  • Update image upload URL in "Upload image" node:
    • Change to: https://yourdomain.com/wp-json/wp/v2/media
  • Configure your preferred image generation service

How to Trigger

  1. Fill the form with:
    • Topic
    • Target audience
    • Industry
  2. Submit to start the automation

Workflow Process

  1. Research Phase: AI researches topic and analyzes existing content
  2. Writing Phase: AI writes complete blog post with HTML structure
  3. Image Creation: Generates featured image + content images
  4. WordPress Integration:
    • Uploads images to media library
    • Creates blog post with embedded images
    • Sets featured image and metadata

Key Features

  • SEO-optimized content structure
  • Automatic image generation and embedding
  • WordPress native integration
  • Quality checks and retry logic
  • Human-like writing with anti-AI detection

The system handles everything from research to published post with images in one automated workflow.

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 - Structured Output Parser

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

Block 2 - Google Gemini Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 3 - Google Gemini Chat Model1

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 4 - If

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

Block 5 - Wait

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

Block 6 - Google Gemini Chat Model2

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 7 - Loop Over Items

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

Block 8 - Wait1

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

Block 9 - Code

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

Block 10 - all_images

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

Block 11 - html_content

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

Block 12 - If1

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

Block 13 - Wait2

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

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 - URL Scraper

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

Block 20 - Sticky Note5

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

Block 21 - Message a model in Perplexity

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

Block 22 - Sticky Note6

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

Block 23 - Sticky Note7

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

Block 24 - download image

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

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

3. Summary Table

Workflow WordPress blog generation with AI Research, Image Creation & Auto Publishing
Complexity advanced
Nodes 54
Categories Content Creation, Multimodal AI
Author Muhammad Asadullah
Published 29 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11358/11358.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 WordPress blog generation with AI Research, Image Creation & Auto Publishing do?

How This N8n Workflow Works This is an automated blog post generation system that: 1. Researches topics using AI agents and web search tools 2. Writes complete blog posts with proper SEO structure ...

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.