# Voice-to-task manager with Telegram and OpenAI: n8n workflow

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

Source: https://millionrounds.com/workflow/voice-to-task-manager-with-telegram-and-openai (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)

# Voice-to-task manager with Telegram and OpenAI

Started by an incoming Telegram message, and works across Notion and Telegram. It hands the judgement calls to OpenAI. 33 steps, 2 branches: 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%2Fvoice-to-task-manager-with-telegram-and-openai)

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

**2** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 14 Logic 10 Service 8

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

- 1 **Receive Telegram Messages** Telegram trigger *Starts it*
- 2 **Extract Create Task Fields** Output Parser Structured *Model*
- 3 **OpenAI Chat Model (Detect Intent)** Lm Chat Open Ai *Model*
- 4 **Create Task Prompt (Model)** Lm Chat Open Ai *Model*
- 5 **Get Search String Prompt (Model)** Lm Chat Open Ai *Model*
- 6 **Find Matching Task Prompt (Model)** Lm Chat Open Ai *Model*
- 7 **Update Task Prompt (Model)** Lm Chat Open Ai *Model*
- 8 **Alalyze Task Prompt (Model)** Lm Chat Open Ai *Model*
- 9 **Voice or Text?** Switch *Logic*
- 10 **Create Task (Prompt)** Chain Llm *Model*
- 11 **Detect Intent** Chain Llm *Model*
- 12 **Get Search String** Chain Llm *Model*
- 13 **Find Matching Task** Chain Llm *Model*
- 14 **Update Task Prompt** Chain Llm *Model*
- 15 **AI Analyze Tasks** Chain Llm *Model*
- 16 **Fetch Voice Message** Telegram *Service*
- 17 **Prepare for LLM** Set *Logic*
- 18 **Create a database page** Notion *Service*
- 19 **Wrap Intent** Set *Logic*
- 20 **Get Notion Tasks (update)** Notion *Service*
- 21 **Prepare Update Prompt** Code *Logic*
- 22 **to task object** Code *Logic*
- 23 **Send Analysis Result** Telegram *Service*
- 24 **Transcribe Voice to Text** Open Ai *Model*
- 25 **Prepare Unified Text** Set *Logic*
- 26 **Send Confirmation** Telegram *Service*
- 27 **Wrap Intent + Text** Code *Logic*
- 28 **Prepare Match Prompt** Code *Logic*
- 29 **Update a database page** Http Request *Service*
- 30 **Route by Intent** Switch *Logic*
- 31 **Send Confirmation (update)** Telegram *Service*
- 32 **Get Notion Tasks (analyze)** Notion *Service*
- 33 **Prepare Analysis Prompt** Code *Logic*

## How it's built

- **Starts on:** An incoming Telegram message
- **Steps:** 33, with 2 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Notion, Telegram
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Notion and Telegram accounts, 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 33 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 33 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%2Fvoice-to-task-manager-with-telegram-and-openai)
- **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.

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

## Workflows like it

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

- [**Build a comprehensive multimodal assistant on Telegram** 33 steps · calls a model · Telegram, in-memory vectors](https://millionrounds.com/workflow/build-a-comprehensive-multimodal-assistant-on-telegram)
- [**Plan daily restaurant prep lists with DeepSeek** 33 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/plan-daily-restaurant-prep-lists-with-deepseek)
- [**Assist hospital doctors with Telegram and OpenAI** 34 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/assist-hospital-doctors-with-telegram-and-openai)
- [**Classify and auto-reply to Gmail with OpenAI** 34 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/classify-and-auto-reply-to-gmail-with-openai)
- [**Email management system with OpenAI and Pinecone DB** 34 steps · calls a model · Gmail, Pinecone](https://millionrounds.com/workflow/email-management-system-with-openai-and-pinecone-db)
- [**Evaluate job fit and generate application assets** 34 steps · calls a model · Apify, Gmail](https://millionrounds.com/workflow/evaluate-job-fit-and-generate-application-assets)
