Templates / Triage Gmail with Gemini, label emails, log invoices to Sheets, and send Telegram alerts

Triage Gmail with Gemini, label emails, log invoices to Sheets, and send Telegram alerts

Ready for 3.0

by Amelqa · 2 views · created 2026-10-01 · 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 22 nodes and runs on Gmail events. Along the way it connects Gmail, Google Gemini, Google Sheets and Telegram.

How it runs

Trigger: On Gmail events.

  1. Set Email Parameters (Edit Fields (Set)): sets 6 fields: your_name, business, tone…
  2. Fetch Gmail Labels (Gmail): get many (label)
  3. Create Log Table (Data table): create (table)
  4. Retrieve Email Content (Gmail): get
  5. Process Email Content (Code): runs custom JavaScript code
  6. Classify Email with Gemini (Google Gemini): message (text)
  7. Analyze Classification Result (Code): runs custom JavaScript code
  8. Backup Classify with Gemini (Google Gemini): message (text)
  9. Select Appropriate Label (Code): runs custom JavaScript code
  10. Check Reply Requirement (If): checks a condition and branches into true / false

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

Services it uses

GmailGoogle GeminiGoogle SheetsTelegram

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) (When Email Received).

Nodes used (9)

From the author

Quick overview This workflow watches your Gmail inbox, uses Google Gemini to classify and summarize each email, applies category labels, optionally creates reply drafts, logs invoice details to Google Sheets, sends urgent alerts via Telegram, and stores a…

Excerpt from Amelqa'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.