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

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

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

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.


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 Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free