# AI SEO Blog Automation for WordPress with OpenAI: n8n workflow

> Started by someone submitting a form, and works across Google Sheets and WordPress. It hands the judgement calls to OpenAI and OpenRouter.

Source: https://millionrounds.com/workflow/ai-seo-blog-automation-for-wordpress-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)

# AI SEO Blog Automation for WordPress with OpenAI

Started by someone submitting a form, and works across Google Sheets and WordPress. It hands the judgement calls to OpenAI and OpenRouter. 48 steps, 3 branches, 1 loop or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI, OpenRouter

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fai-seo-blog-automation-for-wordpress-with-openai)

**48 steps** Large: read it before trusting it with anything live

**3** Branches: places the flow splits

**1** Loop or waits

**2** Services it connects to

## The flow

Starts it 2 Model 23 Logic 10 Service 13

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

- 1 **Structured Output Parser1** Output Parser Structured *Model*
- 2 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 3 **On form submission** Form trigger *Starts it*
- 4 **Internal Links** Http Request Tool *Service*
- 5 **OpenRouter Chat Model** Lm Chat Open Router *Model*
- 6 **OpenAI Chat Model1** Lm Chat Open Ai *Model*
- 7 **Structured Output Parser2** Output Parser Structured *Model*
- 8 **Structured Output Parser3** Output Parser Structured *Model*
- 9 **getCategories** Http Request Tool *Service*
- 10 **Structured Output Parser4** Output Parser Structured *Model*
- 11 **OpenAI Chat Model8** Lm Chat Open Ai *Model*
- 12 **Schedule Trigger** Schedule trigger *Starts it*
- 13 **OpenAI Chat Model2** Lm Chat Open Ai *Model*
- 14 **OpenAI Chat Model3** Lm Chat Open Ai *Model*
- 15 **OpenAI Chat Model4** Lm Chat Open Ai *Model*
- 16 **OpenAI Chat Model5** Lm Chat Open Ai *Model*
- 17 **OpenAI Chat Model6** Lm Chat Open Ai *Model*
- 18 **Orchestration Agent** Agent *Model*
- 19 **configuration** Set *Logic*
- 20 **Editor** Agent Tool *Model*
- 21 **GetOnilneInfo** Agent *Model*
- 22 **OutlinePlanner** Agent Tool *Model*
- 23 **Image Prompt** Agent Tool *Model*
- 24 **metaInfo** Agent Tool *Model*
- 25 **Tags Agent** Agent *Model*
- 26 **Get row(s) in sheet** Google Sheets *Service*
- 27 **createSections** Agent Tool *Model*
- 28 **SectionWriter** Agent Tool *Model*
- 29 **Check ready for publish** If *Logic*
- 30 **Split Out** Split Out *Logic*
- 31 **Not Ready** Stop And Error *Logic*
- 32 **Loop Over Items** Split In Batches *Logic*
- 33 **Tags** Aggregate *Logic*
- 34 **get-tags** Http Request *Service*
- 35 **If** If *Logic*
- 36 **Check-Existence** If *Logic*
- 37 **Generate Featured Image** Open Ai *Model*
- 38 **Post Blog To WP-without image** Wordpress *Service*
- 39 **getID** Set *Logic*
- 40 **set-tags** Http Request *Service*
- 41 **Resize Image** Edit Image *Service*
- 42 **Set excerpt3** Http Request *Service*
- 43 **getID1** Set *Logic*
- 44 **Upload Image To WP** Http Request *Service*
- 45 **Update Meta Data1** Http Request *Service*
- 46 **Post Blog To WP- with image** Wordpress *Service*
- 47 **Set Featured Image** Http Request *Service*
- 48 **Set excerpt** Http Request *Service*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 48, with 3 branches, 1 loop or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Sheets, WordPress
- **Model:** OpenAI, OpenRouter

## Questions

What does it need to run?

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

What starts it?

It starts on someone submitting a form.

Does it use AI?

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

How long does it take to set up?

Take your time. At 48 steps it is large: read it before trusting it with anything live.

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 48 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%2Fai-seo-blog-automation-for-wordpress-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.

[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#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 Agents Generate Content & Automate Posting** 46 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/ai-agents-generate-content-and-automate-posting-5)
- [**AI Agents Generate Content & Automate Posting** 46 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/ai-agents-generate-content-and-automate-posting-4)
- [**AI Agents Generate Content & Automate Posting** 46 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/ai-agents-generate-content-and-automate-posting-2)
- [**AI Agents Generate Content & Automate Posting** 46 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/ai-agents-generate-content-and-automate-posting-3)
- [**AI Agents Generate Content & Automate Posting** 46 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/ai-agents-generate-content-and-automate-posting)
- [**AI Agents Generate Social Media Content Automation** 46 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/ai-agents-generate-social-media-content-automation)
