# Automate SEO blog post creation and publishing with OpenAI: n8n workflow

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

Source: https://millionrounds.com/workflow/automate-seo-blog-post-creation-and-publishing-with-openai (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)

# Automate SEO blog post creation and publishing with OpenAI

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

Medium Calls a model: Azure OpenAI, OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautomate-seo-blog-post-creation-and-publishing-with-openai)

**18 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 2 Model 7 Logic 4 Service 5

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

- 1 **Schedule Trigger** Schedule trigger *Starts it*
- 2 **Article Generator** Lm Chat Open Ai *Model*
- 3 **Telegram Trigger** Telegram trigger *Starts it*
- 4 **Set Valid Category** Set *Logic*
- 5 **Category Mapping** Code *Logic*
- 6 **📦 Format Final Data** Set *Logic*
- 7 **Get Categories** Http Request *Service*
- 8 **🚀 Publish** Http Request *Service*
- 9 **Metadata Generator** Lm Chat Open Router *Model*
- 10 **Parser** Output Parser Structured *Model*
- 11 **alt** Lm Chat Azure Open Ai *Model*
- 12 **Topic Chooser and Title Maker** Chain Llm *Model*
- 13 **Basic LLM Chain** Chain Llm *Model*
- 14 **If** If *Logic*
- 15 **Get** Wordpress *Service*
- 16 **OpenAI - Generate Image** Open Ai *Model*
- 17 **Upload Image to WP** Http Request *Service*
- 18 **Wordpress - Set Featured Image** Http Request *Service*

## How it's built

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

## Questions

What does it need to run?

An n8n account, plus your own Telegram and WordPress accounts, and a key for Azure OpenAI 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 Azure OpenAI, OpenAI and OpenRouter. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 18 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 18 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%2Fautomate-seo-blog-post-creation-and-publishing-with-openai)
- **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.

[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 blog creator - multi-model Telegram bot with Gemini** 18 steps · calls a model · Telegram](https://millionrounds.com/workflow/ai-blog-creator-multi-model-telegram-bot-with-gemini)
- [**AI news website automation: Google Trends scraping, AI content** 18 steps · calls a model · WordPress](https://millionrounds.com/workflow/ai-news-website-automation-google-trends-scraping-ai-content)
- [**Auto-generate WordPress blog tags with OpenAI** 18 steps · calls a model · WordPress](https://millionrounds.com/workflow/auto-generate-wordpress-blog-tags-with-openai)
- [**Auto-generate platform-optimized social media posts** 18 steps · calls a model · Google Sheets, WordPress](https://millionrounds.com/workflow/auto-generate-platform-optimized-social-media-posts)
- [**Automate blog creation in brand voice with OpenAI** 18 steps · calls a model · WordPress](https://millionrounds.com/workflow/automate-blog-creation-in-brand-voice-with-openai)
- [**Generate SEO-optimized WordPress blog posts with Perplexity** 18 steps · calls a model · Telegram, WordPress](https://millionrounds.com/workflow/generate-seo-optimized-wordpress-blog-posts-with-perplexity)
