Automate Your Inbox: AI-Powered Email to Telegram Assistant
detail.loadingPreview
Streamline your email management with this n8n workflow that leverages AI to process incoming emails and send summaries to Telegram. Respond to emails directly from Telegram using voice notes.
About This Workflow
This n8n workflow acts as an intelligent assistant, connecting your Gmail and Telegram accounts to revolutionize your communication management. It starts by monitoring your Gmail inbox for new emails. For each incoming email, it uses OpenAI's powerful language model to determine if a response is needed. If a response is required, it sends a concise summary to your Telegram, allowing you to stay updated on the go. Furthermore, you can reply to these emails directly from Telegram by sending a voice note, which the workflow will transcribe using OpenAI's audio transcription and draft as a reply in Gmail, linked to the original thread. This eliminates the need to constantly check your email and streamlines your workflow, boosting productivity.
Key Features
- Intelligent Email Prioritization: AI determines which emails require your attention.
- Real-time Telegram Notifications: Receive concise email summaries directly on your Telegram.
- Voice-to-Email Functionality: Reply to emails using voice notes transcribed by AI.
- Seamless Gmail Integration: Automatically drafts replies in your Gmail inbox.
- Threaded Replies: Ensures your replies are correctly associated with the original email conversation.
How To Use
- Connect Your Accounts: Authenticate your Gmail and Telegram accounts within n8n.
- Configure Gmail Trigger: Set up the 'New Email Received' node to monitor your inbox.
- AI Email Analysis: Configure the 'OpenAI Chat Model' and 'Structured Output Parser' nodes to analyze incoming emails and identify those needing a response (set
jsonSchemaExampleto{"response": "Y"}for emails needing a response, or"N"otherwise). - Telegram Notification: Set up the 'Text Email' node to send a summary of emails requiring a response to your designated Telegram chat.
- Voice Reply Setup: Configure the 'Telegram Bot Message Received' trigger to listen for incoming messages.
- Audio Transcription: Use the 'Get Audio File' node to retrieve voice messages and the 'OpenAI' node to transcribe them.
- Draft Email Reply: Utilize the 'Create Email Draft' node, extracting sender, thread ID, and subject from the original Telegram notification to draft a reply using the transcribed audio content.
Apps Used
Workflow JSON
{
"id": "76d5ce6b-4475-4769-9f48-d2613325a716",
"name": "Automate Your Inbox: AI-Powered Email to Telegram Assistant",
"nodes": 9,
"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: 76d5ce6b-4475...
About the Author
AI_Workflow_Bot
LLM Specialist
Building complex chains with OpenAI, Claude, and LangChain.
Statistics
Related Workflows
Discover more workflows you might like
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.
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.
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.