Telegram Voice Assistant for Notion Task Management - n8n Workflow

Use this powerful n8n workflow to automate task management. Integrate Telegram voice or text messages with OpenAI transcription and an n8n AI agent to search and create pages in Notion.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

Individuals seeking to automate personal task capture using voice commands.
Users who rely on Telegram as their primary communication channel and Notion for productivity.
Developers and automators looking for advanced n8n templates integrating AI Agents and memory features.
Anyone needing a robust n8n workflow that handles conversational context for task management.

Overview

This advanced n8n workflow transforms your Telegram bot into an intelligent personal assistant, specialized in managing your Notion to-do list. The core value of this solution is its ability to handle both text and voice inputs seamlessly. When you send a voice note, the n8n workflow uses OpenAI to transcribe the recording, then passes the text to a specialized AI Agent (Tard).

This agent is configured with conversational memory, allowing for follow-up questions within the same chat session. The AI Agent then leverages two specialized n8n node tools—one for creating Notion pages and one for searching existing pages—to fulfill the request. The workflow ensures that every request, whether a simple text command or a detailed voice memo, results in a precise action or informative reply sent back through the Telegram n8n node, making this a highly efficient n8n templates solution for productivity.

How it Works

The entire process is initiated by the Telegram n8n trigger and proceeds through conditional logic to the AI agent.


  1. Incoming Telegram Message: The Listen for incoming events n8n trigger captures all messages sent to the bot.

  2. Input Check: The Voice or Text n8n node prepares the input. An If n8n node checks if the message contains text or a voice file.

  3. Voice Processing (If Voice): If it's a voice message, the Get Voice File n8n node downloads the audio. This audio is then sent to the Transcribe a recording n8n node (OpenAI) to convert the speech into text.

  4. Context and Memory: All requests converge into the AI Agent. The Window Buffer Memory n8n node is used to store recent conversation history, indexed by the user's unique Telegram ID, ensuring the AI maintains context during the interaction.

  5. AI Agent Execution: The Tard, AI Assistant n8n node (LangChain Agent) receives the transcribed or typed request. It uses a defined system prompt that strictly scopes its duties to Notion task management (ignoring the disabled Email and Calendar tools).

  6. Tool Selection: Based on the request (e.g., “Add groceries to my list” or “What tasks are due today?”), the agent autonomously selects the correct n8n tool: Create a page in Notion or Search a page in Notion.

  7. Final Response: The resulting output from the agent (task confirmation or search results) is routed to the final Telegram n8n node, which sends the formatted response back to the user.

Installation Guide

To set up this powerful n8n workflow, follow these steps:


  1. Import: Copy and paste the provided n8n workflow JSON into your n8n instance.

  2. Credentials: Set up the required credentials for the following services:

Telegram: Configure the Listen for incoming events n8n trigger and the Telegram response node with your Telegram Bot API credentials.
OpenAI: Add your OpenAI API key to the Transcribe a recording and OpenAI Chat Model n8n nodes. This is crucial for voice transcription and the AI agent.
* Notion: Connect your Notion account. In the Create a page in Notion n8n node, update the database URL placeholder (https://www.notion.so/To-Do-List...) to point to your specific Notion database or page ID.

  1. Activation: Once all credentials and parameters are correctly configured, activate the n8n workflow by toggling the switch in the top menu.

  2. Optional Extensions: Note that the Google Calendar and Gmail n8n nodes are included but disabled. If you choose to enable them later, you must also update the AI Agent’s system instructions to grant access to these tools.

Node Details

Listen for incoming events (Telegram Trigger): This is the core n8n trigger, constantly polling for new messages (text or voice) sent to your Telegram bot.
If (Flow Control): A crucial flow control n8n node that directs the workflow based on whether the input message is text or if it requires voice transcription.
Transcribe a recording (OpenAI): This n8n node is responsible for processing the downloaded Telegram audio file and converting it into actionable text using the OpenAI API.
Window Buffer Memory (LangChain): Stores the conversational context. It uses the sender's Telegram ID as the session key, allowing the AI assistant in this n8n workflow to remember previous steps in a short chat.
Tard, AI Assistant (LangChain Agent): The primary logic handler. This advanced n8n node uses defined rules to decide which specific tool (Create or Search Notion) is needed to satisfy the user's request. It directs the execution path of the n8n workflow.
Create a page in Notion (Notion Tool): An integrated n8n node tool used by the AI Agent specifically to add new tasks or entries into the target Notion database.
Search a page in Notion (Notion Tool): An integrated n8n node tool used by the AI Agent to query the Notion database and retrieve relevant task information for the user.
Telegram (Response): The final n8n node that sends the AI Agent’s structured output back to the user via Telegram.

Related n8n Workflows

Free

Nodes: 12 Nodes
Updated: December 26 2025
View all
Created by

We're weblane!

Featured*