Templates / Triage Gmail and send high-priority alerts with Gemini and Telegram

Triage Gmail and send high-priority alerts with Gemini and Telegram

Ready for 3.0

by Nguyễn Thiệu Toàn (Jay Nguyen) ✓ · 58 views · created 2026-05-30 · Ticket Management, 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-10-19.

What this workflow does

This AI workflow has 12 nodes and runs on Gmail events. Along the way it connects Google Gemini Chat Model, Telegram and Gmail.

How it runs

Trigger: On Gmail events.

  1. Set Context (Edit Fields (Set)): sets 5 fields: data_table_id, owner_name, owner_email…
  2. Parse Email Fields (Code): runs custom JavaScript code
  3. Filter Noise & Bots (If): checks a condition and branches into true / false
  4. Already Logged? (Data table): get many
  5. Is New Email? (If): checks a condition and branches into true / false
  6. AI Email Analyzer (AI Agent): runs an AI agent, with model: Google Gemini Flash; output parser: Parse Analysis JSON
  7. Log to Data Table (Data table): create or update
  8. Notify via Telegram (High Priority) (If): checks a condition and branches into true / false
  9. Send Telegram Alert (Telegram): uses Telegram

Services it uses

Google Gemini Chat ModelTelegramGmail

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 (9)

From the author

Quick overview This workflow checks Gmail every hour, filters out automated senders, uses Google Gemini to summarize and classify each new email, logs the analysis to an n8n Data Table, and sends a Telegram alert when an email is marked as high priority. How…

Excerpt from Nguyễn Thiệu Toàn (Jay Nguyen)'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.