# Automate YouTube Shorts creation from Telegram prompts: n8n workflow

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

Source: https://millionrounds.com/workflow/automate-youtube-shorts-creation-from-telegram-prompts (Millionrounds; every figure on the page links to its filing or article)

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

# Automate YouTube Shorts creation from Telegram prompts

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

Large Calls a model: Gemini, OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautomate-youtube-shorts-creation-from-telegram-prompts)

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

**4** Branches: places the flow splits

**2** Loops or waits

**3** Services it connects to

## The flow

Starts it 1 Model 9 Logic 12 Service 17

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

- 1 **Telegram Trigger** Telegram trigger *Starts it*
- 2 **Structured Output Parser** Output Parser Structured *Model*
- 3 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 4 **If2** If *Logic*
- 5 **AI Agent** Agent *Model*
- 6 **Send a text message8** Telegram *Service*
- 7 **Send message and wait for response** Telegram *Service*
- 8 **If1** If *Logic*
- 9 **Generate a video1** Google Gemini *Model*
- 10 **Generate a video2** Google Gemini *Model*
- 11 **Wait5** Wait *Logic*
- 12 **Generate a video4** Google Gemini *Model*
- 13 **Upload video1** Google Drive *Service*
- 14 **Send a text message** Telegram *Service*
- 15 **Upload video** Google Drive *Service*
- 16 **Send a text message2** Telegram *Service*
- 17 **Generate a video3** Google Gemini *Model*
- 18 **Upload video4** Google Drive *Service*
- 19 **Send a text message4** Telegram *Service*
- 20 **Label URL 1** Set *Logic*
- 21 **Label URL 2** Set *Logic*
- 22 **Upload video3** Google Drive *Service*
- 23 **Send a text message3** Telegram *Service*
- 24 **Label URL 4** Set *Logic*
- 25 **Merge** Merge *Logic*
- 26 **Label URL 3** Set *Logic*
- 27 **HTTP Request** Http Request *Service*
- 28 **HTTP Request1** Http Request *Service*
- 29 **If** If *Logic*
- 30 **HTTP Request2** Http Request *Service*
- 31 **Wait** Wait *Logic*
- 32 **Download a video** Google Gemini *Model*
- 33 **Upload video2** Google Drive *Service*
- 34 **Label URL** Set *Logic*
- 35 **Send a video** Telegram *Service*
- 36 **Send message and wait for response1** Telegram *Service*
- 37 **If3** If *Logic*
- 38 **Download a video1** Google Gemini *Model*
- 39 **Upload a video** You Tube *Service*

## How it's built

- **Starts on:** An incoming Telegram message
- **Steps:** 39, with 4 branches, 2 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Drive, Telegram, YouTube
- **Model:** Gemini, OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Google Drive, Telegram and YouTube accounts, and a key for Gemini and 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 Gemini and OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 39 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 39 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%2Fautomate-youtube-shorts-creation-from-telegram-prompts)
- **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.

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

## Workflows like it

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

- [**AI Email Agent with Gmail and Telegram Approval** 38 steps · calls a model · Gmail, Redis](https://millionrounds.com/workflow/ai-email-agent-with-gmail-and-telegram-approval)
- [**Forex AI trading assistant for Telegram with Position Sizing** 40 steps · calls a model · Telegram](https://millionrounds.com/workflow/forex-ai-trading-assistant-for-telegram-with-position-sizing)
- [**Attendance system with OpenAI and Google Sheets** 41 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/attendance-system-with-openai-and-google-sheets)
- [**Generate consensus-based answers with Claude and OpenAI** 41 steps · calls a model · Gmail, Slack](https://millionrounds.com/workflow/generate-consensus-based-answers-with-claude-and-openai)
- [**Personal email management with Gemini and Gmail** 37 steps · calls a model · Gmail, Mattermost](https://millionrounds.com/workflow/personal-email-management-with-gemini-and-gmail)
- [**AI powered RAG chatbot for your docs + Google Drive + Gemini** 35 steps · calls a model · Google Docs, Google Drive](https://millionrounds.com/workflow/ai-powered-rag-chatbot-for-your-docs-google-drive-gemini)
