Automation library · Chat assistants

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.

LargeCalls a model: OpenAI

33 stepsLarge: read it before trusting it with anything live
2Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 1Model 14Logic 10Service 8

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

  1. 1Receive Telegram MessagesTelegram triggerStarts it
  2. 2Extract Create Task FieldsOutput Parser StructuredModel
  3. 3OpenAI Chat Model (Detect Intent)Lm Chat Open AiModel
  4. 4Create Task Prompt (Model)Lm Chat Open AiModel
  5. 5Get Search String Prompt (Model)Lm Chat Open AiModel
  6. 6Find Matching Task Prompt (Model)Lm Chat Open AiModel
  7. 7Update Task Prompt (Model)Lm Chat Open AiModel
  8. 8Alalyze Task Prompt (Model)Lm Chat Open AiModel
  9. 9Voice or Text?SwitchLogic
  10. 10Create Task (Prompt)Chain LlmModel
  11. 11Detect IntentChain LlmModel
  12. 12Get Search StringChain LlmModel
  13. 13Find Matching TaskChain LlmModel
  14. 14Update Task PromptChain LlmModel
  15. 15AI Analyze TasksChain LlmModel
  16. 16Fetch Voice MessageTelegramService
  17. 17Prepare for LLMSetLogic
  18. 18Create a database pageNotionService
  19. 19Wrap IntentSetLogic
  20. 20Get Notion Tasks (update)NotionService
  21. 21Prepare Update PromptCodeLogic
  22. 22to task objectCodeLogic
  23. 23Send Analysis ResultTelegramService
  24. 24Transcribe Voice to TextOpen AiModel
  25. 25Prepare Unified TextSetLogic
  26. 26Send ConfirmationTelegramService
  27. 27Wrap Intent + TextCodeLogic
  28. 28Prepare Match PromptCodeLogic
  29. 29Update a database pageHttp RequestService
  30. 30Route by IntentSwitchLogic
  31. 31Send Confirmation (update)TelegramService
  32. 32Get Notion Tasks (analyze)NotionService
  33. 33Prepare Analysis PromptCodeLogic

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.