Telegram to Todoist Task Automation with OpenAI & n8n

Save time and reduce errors by automatically converting Telegram voice and text messages into actionable Todoist tasks using this n8n workflow with OpenAI integration. Perfect for busy professionals managing tasks on the go.
telegramTrigger
llmChatOpenAi
todoist
+7
Workflow Identifier: 1913
NODES in Use: telegramTrigger, switch, telegram, openAi, set, llmChatOpenAi, chainLlm, outputParserStructured, todoist, telegram
Automate Telegram to Todoist tasks with n8n and OpenAI

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Automation Does ⚙️

This workflow listens to Telegram messages, either voice or text, and turns them into tasks on Todoist. It stops the need to write tasks manually. Voice messages get changed into text by OpenAI Whisper. Then, GPT-4o-mini breaks the text into smaller tasks with priorities. These tasks go straight into Todoist so users can manage them easily. A confirmation message is sent back to Telegram with a task link.

The goal is to save time and avoid errors that happen when typing task lists by hand.


Who Should Use This Workflow

Users who get lots of task info through Telegram and want it in Todoist without typing. Especially good for busy managers or team leads.

You do need some accounts and keys for n8n, Telegram Bot API, OpenAI, and Todoist.


Tools and Services Used

  • Telegram Bot API: Receives user messages via bot.
  • OpenAI Whisper: Transcribes audio voice messages to text.
  • OpenAI GPT-4o-mini Chat Model: Breaks task text into subtasks with priorities.
  • Todoist API: Creates tasks in specified projects.
  • n8n Automation Platform: Builds and runs the workflow.

Inputs → Processing Steps → Output

Inputs

  • Voice or text messages sent to the Telegram bot.

Processing Steps

  • Telegram Trigger listens for messages.
  • Switch node checks if message is voice or text.
  • For voice, Telegram node (Get File) fetches audio.
  • OpenAI Whisper converts audio to text.
  • Set node unifies text from voice or original text.
  • OpenAI Chat Model (GPT-4o-mini) splits text into subtasks with priority.
  • Output Parser Structured checks AI output is JSON with needed fields.
  • Todoist node creates tasks using subtasks.
  • Telegram node sends confirmation with task link.

Output

  • Task items created in Todoist project.
  • Message in Telegram confirming tasks.

Beginner Step-by-Step: How to Use This Workflow in n8n

Step 1: Import Workflow

  1. Download the workflow file using the Download button on this page.
  2. Open the n8n editor where you work.
  3. Use the menu option Import from File to add the downloaded workflow.

Step 2: Configure Credentials

  1. Add your Telegram Bot API Key in the Telegram Trigger and other Telegram nodes.
  2. Insert your OpenAI API Key in the nodes using OpenAI.
  3. Enter your Todoist API Key and the target Todoist Project ID in the Todoist node.

Step 3: Check and Update Details

  1. Verify that the Todoist project ID is the one where you want tasks.
  2. If the prompt or URLs are already present in the workflow, review them and update if needed.

Step 4: Test Workflow

  1. Send a text or voice message to your Telegram bot.
  2. Watch n8n run through each step and confirm tasks appear in Todoist.

Step 5: Activate Workflow

  1. When satisfied, activate the workflow to run automatically.
  2. Check your Telegram bot webhook is set correctly to your n8n instance. Use self-host n8n resource if needed.

Customization Ideas ✏️

  • Change Todoist project by editing the project ID in the Todoist node.
  • Edit system prompts in the OpenAI Chat Model node to change task breakdown style.
  • Extend Switch node logic to detect other Telegram message types like images or documents.
  • Modify priority rules inside the AI prompt to match personal or team urgency.

Known Issues & Troubleshooting 🔧

  • No tasks created in Todoist: Check if Todoist API key or project ID is valid.
  • Voice messages not transcribed: Verify Telegram audio file URL fetch and OpenAI Whisper API key.
  • AI output JSON parse errors: Check JSON schema in Output Parser matches AI response.
  • Telegram confirmation fails: Confirm chat ID mapping in Telegram send node.

Deployment Guide

After testing, turn on the workflow in n8n. Make sure Telegram webhook points to your active n8n setup. Consider adding retry options on API calls. Monitor n8n logs for errors. For stable long-term use, consider self-host n8n.


Summary

✓ Saves time by automating voice and text to Todoist tasks.

✓ Reduces errors from manual task typing.

→ Creates clear task lists with priority.

→ Sends confirmation back to Telegram for feedback.

→ Works with multiple Telegram message types through branching.


Automate Telegram to Todoist tasks with n8n and OpenAI

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Yes, the OpenAI Chat Model node can use other models, but prompt and output format must stay correct.
Yes, both transcription with Whisper and chat completions consume OpenAI credits based on usage.
The Output Parser Structured node validates that the AI uses JSON with content and priority fields to match Todoist requirements.
Check that the Telegram send message node uses the right chat ID from the initial message to send confirmation back correctly.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.