Overview
Build an n8n workflow where a private Telegram bot receives your quick notes, an AI Agent node turns each one into a clear task with a due date, and the Todoist node adds it to your list.
Problem or Objective
More in Workflow Automation
AI Agents and Models
Tools and Integrations
- Tools
- n8n · Telegram · Todoist
- Prerequisites
- An n8n instance that Telegram can reach, a Telegram bot token, a Todoist account and a chat model credential.
How It Works
Create a Telegram bot for yourself and add its credentials in n8n, along with Todoist credentials and a chat model. Start the workflow with a Telegram Trigger on new messages, restricted to your own user ID so nobody else can add tasks. Pass the message text to an AI Agent node, with the Todoist node attached as a tool. In the agent's instructions, ask it to write a short task name that starts with a verb, pick a due date only when the message states one, choose a project from a fixed list, and look up open tasks first so it does not create a duplicate. After the task is created, have the workflow send you the task back in Telegram so you can review it and fix or delete it in Todoist. Test with a dozen sample messages before publishing.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up n8n.
- Connect the toolsConnect the tools this workflow relies on: n8n, Telegram, Todoist.
- Check the prerequisitesAn n8n instance that Telegram can reach, a Telegram bot token, a Todoist account and a chat model credential.
- Gather your detailsCollect what the prompt asks for: Longest task name, Your time zone, Todoist projects the agent may use.
- Run the starter promptPaste the starter prompt below into n8n and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at docs.n8n.io before you rely on it.
Practical Starter Prompt: Turn my message into one Todoist task
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
You receive one short message from me. Turn it into a single Todoist task: a name of at most [Longest task name] words starting with a verb, a due date only if the message gives one (interpret dates in [Your time zone]), and a project chosen from [Todoist projects the agent may use]. Before creating it, get my open tasks and skip creation if a task with the same meaning exists. After creating, reply with the task name, project and due date so I can review it. If the message is not a task, create nothing and say so.Use this as the AI Agent node's instructions, with the Todoist node as its tool. Review each confirmation and fix or delete wrong tasks in Todoist.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. n8n documents a Telegram Trigger that fires on new messages and can be limited to listed user IDs, a Todoist node that creates, updates, deletes and gets tasks and can act as an AI tool, and an AI Agent node that decides which tools to call. The docs do not measure how well a model turns casual messages into tasks, so review what it creates, especially dates.
Limitations and Considerations
Restrict the trigger to your own user or chat ID; otherwise anyone who finds the bot could add tasks. The model can misread dates and time zones, so check due dates in the confirmation it sends. Repeated or edited messages can create duplicates unless the agent looks up existing tasks first. Check how your n8n instance receives Telegram updates (a public address is usually needed) and whether the Telegram node can send the confirmation the way you want. Chat model calls and n8n hosting have their own costs. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Official Website
The official site of the main tool or project in this use case.
Related Videos
About n8n-io/n8n
Give Your Agent Tools (n8n Agents Course 5/7) (opens in a new tab)
Walkthrough of n8n by n8n: it is on the project’s own channel.
Watch on YouTube (opens in a new tab)About n8n-io/n8n
n8n AI Nodes: Connect OpenAI, Claude, and Local Models (opens in a new tab)
Walkthrough of n8n by AI Daily Lab: its description links the GitHub repository.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Telegram Trigger | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 17:52 UTC
What this source supports
- The Message event triggers on a new incoming message of any kind, such as text, photo or sticker.
- Restrict to User IDs: only trigger for events with the listed user IDs.
- Todoist | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 27 Nov 2026, 04:14 UTC
What this source supports
- n8n has built-in support for a wide range of Todoist features, including creating, updating, deleting, and getting tasks.
- This node can be used as an AI tool to enhance the capabilities of an AI agent.
- AI Agent | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- The AI Agent node lets you connect a chat model and one or more tools, and the agent decides which tools to call to complete a task.

