Gmail assistant with Google Gemini classification & Telegram notifications
Ready for 3.0What this workflow does
This AI workflow has 24 nodes and runs on Gmail events (plus 1 other trigger). Along the way it connects Telegram, Gmail and Google Gemini Chat Model.
How it runs
Trigger: On Gmail events (plus 1 other trigger).
- Check: Is Email in Inbox? (If): checks a condition and branches into true / false
- Fetch Emails - Past 24 Hours (Gmail): get many
- AI Email Classifier (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; output parser: Structured Output Parser
- Organize Email Data (Aggregate): combines items into one
- Route by Category (Switch): routes items into 3 branches
- Email Summarizer (AI Agent): runs an AI agent, with model: Google Gemini Chat Model
- AI: Generate Email Reply (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; output parser: Structured Output Parser
- Summarize Email with AI (AI Agent): runs an AI agent, with model: Google Gemini Chat Model
- Send Daily Report (Telegram): uses Telegram
- Telegram: send and wait for a reply
…plus 3 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Real-time Email Trigger).
Nodes used (11)
- If
n8n-nodes-base.if - AI Agent
@n8n/n8n-nodes-langchain.agent - Telegram
n8n-nodes-base.telegram - Gmail
n8n-nodes-base.gmail - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Aggregate
n8n-nodes-base.aggregate - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - No Operation, do nothing
n8n-nodes-base.noOp - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Gmail Trigger
n8n-nodes-base.gmailTrigger - Switch
n8n-nodes-base.switch
From the author
Who's it for This template is designed for professionals, entrepreneurs, and busy individuals who receive high volumes of emails and want to automate their email management. Perfect for freelancers, small business owners, project managers, and anyone who…