Templates / Triage Gmail, draft replies, upload to Drive, and alert via Telegram with OpenRouter

Triage Gmail, draft replies, upload to Drive, and alert via Telegram with OpenRouter

Ready for 3.0

by Deepankar Bhadrasen ✓ · 38 views · created 2026-08-18 · 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 25 nodes and runs on Gmail events. Along the way it connects Gmail, Google Drive, Telegram and OpenRouter Chat Model.

How it runs

Trigger: On Gmail events.

  1. OneAtATime (Loop Over Items (Split in Batches)): loops over the items in batches
  2. GetThreadMessages (Gmail): get (thread)
  3. GetLatestMsgId (Limit): keeps the first few items
  4. GetLatestMessage (Gmail): get
  5. GetLabels (Gmail): work with label
  6. If: checks a condition and branches into true / false
  7. UserLabels (Aggregate): combines items into one
  8. AssessEmail (Basic LLM Chain): sends a prompt to an LLM, with model: OpenRouter Chat Model; output parser: Auto-fixing Output Parser
  9. ActionRoutes (Switch): routes items into 4 branches
  10. CreateReplyText (Basic LLM Chain): sends a prompt to an LLM, with model: OpenRouter Chat Model

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

Services it uses

GmailGoogle DriveTelegramOpenRouter 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.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (ReceiveEmail_Trigger).

Nodes used (15)

From the author

Quick overview This workflow monitors Gmail for new incoming emails, uses OpenRouter (LLM) to classify them against your live Gmail labels, drafts suggested replies, uploads attachments to Google Drive, sends urgent alerts to Telegram, and applies Gmail…

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