Automation library · Content

Automated SEO blog publishing with WordPress and OpenAI

Started by a clock, and works across Google Sheets and WordPress. It hands the judgement calls to Gemini and OpenAI. 34 steps, 1 loop or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini, OpenAI

34 stepsLarge: read it before trusting it with anything live
0Branches: places the flow splits
1Loop or waits
2Services it connects to

The flow

Starts it 1Model 14Logic 6Service 13

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

  1. 1OpenAI Chat ModelLm Chat Open AiModel
  2. 2OpenAI Chat Model4Lm Chat Open AiModel
  3. 3OpenAI Chat Model1Lm Chat Open AiModel
  4. 4Schedule TriggerSchedule triggerStarts it
  5. 5Message a model in PerplexityPerplexity ToolService
  6. 6OpenAI 4.1 mini4Lm Chat Open AiModel
  7. 7OpenAI 4.1 mini5Lm Chat Open AiModel
  8. 8Content planerAgentModel
  9. 9Structured Output Parser1Output Parser StructuredModel
  10. 10Article wrtiterChain LlmModel
  11. 11Get data databseGoogle SheetsService
  12. 12Write query too pexelsChain LlmModel
  13. 13Write query too image AI generatorChain LlmModel
  14. 14Split OutSplit OutLogic
  15. 15Create a postWordpressService
  16. 16LimitLimitLogic
  17. 17Get Image from PexelsHttp RequestService
  18. 18Generate an imageOpen AiModel
  19. 19Generate an image3Google GeminiModel
  20. 20Loop Over ItemsSplit In BatchesLogic
  21. 21WordPress excerpt add1Http RequestService
  22. 22Set input data/credintenialsSetLogic
  23. 23Download Image form PexelsHttp RequestService
  24. 24upload image to wordpress1Http RequestService
  25. 25AggregateAggregateLogic
  26. 26Generate an image1Google GeminiModel
  27. 27Generate an image2Open AiModel
  28. 28upload image to wordpressHttp RequestService
  29. 29Set Image on Wordpress Post2Http RequestService
  30. 30Post image Cloudinary2Http RequestService
  31. 31Set Image on Wordpress Post1Http RequestService
  32. 32Append or update row in sheet1Google SheetsService
  33. 33Set Output ImageSetLogic
  34. 34Append or update row in sheetGoogle SheetsService

How it's built

Starts on
A clock
Steps
34, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
Google Sheets, WordPress
Model
Gemini, OpenAI

Questions

What does it need to run?

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

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.