# Generate and Publish SEO-Optimized Blog Posts to WordPress: n8n workflow

> Started by an incoming Telegram message, and works across Discord, Telegram and WordPress. It hands the judgement calls to Gemini, OpenAI and one other.

Source: https://millionrounds.com/workflow/generate-and-publish-seo-optimized-blog-posts-to-wordpress (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Content](https://millionrounds.com/workflows?category=Content#library)

# Generate and Publish SEO-Optimized Blog Posts to WordPress

Started by an incoming Telegram message, and works across Discord, Telegram and WordPress. It hands the judgement calls to Gemini, OpenAI and one other. 16 steps, 1 branch: a working afternoon to understand properly.

Medium Calls a model: Gemini, OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-and-publish-seo-optimized-blog-posts-to-wordpress)

**16 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 2 Model 8 Logic 1 Service 5

The steps in the order they run, from what starts it.

- 1 **Telegram Trigger** Telegram trigger *Starts it*
- 2 **Scheduled Auto Trigger (Every 3 Hours)1** Schedule trigger *Starts it*
- 3 **ALT: Metadata Generator (Gemini)1** Lm Chat Open Router *Model*
- 4 **Parse Blog Metadata JSON1** Output Parser Structured *Model*
- 5 **Article Generator (alt)** Lm Chat Open Ai *Model*
- 6 **Article Generator (alt2)** Lm Chat Google Gemini *Model*
- 7 **Article Generator** Lm Chat Open Router *Model*
- 8 **Check command from telegram** If *Logic*
- 9 **Topic Chooser and Title Maker** Chain Llm *Model*
- 10 **Generate Article Body** Chain Llm *Model*
- 11 **Create WP Draft Post1** Wordpress *Service*
- 12 **Generate Featured Image (OpenAI)** Open Ai *Model*
- 13 **Upload Image to Wordpress** Http Request *Service*
- 14 **Attach Feature Image to Post** Http Request *Service*
- 15 **Notify Discord channel** Discord *Service*
- 16 **Notify Telegram** Telegram *Service*

## How it's built

- **Starts on:** An incoming Telegram message
- **Steps:** 16, with 1 branch
- **Size:** Medium: a working afternoon
- **Connects to:** Discord, Telegram, WordPress
- **Model:** Gemini, OpenAI, OpenRouter

## Questions

What does it need to run?

An n8n account, plus your own Discord, Telegram and WordPress accounts, and a key for Gemini and OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an incoming Telegram message.

Does it use AI?

Yes. It calls Gemini, OpenAI and OpenRouter. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 16 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 16 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-and-publish-seo-optimized-blog-posts-to-wordpress)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Discord](https://millionrounds.com/workflows?service=Discord#library)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)[WordPress](https://millionrounds.com/workflows?service=WordPress#library)

## Workflows like it

Also content, with the same services where possible, closest in size first.

- [**AI video automation engine - generate & publish YT shorts** 16 steps · calls a model · Telegram, YouTube](https://millionrounds.com/workflow/ai-video-automation-engine-generate-and-publish-yt-shorts)
- [**AI-powered Instagram content automation with OpenRouter** 16 steps · calls a model · Airtable, Telegram](https://millionrounds.com/workflow/ai-powered-instagram-content-automation-with-openrouter)
- [**Auto-Generate & Publish SEO Blog Posts to WordPress** 16 steps · calls a model · Discord, Telegram](https://millionrounds.com/workflow/auto-generate-and-publish-seo-blog-posts-to-wordpress)
- [**Create marketing content with OpenAI** 16 steps · calls a model · Telegram](https://millionrounds.com/workflow/create-marketing-content-with-openai)
- [**Create social media posts from blog links with Templated.io** 16 steps · calls a model · Telegram](https://millionrounds.com/workflow/create-social-media-posts-from-blog-links-with-templated-io)
- [**Daily news curation with Gemini and Telegram** 16 steps · calls a model · Notion, RSS](https://millionrounds.com/workflow/daily-news-curation-with-gemini-and-telegram)
