Automation library · Content

Create AI-generated UGC marketing videos with Telegram

Started by an incoming Telegram message, and works across Telegram. It hands the judgement calls to OpenAI. 26 steps, 3 branches, 3 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

26 stepsLarge: read it before trusting it with anything live
3Branches: places the flow splits
3Loops or waits
1Service it connects to

The flow

Starts it 1Model 7Logic 9Service 9

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

  1. 1ThinkTool ThinkModel
  2. 2GPTLm Chat Open AiModel
  3. 3Telegram TriggerTelegram triggerStarts it
  4. 4UGC Video AI AgentAgentModel
  5. 5UGC Image AI AgentAgentModel
  6. 6Structured Output 1Output Parser StructuredModel
  7. 7Structured Output 2Output Parser StructuredModel
  8. 8Bot IDSetLogic
  9. 9Split OutSplit OutLogic
  10. 10Create ImageHttp RequestService
  11. 11Get Img PathHttp RequestService
  12. 12Create VideoHttp RequestService
  13. 13Wait 3WaitLogic
  14. 14Describe ImgOpen AiModel
  15. 15Wait 2WaitLogic
  16. 16Get ImageHttp RequestService
  17. 17In ProgressTelegramService
  18. 18Get VideoHttp RequestService
  19. 19If IfLogic
  20. 20IfIfLogic
  21. 21AggregateAggregateLogic
  22. 22Combine ClipsHttp RequestService
  23. 23WaitWaitLogic
  24. 24Get Final VideoHttp RequestService
  25. 25If 2IfLogic
  26. 26Send VideoTelegramService

How it's built

Starts on
An incoming Telegram message
Steps
26, with 3 branches, 3 loops or waits
Size
Large: read it before trusting it with anything live
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 an incoming Telegram message.

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?

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.