Skip to main content

Generate & publish SEO-optimized WordPress blog posts with AI

Workflow preview

Workflow preview
100%
Generate & publish SEO-optimized WordPress blog posts with AI preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Generate and Publish SEO Optimized Blog Posts to WordPress This n8n workflow, BlogBlitz , automates the creation and publishing of SEO optimized blog posts for WordPress, saving you hours of conten...

Best for

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

Tools used

@n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.wordpress, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.httprequest, n8n-nodes-base.scheduletrigger, @n8n/n8n-nodes-langchain.lmchatopenrouter, n8n-nodes-base.discord

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Generate & publish SEO-optimized WordPress blog posts with AI
Workflow name
Generate & publish SEO-optimized WordPress blog posts with AI

Generate and Publish SEO-Optimized Blog Posts to WordPress

This n8n workflow, BlogBlitz, automates the creation and publishing of SEO-optimized blog posts for WordPress, saving you hours of content creation time. Triggered via Telegram or a scheduled interval, it generates 1,500–2,500-word articles on Technology, AI, Tech Facts, History, or Tips, complete with catchy titles, slugs, meta descriptions, and realistic featured images. Perfect for bloggers and marketers, BlogBlitz ensures your site stays fresh with high-quality content.

Who is this for?

Bloggers, content marketers, and WordPress site owners who want to automate high-quality, SEO-ready blog content creation without manual writing or formatting.

What problem is this workflow solving?

Manually creating engaging, SEO-optimized blog posts is time-consuming and requires expertise. BlogBlitz solves this by automating the entire process—from generating ideas and writing articles to publishing and notifying you—keeping your site active and discoverable.

What this workflow does

  • Triggers: Runs every 3 hours via a Schedule Trigger or on-demand with a Telegram command (“generate”).
  • Generates Content: Uses OpenRouter to pick a category (e.g., Technology, AI) and create a title, slug, focus keyphrase, and meta description.
  • Writes Articles: OpenAI crafts 1,500–2,500-word posts with SEO-friendly structure, headings, and a call-to-action.
  • Adds Visuals: Generates realistic featured images with OpenAI and uploads them to WordPress.
  • SEO Features: Generate optimized slug, focus keyphrase, meta description
  • Publishes: Posts articles to WordPress with proper categories and featured images.
  • Notifies: Sends publish alerts with links to Discord and Telegram.

Setup

  1. n8n instance (Cloud or self-hosted): Ensure you have a cloud or self-hosted n8n instance.
  2. Credentials:
    • WordPress: API access for wp-json/wp/v2 endpoint.
    • OpenAI: For article and image generation.
    • OpenRouter: For title and category generation.
    • Telegram: Bot API for triggers and notifications.
    • Discord: Webhook for publish alerts.
  3. WordPress Configuration:
    • Set up categories (Technology [ID:3], AI [ID:4], Tech Fact [ID:7], Tech History [ID:8], Tech Tips [ID:9]).
    • Ensure an admin user ID is available (default: 1).
  4. Node Setup:
    • Use the Edit Fields node to centralize variables like category IDs.
  5. Test: Send “generate” via Telegram to test the workflow. Check WordPress for the published post.

How to customize this workflow to your needs

  • Change Categories: Update the WordPress Post Draft node to match your site’s category IDs.
  • Adjust Schedule: Modify the Schedule Trigger node for different intervals (e.g., daily).
  • Tweak Tone: Edit the prompt in the Basic LLM Chain node for a different writing style (e.g., formal or casual).
  • Add Platforms: Extend notifications to Slack or email by adding nodes.
  • Image Style: Adjust the OpenAI image node for different sizes or styles (e.g., “natural” instead of “vivid”).

Pre-Requirements

  • n8n Instance: Cloud or self-hosted.
  • Credentials:
    • WordPress API (wp-json/wp/v2 endpoint).
    • OpenAI API for text and images.
    • OpenRouter API for AI content.
    • Telegram bot API.
    • Discord Webhook API.
  • Dependencies: @n8n/n8n-nodes-langchain package.
  • WordPress Setup: Categories and admin user ID configured.
  • Network: Stable internet for API calls.

Made by: Khaisa Studio
Tag: youtube, summarizer, telegram, openai
Category: AI Automation, Video Tools Need a custom? Contact Me

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 - Topic Chooser and Title Maker

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

Block 2 - Basic LLM Chain

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

Block 3 - Topic Chooser and Title Maker Parser

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

Block 4 - Wordpress Post Draft

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

Block 5 - OpenAI - Generate Image

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

Block 6 - Upload Image to WP

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

Block 7 - Wordpress - Set Featured Image

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

Block 8 - Schedule Trigger

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

Block 9 - Title, category, meta, keyphrase generator

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

Block 10 - Send to Discord Using Webhook

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

Block 11 - Article Generator

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

Block 12 - Telegram Trigger

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

Block 13 - If

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

Block 14 - Telegram

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

Block 15 - Sticky Note

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

Block 16 - Sticky Note1

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

3. Summary Table

Workflow Generate & publish SEO-optimized WordPress blog posts with AI
Complexity advanced
Nodes 16
Categories Content Creation, Multimodal AI
Author Khairul Muhtadin
Published 13 May 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4024/4024.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 Generate & publish SEO-optimized WordPress blog posts with AI do?

Generate and Publish SEO Optimized Blog Posts to WordPress This n8n workflow, BlogBlitz , automates the creation and publishing of SEO optimized blog posts for WordPress, saving you hours of conten...

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.