Automation library · Content

Create and publish TikTok carousels with Gemini and OpenAI

Started by a clock, and works across Google Sheets. 20 steps: a working afternoon to understand properly.

Medium

20 stepsMedium: a working afternoon
0Branches: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 1Logic 7Service 12

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

  1. 1Daily ScheduleSchedule triggerStarts it
  2. 2ConfigSetLogic
  3. 3Read Performance LogGoogle SheetsService
  4. 4Filter Posts Needing StatsCodeLogic
  5. 5Get TikTok Post AnalyticsHttp RequestService
  6. 6Get TikTok Profile AnalyticsHttp RequestService
  7. 7Write Updated MetricsGoogle SheetsService
  8. 8Read Agent Skill SheetGoogle SheetsService
  9. 9Merge ContextMergeLogic
  10. 10Compile Context SummaryCodeLogic
  11. 11Gemini - Generate Carousel PlanHttp RequestService
  12. 12Parse Plan JSONCodeLogic
  13. 13Split Into 4 Slide PromptsSplit OutLogic
  14. 14fal.ai - Generate Slide ImageHttp RequestService
  15. 15Merge Image ResultsMergeLogic
  16. 16GPT-4.1 - Write DescriptionHttp RequestService
  17. 17Publish Carousel to TikTokHttp RequestService
  18. 18Log New Post to SheetGoogle SheetsService
  19. 19GPT-4.1 - Update Agent SkillHttp RequestService
  20. 20Write Updated SkillGoogle SheetsService

How it's built

Starts on
A clock
Steps
20
Size
Medium: a working afternoon
Connects to
Google Sheets
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Google Sheets account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Plan an afternoon. 20 steps is enough that you should read each one before running it.

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 20 steps before you point it at anything that matters.