See llms.txt for all machine-readable content.

Back to Templates

Generate and Publish SEO-Optimized Blog Posts to WordPress

Last update

Last update 3 days ago

Categories

Share


BlogBlitz is a powerful n8n workflow that automates SEO-optimized WordPress publishing, saving hours of manual work. Triggered on schedule or via Telegram, it generates high-quality 1,500–2,500-word articles with titles, slugs, meta descriptions, and images.

Last updated: September 2026.

Who is this for?

  • Bloggers who want fresh, consistent content.
  • Content marketers aiming for SEO efficiency.
  • WordPress site owners looking to automate blog publishing without sacrificing quality.

Problem Solved

Manually creating engaging, SEO-friendly content is time-consuming and requires writing expertise. BlogBlitz solves this by:

  • Automating ideation, writing, formatting, and publishing.
  • Generating images and SEO elements.
  • Keeping your blog active and visible to search engines.

What This Workflow Does

Feature Description
Triggers - Runs every 3 hours via Schedule Trigger<br>- Or on-demand via Telegram command: /generate
Generates Content Uses OpenRouter to: <br>- Select a category (Technology, AI, etc.)<br>- Create a title, slug, focus keyphrase, and meta description
Writes Articles OpenAI generates 1,500–2,500-word articles:<br>- SEO-optimized<br>- Structured with headings<br>- Includes CTA
Adds Visuals Generates realistic featured images with OpenAI and uploads them to WordPress
SEO Features Generates:<br>- Optimized slug<br>- Focus keyphrase<br>- Meta description
Publishes Posts directly to WordPress:<br>- With correct category<br>- Featured image<br>- Author ID
Notifies Sends publish alerts via Discord webhook and Telegram message

Setup Instructions

Requirements

  • Self-hosted or cloud n8n instance
  • Stable internet connection

Credentials Needed

  • WordPress API (wp-json/wp/v2, REST API docs)
  • OpenAI API (text + image generation)
  • OpenRouter API (category & title generation)
  • Telegram Bot API
  • Discord Webhook

WordPress Configuration

  • Set up post categories:

    • Technology [ID:3]
    • AI [ID:4]
    • Tech Fact [ID:7]
    • Tech History [ID:8]
    • Tech Tips [ID:9]
  • Use admin user ID for publishing (default: 1)

Node Setup

  • Telegram Trigger — Initiates workflow with /generate
  • Schedule Trigger — Runs workflow every 3 hours
  • Edit Fields Node — Centralizes variable setup (e.g., category IDs)
  • OpenRouter Node — Generates topic and meta info
  • OpenAI Node — Generates full article and image
  • WordPress Node — Publishes post
  • Discord Node — Sends publish alert
  • HTTP Request Node — Handles image upload or utility calls

Customization Tips

Feature How to Customize
Categories Update category IDs in the WordPress Post Draft node
Schedule Modify the interval in the Schedule Trigger
Tone & Style Adjust prompts in the LLM Chain node
Notifications Add Slack, Email, or other channels
Image Style Change OpenAI prompt for “vivid”, “natural”, etc.

Pre-Requirements

  • n8n Instance (Cloud/Self-hosted)
  • Install: @n8n/n8n-nodes-langchain
  • All required API credentials configured
  • WordPress categories set
  • Admin user ID available

Nodes Used

  • Telegram Trigger
  • Schedule Trigger
  • OpenRouter
  • OpenAI
  • WordPress
  • Discord
  • HTTP Request

Test the Workflow

  1. Deploy and connect your n8n instance.
  2. Send /generate to your Telegram bot.
  3. Check your WordPress site for the newly published post!

Quick Answers

How often does it publish?
Every 3 hours by default, or on demand with /generate on Telegram.
What comes with each article?
Title, slug, focus keyphrase, meta description, featured image, and proper category.
Where do I get notified?
Publish alerts go to Discord and Telegram automatically.


Made by: khmuhtadin
Tag: wordpress, blog, seo, openai, telegram
Category: AI Automation, Blogging
Need a custom? contact me on LinkedIn or Web

Additional info

Built with n8n. Need an assessment on your business? Feel free to reach out at https://khmuhtadin.com/consultation/