# WordPress auto-blogging pro - content automation machine: n8n workflow

> Started by a clock, and works across Google Docs, Google Drive, Google Sheets and WordPress. It hands the judgement calls to OpenAI and OpenRouter.

Source: https://millionrounds.com/workflow/wordpress-auto-blogging-pro-content-automation-machine (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)

# WordPress auto-blogging pro - content automation machine

Started by a clock, and works across Google Docs, Google Drive, Google Sheets and WordPress. It hands the judgement calls to OpenAI and OpenRouter. 50 steps, 1 branch, 4 loops 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%2Fwordpress-auto-blogging-pro-content-automation-machine)

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

**1** Branch: places the flow splits

**4** Loops or waits

**4** Services it connects to

## The flow

Starts it 3 Model 8 Logic 24 Service 15

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

- 1 **Structured Output Parser2** Output Parser Structured *Model*
- 2 **Structured Output Parser** Output Parser Structured *Model*
- 3 **OpenRouter Chat Model** Lm Chat Open Router *Model*
- 4 **OpenRouter Chat Model1** Lm Chat Open Router *Model*
- 5 **Google Sheets Trigger** Google Sheets trigger *Starts it*
- 6 **Schedule Trigger** Schedule trigger *Starts it*
- 7 **When clicking ‘Test workflow’** Manual trigger *Starts it*
- 8 **Create post title and structure** Chain Llm *Model*
- 9 **Write chapter text** Chain Llm *Model*
- 10 **Get the latest topic** Limit *Logic*
- 11 **Create Drive folder** Google Drive *Service*
- 12 **Loop Over Items1** Split In Batches *Logic*
- 13 **Settings** Set *Logic*
- 14 **Get output** Set *Logic*
- 15 **Get title chapter and content** Set *Logic*
- 16 **Wait** Wait *Logic*
- 17 **Check inputs** If *Logic*
- 18 **Split out chapters** Split Out *Logic*
- 19 **Generate featured image** Open Ai *Model*
- 20 **Merge chapters title and text** Merge *Logic*
- 21 **Get post sitemap** Http Request *Service*
- 22 **Merge** Merge *Logic*
- 23 **Loop Over Items** Split In Batches *Logic*
- 24 **Upload featured image to Drive** Google Drive *Service*
- 25 **Resize featured image** Edit Image *Service*
- 26 **Combine into article** Code *Logic*
- 27 **Get XML file** Xml *Logic*
- 28 **Wait1** Wait *Logic*
- 29 **Merge2** Merge *Logic*
- 30 **Final article in Markdown** Set *Logic*
- 31 **Split out links** Split Out *Logic*
- 32 **Generate chapter image** Open Ai *Model*
- 33 **Add featured image** Merge *Logic*
- 34 **Markdown to HTML** Markdown *Logic*
- 35 **Limit1** Limit *Logic*
- 36 **Upload chapter images to Drive** Google Drive *Service*
- 37 **Resize Image** Edit Image *Service*
- 38 **Upload featured image** Http Request *Service*
- 39 **FInal article in HTML** Set *Logic*
- 40 **Aggregate internal links** Aggregate *Logic*
- 41 **Merge1** Merge *Logic*
- 42 **Upload chapter images** Http Request *Service*
- 43 **Update featured image meta data** Http Request *Service*
- 44 **Create Doc** Google Docs *Service*
- 45 **Update image meta data** Http Request *Service*
- 46 **Set featured image for post** Http Request *Service*
- 47 **Save texts to Doc** Google Docs *Service*
- 48 **Set excerpt** Http Request *Service*
- 49 **Post on Wordpress** Wordpress *Service*
- 50 **Edit Fields** Set *Logic*

## How it's built

- **Starts on:** A clock
- **Steps:** 50, with 1 branch, 4 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Docs, Google Drive, Google Sheets, WordPress
- **Model:** OpenAI, OpenRouter

## Questions

What does it need to run?

An n8n account, plus your own Google Docs, Google Drive, 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 a clock.

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 50 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 50 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%2Fwordpress-auto-blogging-pro-content-automation-machine)
- **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 Docs](https://millionrounds.com/workflows?service=Google+Docs#library)[Google Drive](https://millionrounds.com/workflows?service=Google+Drive#library)[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.

- [**Automate social media content with Facebook and LinkedIn** 50 steps · calls a model · Gmail, Google Docs](https://millionrounds.com/workflow/automate-social-media-content-with-facebook-and-linkedin)
- [**Viral videos into new content with Gemini and OpenAI** 50 steps · calls a model · Google Sheets, S3](https://millionrounds.com/workflow/viral-videos-into-new-content-with-gemini-and-openai)
- [**AI SEO Blog Automation for WordPress with OpenAI** 48 steps · calls a model · Google Sheets, WordPress](https://millionrounds.com/workflow/ai-seo-blog-automation-for-wordpress-with-openai)
- [**Generate long form videos with VEO 3.1** 52 steps · calls a model · Airtable, Google Drive](https://millionrounds.com/workflow/generate-long-form-videos-with-veo-3-1)
- [**Create & approve POV videos with OpenAI and OpenRouter** 53 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/create-and-approve-pov-videos-with-openai-and-openrouter)
- [**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)
