Automation library · Content

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.

MediumCalls a model: Gemini, OpenAI

20 stepsMedium: a working afternoon
0Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 1Model 7Logic 5Service 7

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

  1. 1Schedule TriggerSchedule triggerStarts it
  2. 2LM, Article WriterLm Chat Open AiModel
  3. 3Generate and Upload ImageTool WorkflowModel
  4. 4LM, Title GeneratorLm Chat Open AiModel
  5. 5Get TopicsMicrosoft Share PointService
  6. 6Write ArticleAgentModel
  7. 7Generate TitleAgentModel
  8. 8Fetch WP CategoriesHttp RequestService
  9. 9Strip Code FencesCodeLogic
  10. 10Add Draft to WPWordpressService
  11. 11Format CategoriesCodeLogic
  12. 12Build Feature Image PromptSetLogic
  13. 13Match Categories AIOpen AiModel
  14. 14Generate Feature ImageGoogle GeminiModel
  15. 15Parse Category IDsSetLogic
  16. 16Upload Feature ImageHttp RequestService
  17. 17Attach Featured MediaHttp RequestService
  18. 18Update SharePoint PostIDMicrosoft Share PointService
  19. 19Build Notification EmailCodeLogic
  20. 20Send NotificationMicrosoft OutlookService

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.