# Generate AI videos from Telegram messages with Nano Banana: n8n workflow

> Started by an incoming Telegram message, and works across Telegram. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/generate-ai-videos-from-telegram-messages-with-nano-banana (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Content](https://millionrounds.com/workflows?category=Content#library)

# 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.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-ai-videos-from-telegram-messages-with-nano-banana)

**21 steps** Large: read it before trusting it with anything live

**3** Branches: places the flow splits

**2** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 4 Logic 7 Service 9

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

- 1 **Telegram Trigger** Telegram trigger *Starts it*
- 2 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 3 **Structured Output Parser** Output Parser Structured *Model*
- 4 **Switch** Switch *Logic*
- 5 **AI Agent** Agent *Model*
- 6 **Download Audio1** Telegram *Service*
- 7 **Text Message** Set *Logic*
- 8 **Image Gen (Nano Banana)** Http Request *Service*
- 9 **Transcribe a recording** Open Ai *Model*
- 10 **Wait1** Wait *Logic*
- 11 **Transcribed Audio** Set *Logic*
- 12 **Get Image** Http Request *Service*
- 13 **Image created** If *Logic*
- 14 **Download Image** Http Request *Service*
- 15 **Telegram: Send Photo** Telegram *Service*
- 16 **Generate Video** Http Request *Service*
- 17 **Wait** Wait *Logic*
- 18 **Get Video** Http Request *Service*
- 19 **Video created** If *Logic*
- 20 **Download Video** Http Request *Service*
- 21 **Telegram: Send Video** Telegram *Service*

## 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.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-ai-videos-from-telegram-messages-with-nano-banana)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

Also content, with the same services where possible, closest in size first.

- [**Articles into kids’ audiobooks and comics with Telegram** 21 steps · calls a model · Telegram](https://millionrounds.com/workflow/articles-into-kids-audiobooks-and-comics-with-telegram)
- [**Create AI product video ad Shorts from Telegram photos** 21 steps · calls a model · Telegram](https://millionrounds.com/workflow/create-ai-product-video-ad-shorts-from-telegram-photos)
- [**Create photorealistic social media images with Flux Realism** 21 steps · Airtable, Telegram](https://millionrounds.com/workflow/create-photorealistic-social-media-images-with-flux-realism)
- [**Create secure human-in-the-loop approval flows with Postgres** 21 steps · Postgres, Telegram](https://millionrounds.com/workflow/create-secure-human-in-the-loop-approval-flows-with-postgres)
- [**AI Content Writer - Telegram to WordPress with Gemini** 20 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/ai-content-writer-telegram-to-wordpress-with-gemini)
- [**Analyze YouTube comments and generate video ideas with Gemini** 22 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/analyze-youtube-comments-and-generate-video-ideas-with-gemin)
