Templates / Triage Gmail inbox, draft replies, and alert urgent emails with Claude and Slack

Triage Gmail inbox, draft replies, and alert urgent emails with Claude and Slack

Ready for 3.0

by Akshay Chug ✓ · 251 views · created 2026-04-07 · 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 14 nodes and runs on Gmail events. Along the way it connects Gmail, Anthropic Chat Model, Slack and Google Sheets.

How it runs

Trigger: On Gmail events.

  1. Extract Email Data (Edit Fields (Set)): sets 6 fields: email_id, sender, subject…
  2. Classify Email Intent (Basic LLM Chain): sends a prompt to an LLM, with model: Claude Sonnet
  3. Parse Classification (Code): runs custom JavaScript code
  4. Route by Category (Switch): routes items into 5 branches
  5. Notify Urgent Email (Slack): uses Slack
  6. Save Draft Reply (Gmail): create draft
  7. Label as FYI and Mark Read (Gmail): mark as read
  8. Label and Archive Automated (Gmail): add labels
  9. Move Spam to Trash (Gmail): delete
  10. Label as Urgent (Gmail): add labels

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

Services it uses

GmailAnthropic Chat ModelSlackGoogle Sheets

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) (Check for New Emails).

Nodes used (9)

From the author

Overview Your inbox shouldn't run your day. This workflow checks Gmail every 15 minutes, uses Claude AI to classify every new email into Urgent, Needs Reply, FYI Only, Automated, or Spam — then takes the right action automatically: Slack alert for urgent,…

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