Automation library · Content

Generate and publish Instagram carousels with Gemini

Started by a clock, and works across Google Drive, Google Sheets and Google Slides. It hands the judgement calls to Gemini. 29 steps, 1 branch, 3 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini

29 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
3Loops or waits
3Services it connects to

The flow

Starts it 1Model 3Logic 7Service 18

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

  1. 1Structured Output Parser1Output Parser StructuredModel
  2. 2Run daily scheduleSchedule triggerStarts it
  3. 3Google Gemini Chat Model1Lm Chat Google GeminiModel
  4. 4Generate carousel contentAgentModel
  5. 5Duplicate carousel templateGoogle DriveService
  6. 6Replace text in templateGoogle SlidesService
  7. 7Get slides (carousels)Google SlidesService
  8. 8Loop carousel slidesSplit In BatchesLogic
  9. 9AggregateAggregateLogic
  10. 10get the imgs from slidesGoogle SlidesService
  11. 11add dataGoogle SheetsService
  12. 12convertExtract From FileService
  13. 13get dataGoogle SheetsService
  14. 14make a linkHttp RequestService
  15. 15get last rowCodeLogic
  16. 16slide 1Http RequestService
  17. 17slide 2Http RequestService
  18. 18slide 3Http RequestService
  19. 19slide 4Http RequestService
  20. 20slide 5Http RequestService
  21. 21slide 6Http RequestService
  22. 22Container HTTP Carousel1Http RequestService
  23. 23🔍 Check Processing Status2SetLogic
  24. 24⏰ Initial Processing Wait1WaitLogic
  25. 25Check publish statusHttp RequestService
  26. 26Is carousel readyIfLogic
  27. 27publishHttp RequestService
  28. 28Retry publish check in 5 secondsWaitLogic
  29. 29update statusGoogle SheetsService

How it's built

Starts on
A clock
Steps
29, with 1 branch, 3 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Google Drive, Google Sheets, Google Slides
Model
Gemini

Questions

What does it need to run?

An n8n account, plus your own Google Drive, Google Sheets and Google Slides accounts, and a key for Gemini. 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. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

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