Automation library · Content

Auto-generate & publish SEO articles to WordPress with OpenAI

Started by a clock, and works across Postgres. It hands the judgement calls to OpenAI. 23 steps: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

23 stepsLarge: read it before trusting it with anything live
0Branches: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 1Model 4Logic 11Service 7

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

  1. 1Schedule TriggerSchedule triggerStarts it
  2. 2OpenAI Chat ModelLm Chat Open AiModel
  3. 3OpenAI Chat Model1Lm Chat Open AiModel
  4. 4ConfigSetLogic
  5. 5AI Agent SEO writerAgentModel
  6. 6AI Agent SEO HeadingsAgentModel
  7. 7Load CategoriesHttp RequestService
  8. 8Placeholder creatorCodeLogic
  9. 9Extracting outputCodeLogic
  10. 10New article titleCodeLogic
  11. 11Category FilterCodeLogic
  12. 12Download ImageHttp RequestService
  13. 13MergeMergeLogic
  14. 14Merge headingMergeLogic
  15. 15Selecting recentPostgresService
  16. 16Media Upload to WPHttp RequestService
  17. 17Prepare Post JSONCodeLogic
  18. 18Combines full post metaCodeLogic
  19. 19Picks Less UsedCodeLogic
  20. 20Post to WPHttp RequestService
  21. 21Updating posts DBPostgresService
  22. 2210 latest headlinesPostgresService
  23. 23No Operation, do nothingNo OpLogic

How it's built

Starts on
A clock
Steps
23
Size
Large: read it before trusting it with anything live
Connects to
Postgres
Model
OpenAI

Questions

What does it need to run?

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

How long does it take to set up?

Take your time. At 23 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 23 steps before you point it at anything that matters.