# Create weekly AI WordPress posts with Gemini and OpenAI: n8n workflow

> Started by a clock, and works across Outlook and WordPress. It hands the judgement calls to Gemini and OpenAI.

Source: https://millionrounds.com/workflow/create-weekly-ai-wordpress-posts-with-gemini-and-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)

# Create weekly AI WordPress posts with Gemini and OpenAI

Started by a clock, and works across Outlook and WordPress. It hands the judgement calls to Gemini and OpenAI. 20 steps: a working afternoon to understand properly.

Medium Calls a model: Gemini, OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fcreate-weekly-ai-wordpress-posts-with-gemini-and-openai)

**20 steps** Medium: a working afternoon

**0** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 7 Logic 5 Service 7

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

- 1 **Schedule Trigger** Schedule trigger *Starts it*
- 2 **LM, Article Writer** Lm Chat Open Ai *Model*
- 3 **Generate and Upload Image** Tool Workflow *Model*
- 4 **LM, Title Generator** Lm Chat Open Ai *Model*
- 5 **Get Topics** Microsoft Share Point *Service*
- 6 **Write Article** Agent *Model*
- 7 **Generate Title** Agent *Model*
- 8 **Fetch WP Categories** Http Request *Service*
- 9 **Strip Code Fences** Code *Logic*
- 10 **Add Draft to WP** Wordpress *Service*
- 11 **Format Categories** Code *Logic*
- 12 **Build Feature Image Prompt** Set *Logic*
- 13 **Match Categories AI** Open Ai *Model*
- 14 **Generate Feature Image** Google Gemini *Model*
- 15 **Parse Category IDs** Set *Logic*
- 16 **Upload Feature Image** Http Request *Service*
- 17 **Attach Featured Media** Http Request *Service*
- 18 **Update SharePoint PostID** Microsoft Share Point *Service*
- 19 **Build Notification Email** Code *Logic*
- 20 **Send Notification** Microsoft Outlook *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 20
- **Size:** Medium: a working afternoon
- **Connects to:** Outlook, WordPress
- **Model:** Gemini, OpenAI

## Questions

What does it need to run?

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

How long does it take to set up?

Plan an afternoon. 20 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 20 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%2Fcreate-weekly-ai-wordpress-posts-with-gemini-and-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.

[Outlook](https://millionrounds.com/workflows?service=Outlook#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 Content Writer - Telegram to WordPress with Gemini** 20 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/ai-content-writer-telegram-to-wordpress-with-gemini)
- [**Automated WordPress post tagging with Claude** 20 steps · calls a model · WordPress](https://millionrounds.com/workflow/automated-wordpress-post-tagging-with-claude)
- [**Automated blog publishing with Google Trends and OpenAI** 20 steps · calls a model · Google Sheets, WordPress](https://millionrounds.com/workflow/automated-blog-publishing-with-google-trends-and-openai)
- [**AI News to LinkedIn: Daily Content Engine with Slack Approval** 19 steps · calls a model · Google Sheets, LinkedIn](https://millionrounds.com/workflow/ai-news-to-linkedin-daily-content-engine-with-slack-approval)
- [**Convert WordPress articles to multilingual voiceovers** 19 steps · calls a model · Google Sheets, WordPress](https://millionrounds.com/workflow/convert-wordpress-articles-to-multilingual-voiceovers)
- [**Easy WordPress content creation from PDF docs + human** 19 steps · calls a model · Gmail, Telegram](https://millionrounds.com/workflow/easy-wordpress-content-creation-from-pdf-docs-human)
