Automation library · Content

Generate Seedance video ads from Telegram photos with OpenAI

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

LargeCalls a model: OpenAI

31 stepsLarge: read it before trusting it with anything live
4Branches: places the flow splits
1Loop or waits
1Service it connects to

The flow

Starts it 1Model 9Logic 9Service 12

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

  1. 1Receive Product Photo (Telegram Trigger)Telegram triggerStarts it
  2. 2AI Model (GPT)Lm Chat Open AiModel
  3. 3AI Model (Caption)Lm Chat Open AiModel
  4. 4ConfigurationSetLogic
  5. 5Generate Video Ad ConceptAgentModel
  6. 6Video Concept Output ParserOutput Parser StructuredModel
  7. 7Revise Video Ad ConceptAgentModel
  8. 8Generate Social Media CaptionAgentModel
  9. 9Caption Output ParserOutput Parser StructuredModel
  10. 10Revise CaptionAgentModel
  11. 11Get Telegram File PathTelegramService
  12. 12Prepare Video Prompt FieldsSetLogic
  13. 13Prepare Caption FieldsSetLogic
  14. 14Analyze Product Image (OpenAI Vision)Open AiModel
  15. 15User Review: Approve/Reject Video PromptTelegramService
  16. 16User Review: Approve/Reject CaptionTelegramService
  17. 17Check Prompt Approval (Yes/No)IfLogic
  18. 18Check Caption Approval (Yes/No)IfLogic
  19. 19Prepare AtlasCloud Request FieldsSetLogic
  20. 20Publish to Facebook (Blotato)BlotatoService
  21. 21Submit Video Generation (AtlasCloud)Http RequestService
  22. 22Publish to Instagram (Blotato)BlotatoService
  23. 23Wait Before Checking StatusWaitLogic
  24. 24Publish to TikTok (Blotato)BlotatoService
  25. 25Check Video Status (AtlasCloud)Http RequestService
  26. 26Publish to YouTube Shorts (Blotato)BlotatoService
  27. 27Route by Video StatusSwitchLogic
  28. 28Send Generated Video to TelegramTelegramService
  29. 29Notify Generation FailureTelegramService
  30. 30User Review: Approve/Reject Generated VideoTelegramService
  31. 31Check Video Approval (Yes/No)IfLogic

How it's built

Starts on
An incoming Telegram message
Steps
31, with 4 branches, 1 loop 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 31 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 31 steps before you point it at anything that matters.