# Turn Telegram voice messages into Gmail emails: n8n workflow

> Started by an incoming Telegram message, and works across Gmail, Google Calendar and Telegram. It hands the judgement calls to a local model.

Source: https://millionrounds.com/workflow/turn-telegram-voice-messages-into-gmail-emails (Millionrounds; every figure on the page links to its filing or article)

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

# Turn Telegram voice messages into Gmail emails

Started by an incoming Telegram message, and works across Gmail, Google Calendar and Telegram. It hands the judgement calls to a local model. 32 steps, 3 branches: large, and worth reading before you trust it with anything live.

Large Calls a model: a local model

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fturn-telegram-voice-messages-into-gmail-emails)

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

**3** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 1 Model 10 Logic 11 Service 10

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

- 1 **Telegram Trigger** Telegram trigger *Starts it*
- 2 **Ollama Chat Model** Lm Chat Ollama *Model*
- 3 **Ollama Model** Lm Ollama *Model*
- 4 **Ollama Chat Model1** Lm Chat Ollama *Model*
- 5 **Ollama Chat Model2** Lm Chat Ollama *Model*
- 6 **Ollama Chat Model3** Lm Chat Ollama *Model*
- 7 **Get a file** Telegram *Service*
- 8 **AI Agent** Agent *Model*
- 9 **Text Classifier** Text Classifier *Model*
- 10 **AI Agent1** Agent *Model*
- 11 **AI Agent2** Agent *Model*
- 12 **AI Agent3** Agent *Model*
- 13 **Wisper API** Http Request *Service*
- 14 **Code in JavaScript1** Code *Logic*
- 15 **Send a text message** Telegram *Service*
- 16 **Send message and wait for response1** Telegram *Service*
- 17 **Code in JavaScript3** Code *Logic*
- 18 **Send message and wait for response** Telegram *Service*
- 19 **No Operation, do nothing** No Op *Logic*
- 20 **If1** If *Logic*
- 21 **Send message and wait for response2** Telegram *Service*
- 22 **If** If *Logic*
- 23 **Code in JavaScript** Code *Logic*
- 24 **No Operation, do nothing3** No Op *Logic*
- 25 **If3** If *Logic*
- 26 **Send a message** Gmail *Service*
- 27 **Create an event** Google Calendar *Service*
- 28 **No Operation, do nothing5** No Op *Logic*
- 29 **Send a text message1** Telegram *Service*
- 30 **Send a text message2** Telegram *Service*
- 31 **No Operation, do nothing2** No Op *Logic*
- 32 **No Operation, do nothing4** No Op *Logic*

## How it's built

- **Starts on:** An incoming Telegram message
- **Steps:** 32, with 3 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Google Calendar, Telegram
- **Model:** a local model

## Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Calendar and Telegram accounts, and a key for a local model. 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 a local model. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 32 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 32 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%2Fturn-telegram-voice-messages-into-gmail-emails)
- **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.

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

## Workflows like it

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

- [**Automate email & calendar management with Gmail** 32 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/automate-email-and-calendar-management-with-gmail)
- [**Automate pet grooming posts & bookings with Facebook** 32 steps · calls a model · Google Calendar, Google Sheets](https://millionrounds.com/workflow/automate-pet-grooming-posts-and-bookings-with-facebook)
- [**Manage Telegram task reminders with OpenAI** 32 steps · calls a model · Telegram, n8n data table](https://millionrounds.com/workflow/manage-telegram-task-reminders-with-openai)
- [**WhatsApp appointment scheduling with Google Calendar** 32 steps · Google Calendar, Postgres](https://millionrounds.com/workflow/whatsapp-appointment-scheduling-with-google-calendar)
- [**AI secretary for scheduling with WhatsApp and Telegram** 31 steps · calls a model · Google Calendar, Redis](https://millionrounds.com/workflow/ai-secretary-for-scheduling-with-whatsapp-and-telegram)
- [**Calendar Management & RAG Agent with OpenAI and OpenRouter** 31 steps · calls a model · Google Calendar, n8n data table](https://millionrounds.com/workflow/calendar-management-and-rag-agent-with-openai-and-openrouter)
