Triage Gmail inbox, draft replies, and alert urgent emails with Claude and Slack
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, draft reply saved for action needed, label and archive for everything else. Every email logged to Google Sheets.
How it works
Polls Gmail every 15 minutes for new unread emails Claude Sonnet reads each email and classifies it into one of five categories Urgent emails trigger an immediate Slack alert with sender, subject and summary Needs Reply emails get a Claude-written draft saved to Gmail drafts ready for one-click send FYI Only emails get labelled and marked as read automatically Automated emails (newsletters, receipts, notifications) get labelled and archived Spam gets moved to trash Every email processed is logged to Google Sheets with category and reasoning
Setup steps
Gmail — Connect your Gmail account in Check for New Emails, and all action nodes Gmail labels — Create four labels in Gmail: AI-Urgent, AI-Needs-Reply, AI-FYI, AI-Automated. Copy each label ID into the corresponding label node Claude AI — Add your Anthropic API key to the Claude Sonnet sub-node from console.anthropic.com Slack — Connect your Slack account in Notify Urgent Email and set your channel. Disable this node if you do not use Slack Customise the prompt — Open Classify Email Intent and add your name, role, and any VIP senders that should always route as Urgent Google Sheets — Create a sheet called Email Log with columns: Timestamp, Sender, Subject, Category, Summary, Reasoning, Draft Saved Activate — runs every 15 minutes automatically
Related Templates
Automatic News Summarization & Email Digest with GPT-4, NewsAPI and Gmail
📰 AI News Digest Agent: Auto News Summarizer & Email Newsletter Create an intelligent news curation system that automat...
Generate Food Recipes from Gmail & Form Requests with Ollama & Llama 3.2
This n8n template demonstrates how to create an intelligent food recipe assistant that accepts requests via Gmail and we...
Auto-classify Gmail emails with AI and apply labels for inbox organization
Who is this for? Professionals and individuals who receive high volumes of emails, those who want to automatically organ...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments