# Generate WordPress blog posts with OpenAI and Pixabay: n8n workflow

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

Source: https://millionrounds.com/workflow/generate-wordpress-blog-posts-with-openai-and-pixabay (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 WordPress blog posts with OpenAI and Pixabay

Started by someone submitting a form, and works across WordPress. It hands the judgement calls to OpenAI. 16 steps, 1 loop or waits: a working afternoon to understand properly.

Medium Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-wordpress-blog-posts-with-openai-and-pixabay)

**16 steps** Medium: a working afternoon

**0** Branches: places the flow splits

**1** Loop or waits

**1** Service it connects to

## The flow

Starts it 1 Model 1 Logic 6 Service 8

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

- 1 **Collect Blog Topic** Form trigger *Starts it*
- 2 **HTTP Request** Http Request *Service*
- 3 **Extract Article Title & Body** Html *Logic*
- 4 **Create post title and structure** Open Ai *Model*
- 5 **pixabayQuery** Set *Logic*
- 6 **Pixabay HTTP** Http Request *Service*
- 7 **Download image** Http Request *Service*
- 8 **Upload media** Http Request *Service*
- 9 **Merge** Merge *Logic*
- 10 **Create WordPress Draft Post** Wordpress *Service*
- 11 **Attach media** Http Request *Service*
- 12 **Wait** Wait *Logic*
- 13 **Fetch Review Status** Http Request *Service*
- 14 **Set Reviewer Email** Set *Logic*
- 15 **Notify Review Complete** Set *Logic*
- 16 **Form1** Form *Service*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 16, 1 loop or waits
- **Size:** Medium: a working afternoon
- **Connects to:** WordPress
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own WordPress account, 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?

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-wordpress-blog-posts-with-openai-and-pixabay)
- **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.

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

## Workflows like it

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

- [**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)
- [**Generate and Publish SEO-Optimized Blog Posts to WordPress** 16 steps · calls a model · Discord, Telegram](https://millionrounds.com/workflow/generate-and-publish-seo-optimized-blog-posts-to-wordpress)
- [**Publish WordPress posts to social media X, Facebook, LinkedIn** 16 steps · calls a model · Google Sheets, LinkedIn](https://millionrounds.com/workflow/publish-wordpress-posts-to-social-media-x-facebook-linkedin)
- [**Sync Note.com articles to WordPress with OpenAI** 16 steps · calls a model · RSS, WordPress](https://millionrounds.com/workflow/sync-note-com-articles-to-wordpress-with-openai)
- [**AI agent creates content to be picked by ChatGPT, Gemini, Google** 15 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/ai-agent-creates-content-to-be-picked-by-chatgpt-gemini-goog)
- [**AI agent creates content to be picked by ChatGPT, Gemini, Google** 15 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/ai-agent-creates-content-to-be-picked-by-chatgpt-gemini-goog-2)
