Automation library · Content

Generate AI videos from Telegram messages with Nano Banana

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

LargeCalls a model: OpenAI

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

The flow

Starts it 1Model 4Logic 7Service 9

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

  1. 1Telegram TriggerTelegram triggerStarts it
  2. 2OpenAI Chat ModelLm Chat Open AiModel
  3. 3Structured Output ParserOutput Parser StructuredModel
  4. 4SwitchSwitchLogic
  5. 5AI AgentAgentModel
  6. 6Download Audio1TelegramService
  7. 7Text MessageSetLogic
  8. 8Image Gen (Nano Banana)Http RequestService
  9. 9Transcribe a recordingOpen AiModel
  10. 10Wait1WaitLogic
  11. 11Transcribed AudioSetLogic
  12. 12Get ImageHttp RequestService
  13. 13Image createdIfLogic
  14. 14Download ImageHttp RequestService
  15. 15Telegram: Send PhotoTelegramService
  16. 16Generate VideoHttp RequestService
  17. 17WaitWaitLogic
  18. 18Get VideoHttp RequestService
  19. 19Video createdIfLogic
  20. 20Download VideoHttp RequestService
  21. 21Telegram: Send VideoTelegramService

How it's built

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