Automation library · Content

Automate blog creation & publishing with Gemini

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

LargeCalls a model: Gemini, OpenAI

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

The flow

Starts it 1Model 10Logic 6Service 9

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

  1. 1Google Gemini Chat ModelLm Chat Google GeminiModel
  2. 2Google Gemini Chat Model1Lm Chat Google GeminiModel
  3. 3Schedule TriggerSchedule triggerStarts it
  4. 4OpenAI Chat Model1Lm Chat Open AiModel
  5. 5Google Gemini Chat Model2Lm Chat Google GeminiModel
  6. 6Google Gemini Chat Model3Lm Chat Google GeminiModel
  7. 7Do the Research on the TopicAgentModel
  8. 8Write the ContentAgentModel
  9. 9Fetch Client DetailsGoogle SheetsService
  10. 10Genererate Image PromptAgentModel
  11. 11Check Content QualityAgentModel
  12. 12Fix the Quality IssuesAgentModel
  13. 13Check Blog Publishing StatusIfLogic
  14. 14Image GenerateHttp RequestService
  15. 15Extract Blog TitleCodeLogic
  16. 16Loop Over ItemsSplit In BatchesLogic
  17. 17Download Image in Binary FileHttp RequestService
  18. 18Prepare Final DataSetLogic
  19. 19Fetch Pending Topics from Content Req & PostingGoogle SheetsService
  20. 20Upload Image in WordpressHttp RequestService
  21. 21IfIfLogic
  22. 22Publish Blog on WordpressHttp RequestService
  23. 23Pass 1 Blog TopicCodeLogic
  24. 24Set Image as Featured ImageHttp RequestService
  25. 25Update Blog Status in SheetGoogle SheetsService
  26. 26Announce New BlogDiscordService

How it's built

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

Questions

What does it need to run?

An n8n account, plus your own Discord and Google Sheets 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 26 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 26 steps before you point it at anything that matters.