Ai email triage & alert system with GPT-4 and Telegram notifications
Needs changesWhat this workflow does
This AI workflow has 90 nodes and runs on Gmail events (plus 3 other triggers). Along the way it connects Gmail, Telegram, Google Gemini Chat Model and OpenAI Chat Model and 2 more.
How it runs
Trigger: On Gmail events (plus 3 other triggers).
- Set Email Details (Edit Fields (Set)): sets or maps fields
- Set Webhook Request (Edit Fields (Set)): sets or maps fields
- Set Telegram Request (Edit Fields (Set)): sets or maps fields
- Set Workflow Request (Edit Fields (Set)): sets or maps fields
- Add Processing Label (Gmail): uses Gmail
- Aggregate: combines items into one
- OmniClassifier (Text Classifier): classifies text into categories with AI, with model: Google Gemini (OmniClassifier)
- Set Agent Input (Edit Fields (Set)): sets or maps fields
- Add Noise/Spam Label (Gmail): uses Gmail
- Add Promotional Label (Gmail): uses Gmail
…plus 42 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Master Email Coordinator (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
- Also check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll).
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Master Email Coordinator (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (24)
- Gmail Tool
n8n-nodes-base.gmailTool - Telegram Trigger
n8n-nodes-base.telegramTrigger - Telegram
n8n-nodes-base.telegram - Aggregate
n8n-nodes-base.aggregate - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - No Operation, do nothing
n8n-nodes-base.noOp - Stop and Error
n8n-nodes-base.stopAndError - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Gmail Trigger
n8n-nodes-base.gmailTrigger - Gmail
n8n-nodes-base.gmail - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Auto-fixing Output Parser
@n8n/n8n-nodes-langchain.outputParserAutofixing - Switch
n8n-nodes-base.switch - Text Classifier
@n8n/n8n-nodes-langchain.textClassifier - Webhook
n8n-nodes-base.webhook - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Postgres Chat Memory
@n8n/n8n-nodes-langchain.memoryPostgresChat - Airtable
n8n-nodes-base.airtable - Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow - AI Agent
@n8n/n8n-nodes-langchain.agent - HTTP Request
n8n-nodes-base.httpRequest
From the author
Fully Automated AI Email System for n8n: Triage, Summarize & Alert—Never Check Your Inbox Again! Fully Automated Email Intelligence: Triage, Summarize, Escalate & Alert—Never Check Your Inbox Again 🚀 Overview Turn every minute you waste in your inbox into…