Templates / Label incoming Gmail messages with Google Gemini and Telegram alerts

Label incoming Gmail messages with Google Gemini and Telegram alerts

Ready for 3.0

by Yuvraj Soni ✓ · 140 views · created 2026-06-25 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What 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.

  1. Text Classifier: classifies text into categories with AI, with model: AI Chat Model Gemini
  2. Personal (Gmail): add labels
  3. Job (Gmail): add labels
  4. Study related (Gmail): add labels
  5. Bank related (Gmail): add labels
  6. Social Message (Gmail): add labels
  7. OTP (Gmail): add labels
  8. Misc (Gmail): add labels
  9. Error Telegram (Telegram): uses Telegram
  10. Personal Message (Telegram): uses Telegram

…plus 6 more steps. See the full node list below.

Services it uses

GmailTelegramGoogle Gemini Chat Model

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)

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…

Excerpt from Yuvraj Soni's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.