# Ultimate content generator for WordPress with OpenAI: n8n workflow

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

Source: https://millionrounds.com/workflow/ultimate-content-generator-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)

# Ultimate content generator for WordPress with OpenAI

Started by someone submitting a form, and works across Airtable, Slack and WordPress. It hands the judgement calls to OpenAI. 34 steps, 2 branches, 2 loops or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fultimate-content-generator-for-wordpress-with-openai)

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

**2** Branches: places the flow splits

**2** Loops or waits

**3** Services it connects to

## The flow

Starts it 4 Model 6 Logic 12 Service 12

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

- 1 **Form** Form trigger *Starts it*
- 2 **Wikipedia** Tool Wikipedia *Model*
- 3 **When clicking ‘Test workflow’** Manual trigger *Starts it*
- 4 **Airtable Trigger** Airtable trigger *Starts it*
- 5 **HTTP Request** Tool Http Request *Model*
- 6 **Create post title and structure** Open Ai *Model*
- 7 **GET Brand Guidelines** Airtable *Service*
- 8 **Check data consistency** If *Logic*
- 9 **Aggregate** Aggregate *Logic*
- 10 **Split out chapters** Split Out *Logic*
- 11 **Respond: Error** Respond To Webhook *Starts it*
- 12 **GET Keywords** Airtable *Service*
- 13 **Merge chapters title and text** Merge *Logic*
- 14 **Create chapters text** Open Ai *Model*
- 15 **If** If *Logic*
- 16 **Final article text** Code *Logic*
- 17 **Post Parameters** Set *Logic*
- 18 **Post on Wordpress** Wordpress *Service*
- 19 **Loop Over Items** Split In Batches *Logic*
- 20 **SEO Update for RankMath** Open Ai *Model*
- 21 **Settings** Set *Logic*
- 22 **POST RankMath Info** Http Request *Service*
- 23 **P1 Image Prompt** Open Ai *Model*
- 24 **Aggregate Prompt** Aggregate *Logic*
- 25 **Prompt Settings** Set *Logic*
- 26 **Leo - Improve Prompt** Http Request *Service*
- 27 **Leo - Generate Image** Http Request *Service*
- 28 **Wait** Wait *Logic*
- 29 **Leo - Get imageId** Http Request *Service*
- 30 **Download Image** Http Request *Service*
- 31 **Upload media** Http Request *Service*
- 32 **Set image ID for the post** Http Request *Service*
- 33 **POST Blog Info** Slack *Service*
- 34 **UPDATE Status** Airtable *Service*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 34, with 2 branches, 2 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Airtable, Slack, WordPress
- **Model:** OpenAI

## Questions

What does it need to run?

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

How long does it take to set up?

Take your time. At 34 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 34 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%2Fultimate-content-generator-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.

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

## Workflows like it

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

- [**Automated SEO blog publishing with WordPress and OpenAI** 34 steps · calls a model · Google Sheets, WordPress](https://millionrounds.com/workflow/automated-seo-blog-publishing-with-wordpress-and-openai)
- [**Generate and publish SEO blog posts from Google Sheets to Webflow** 34 steps · calls a model · Discord, Google Sheets](https://millionrounds.com/workflow/generate-and-publish-seo-blog-posts-from-google-sheets-to-we)
- [**Test webhooks in n8n without changing WEBHOOK_URL with PostBin** 34 steps · calls a model · Slack](https://millionrounds.com/workflow/test-webhooks-in-n8n-without-changing-webhook-url-with-postb)
- [**Automated Blog Creation & Multi-Platform Publishing** 33 steps · calls a model · Discord, LinkedIn](https://millionrounds.com/workflow/automated-blog-creation-and-multi-platform-publishing)
- [**Create news anchor avatar videos from Slack with OpenAI** 33 steps · calls a model · Slack, n8n data table](https://millionrounds.com/workflow/create-news-anchor-avatar-videos-from-slack-with-openai)
- [**Repurpose YouTube videos into blogs and social posts** 35 steps · calls a model · LinkedIn, Notion](https://millionrounds.com/workflow/repurpose-youtube-videos-into-blogs-and-social-posts)
