Automation library · Content

Create AI viral videos with NanoBanana 2 PRO and VEO3.1

Started by an incoming Telegram message, and works across Telegram. It hands the judgement calls to OpenAI. 31 steps, 2 loops 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
0Branches: places the flow splits
2Loops or waits
1Service it connects to

The flow

Starts it 1Model 8Logic 8Service 14

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

  1. 1OpenAI Chat ModelLm Chat Open AiModel
  2. 2ThinkTool ThinkModel
  3. 3Structured Output ParserOutput Parser StructuredModel
  4. 4Telegram Trigger: Receive Video IdeaTelegram triggerStarts it
  5. 5LLM: Structured Output ParserOutput Parser StructuredModel
  6. 6LLM: OpenAI ChatLm Chat Open AiModel
  7. 7AI Agent: Generate Video ScriptAgentModel
  8. 8Set: Bot Token (Placeholder)SetLogic
  9. 9Generate Image PromptAgentModel
  10. 10Parse GPT ResponseCodeLogic
  11. 11Telegram API: Get File URLHttp RequestService
  12. 12NanoBanana: Create ImageHttp RequestService
  13. 13Optimize Prompt for VeoSetLogic
  14. 14OpenAI Vision: Analyze Reference ImageOpen AiModel
  15. 15Wait for Image EditWaitLogic
  16. 16Prepare Veo Request BodyCodeLogic
  17. 17Download Edited ImageHttp RequestService
  18. 18Veo GenerationHttp RequestService
  19. 19Set Master PromptSetLogic
  20. 20WaitWaitLogic
  21. 21Download VideoHttp RequestService
  22. 22Send Video to TelegramTelegramService
  23. 23Upload Video to BLOTATOBlotatoService
  24. 24TiktokBlotatoService
  25. 25LinkedinBlotatoService
  26. 26FacebookBlotatoService
  27. 27InstagramBlotatoService
  28. 28Twitter (X)BlotatoService
  29. 29YoutubeBlotatoService
  30. 30Merge1MergeLogic
  31. 31Send a text messageTelegramService

How it's built

Starts on
An incoming Telegram message
Steps
31, 2 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 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.