Automate Your Tasks with an AI-Powered Telegram Assistant
detail.loadingPreview
Seamlessly manage your tasks using an intelligent AI assistant integrated with Telegram and Google Tasks. This workflow allows you to interact with your to-do list through natural language commands in Telegram and have AI orchestrate updates and creations.
About This Workflow
This powerful n8n workflow transforms your Telegram into a smart task management hub. Leveraging the power of Langchain and OpenAI, it enables you to interact with your Google Tasks list using natural language. Simply send a message to your dedicated Telegram bot, and the AI will interpret your requests to create, update, or complete tasks. The workflow is designed to intelligently retrieve existing tasks when updates are needed, ensuring accuracy and efficiency. It supports receiving messages via Telegram, processing them with an AI agent, and interacting with Google Tasks for seamless task management.
Key Features
- AI-Powered Natural Language Interface: Interact with your tasks through intuitive Telegram messages.
- Google Tasks Integration: Effortlessly create, update, and mark tasks as complete in your Google Tasks.
- Intelligent Task Retrieval: AI automatically fetches task IDs when you request updates, ensuring precision.
- Contextual Memory: The AI maintains conversation context for a more fluid interaction.
- Configurable AI Behavior: Customize the AI's system message for specific prompt engineering.
How To Use
- Configure Telegram Trigger: Set up the
Telegram Triggernode with your bot token to receive incoming messages. - Set Chat Input: Use the
setnode (named 'chatInput') to extract the message text and user ID from the incoming Telegram message. - Initialize AI Agent: Configure the
AI Agentnode. Crucially, define asystemMessagethat guides the AI's behavior, especially for task updates (e.g., instructing it to useget_tasksfirst). - Connect Language Model: Link an
OpenAI Chat Model(e.g.,lmChatOpenAi) to theAI Agentfor natural language processing. - Implement Memory: Integrate a
Simple Memorynode to allow the AI to remember conversation history, using the Telegram user ID as thesessionKey. - Add Tooling: Connect
Google Tasks Toolnodes (e.g.,create_todays_task,get_todays_tasks,complete_task,create_upcoming_task) to the AI agent. Ensure the AI is prompted to call the correct tool and parameters based on your input. - Process AI Output: Use a
setnode (named 'chatOutput') to capture the AI's final response. - Send Telegram Reply: Configure the
Telegramnode (named 'sendMessage') to send the AI's response back to the original Telegram chat.
Apps Used
Workflow JSON
{
"id": "4f2268d2-d1a2-43fe-b5a1-166571d9edc2",
"name": "Automate Your Tasks with an AI-Powered Telegram Assistant",
"nodes": 19,
"category": "Operations",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 4f2268d2-d1a2...
About the Author
Crypto_Watcher
Web3 Developer
Automated trading bots and blockchain monitoring workflows.
Statistics
Related Workflows
Discover more workflows you might like
Instant WooCommerce Order Notifications via Telegram
When a new order is placed on your WooCommerce store, instantly receive detailed notifications directly to your Telegram chat. Stay on top of your e-commerce operations with real-time alerts, including order specifics and a direct link to view the order.
Universal CSV to JSON API Converter
Effortlessly transform CSV data into structured JSON with this versatile n8n workflow. Integrate it into any application as a custom API endpoint, supporting various input methods including file uploads and raw text.
On-Demand Microsoft SQL Query Execution
This workflow allows you to manually trigger and execute any SQL query against your Microsoft SQL Server database. Perfect for ad-hoc data lookups, administrative tasks, or quick tests, giving you direct control over your database operations.