Triage inbound Gmail with Anthropic Claude, Google Sheets, and Slack alerts
Ready for 3.0Ready 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 11 nodes and runs on Gmail events. Along the way it connects Gmail, Information Extractor, Anthropic Chat Model and Google Sheets and 1 more.
How it runs
Trigger: On Gmail events.
- Prepare email (Code): runs custom JavaScript code
- AI: classify & draft (Information Extractor): extracts structured fields from text with AI, with model: Chat model
- Validate AI output (Code): runs custom JavaScript code
- Is spam? (If): checks a condition and branches into true / false
- Log spam (Google Sheets): append or update
- Create draft reply (Gmail): create (draft)
- Log email (Google Sheets): append or update
- High priority? (If): checks a condition and branches into true / false
- Slack: post (message)
Services it uses
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 (8)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Code
n8n-nodes-base.code - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail - Slack
n8n-nodes-base.slack
From the author
Quick overview This workflow watches a Gmail inbox for new messages, uses Anthropic Claude to classify each email and draft a reply, then logs the results to Google Sheets and optionally posts high-priority or sales alerts to Slack. How it works 1. Polls…