Label incoming Gmail messages with Google Gemini and Telegram alerts
Ready for 3.0What this workflow does
This AI workflow has 19 nodes and runs on Gmail events. Along the way it connects Gmail, Telegram and Google Gemini Chat Model.
How it runs
Trigger: On Gmail events.
- Text Classifier: classifies text into categories with AI, with model: AI Chat Model Gemini
- Personal (Gmail): add labels
- Job (Gmail): add labels
- Study related (Gmail): add labels
- Bank related (Gmail): add labels
- Social Message (Gmail): add labels
- OTP (Gmail): add labels
- Misc (Gmail): add labels
- Error Telegram (Telegram): uses Telegram
- Personal Message (Telegram): uses Telegram
…plus 6 more steps. See the full node list below.
Services it uses
Other Google Gemini + Gmail templates (518) · Other Gmail + Telegram templates (361) · Other Telegram + Google Gemini templates (354)
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.
Nodes used (6)
- Text Classifier
@n8n/n8n-nodes-langchain.textClassifier - Gmail
n8n-nodes-base.gmail - No Operation, do nothing
n8n-nodes-base.noOp - Telegram
n8n-nodes-base.telegram - Gmail Trigger
n8n-nodes-base.gmailTrigger - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
From the author
Quick overview This workflow polls Gmail for new emails, uses Google Gemini via an n8n AI text classifier to categorize each message by subject and snippet, and automatically applies the matching Gmail label, sending a Telegram alert if classification errors…