Automation library · Content

Generate CCTV-style animal TikTok videos with OpenAI

Started by a clock, and works across Telegram. It hands the judgement calls to OpenAI. 14 steps, 1 branch, 1 loop or waits: a working afternoon to understand properly.

MediumCalls a model: OpenAI

14 stepsMedium: a working afternoon
1Branch: places the flow splits
1Loop or waits
1Service it connects to

The flow

Starts it 1Model 6Logic 3Service 4

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

  1. 1Run every 4 hoursSchedule triggerStarts it
  2. 2OpenAI model (scene prompt)Lm Chat Open AiModel
  3. 3Scene prompt parserOutput Parser StructuredModel
  4. 4OpenAI model (caption)Lm Chat Open AiModel
  5. 5Caption parserOutput Parser StructuredModel
  6. 6ConfigurationSetLogic
  7. 7Generate CCTV promptChain LlmModel
  8. 8Generate title and hashtagsChain LlmModel
  9. 9Start Seedance videoHttp RequestService
  10. 10Publish to TikTokBlotatoService
  11. 11Wait for renderingWaitLogic
  12. 12Send preview to TelegramTelegramService
  13. 13Check render statusHttp RequestService
  14. 14Is video ready?IfLogic

How it's built

Starts on
A clock
Steps
14, with 1 branch, 1 loop or waits
Size
Medium: a working afternoon
Connects to
Telegram
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Telegram 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?

Plan an afternoon. 14 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 14 steps before you point it at anything that matters.