Automation library · Content

News-to-blog automation with OpenAI and Leonardo AI

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

LargeCalls a model: OpenAI

25 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
1Loop or waits
1Service it connects to

The flow

Starts it 1Model 2Logic 12Service 10

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

  1. 1Schedule TriggerSchedule triggerStarts it
  2. 2Google News RSSRss Feed ReadService
  3. 3GDELT Docs APIHttp RequestService
  4. 4Merge NewsMergeLogic
  5. 5Within dedupeCodeLogic
  6. 6Top HeadlinesCodeLogic
  7. 7Classify HeadlinesCodeLogic
  8. 8Writing StyleCodeLogic
  9. 9Build GPT bodyCodeLogic
  10. 10Research Topic – GPTHttp RequestService
  11. 11Build Tone RequestCodeLogic
  12. 12Tone & Format Revision – GPTHttp RequestService
  13. 13Word Count GuardCodeLogic
  14. 14If1IfLogic
  15. 15Expand DraftOpen AiModel
  16. 16Get Title, Content, and Image FileNameCodeLogic
  17. 17Leonardo Prompt CreatorOpen AiModel
  18. 18Leonardo: Create Post ImageHttp RequestService
  19. 19CodeCodeLogic
  20. 20WaitWaitLogic
  21. 21Get Leonardo Image StatusHttp RequestService
  22. 22Get Leonardo ImageHttp RequestService
  23. 23Upload Image to WordpressHttp RequestService
  24. 24Add ALT to ImageHttp RequestService
  25. 25Create WordPress PostHttp RequestService

How it's built

Starts on
A clock
Steps
25, with 1 branch, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
RSS
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own RSS 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 25 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 25 steps before you point it at anything that matters.