Automation library · Content

Grow TikTok carousels with Gemini and OpenAI

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

LargeCalls a model: Gemini, OpenAI

33 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 2Model 6Logic 12Service 13

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

  1. 1Daily ScheduleSchedule triggerStarts it
  2. 2Output ParserOutput Parser StructuredModel
  3. 3Think ToolTool ThinkModel
  4. 4Gemini 2.5 ProLm Chat Google GeminiModel
  5. 5When clicking ‘Execute workflow’Manual triggerStarts it
  6. 6Set ConfigSetLogic
  7. 7Strategy AgentAgentModel
  8. 8Read Performance LogGoogle SheetsService
  9. 9Set VarsSetLogic
  10. 10Filter Posts for StatsCodeLogic
  11. 11Generate Image 1Http RequestService
  12. 12Generate Image 2Http RequestService
  13. 13Generate Image 3Http RequestService
  14. 14Generate Image 4Http RequestService
  15. 15Get Post AnalyticsHttp RequestService
  16. 16Extract URL 1Split OutLogic
  17. 17Extract URL 2Split OutLogic
  18. 18Extract URL 3Split OutLogic
  19. 19Extract URL 4Split OutLogic
  20. 20Extract StatsCodeLogic
  21. 21Merge ImagesMergeLogic
  22. 22Update StatsGoogle SheetsService
  23. 23Aggregate ImagesAggregateLogic
  24. 24AggregateAggregateLogic
  25. 25Generate DescriptionOpen AiModel
  26. 26Get Profile AnalyticsHttp RequestService
  27. 27Upload to TikTokUpload PostService
  28. 28Read Agent SkillGoogle SheetsService
  29. 29Log to SheetsGoogle SheetsService
  30. 30Read Fresh DataGoogle SheetsService
  31. 31Update SkillOpen AiModel
  32. 32Prepare ContextCodeLogic
  33. 33Write SkillGoogle SheetsService

How it's built

Starts on
A clock
Steps
33
Size
Large: read it before trusting it with anything live
Connects to
Google Sheets
Model
Gemini, OpenAI

Questions

What does it need to run?

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