Skip to main content

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

Workflow preview

Workflow preview
100%
Triage Gmail inbox, draft replies, and alert urgent emails with Claude and Slack preview
Open on n8n.io

1. Workflow Overview

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 tak...

Best for

  • Ticket Management automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.gmailtrigger, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.lmchatanthropic, n8n-nodes-base.code, n8n-nodes-base.switch, n8n-nodes-base.slack

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Akshay Chug.

Original n8n.io source

1.1 Workflow description

Title
Triage Gmail inbox, draft replies, and alert urgent emails with Claude and Slack
Workflow name
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

  1. Gmail — Connect your Gmail account in Check for New Emails, and all action nodes
  2. 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
  3. Claude AI — Add your Anthropic API key to the Claude Sonnet sub-node from console.anthropic.com
  4. Slack — Connect your Slack account in Notify Urgent Email and set your channel. Disable this node if you do not use Slack
  5. Customise the prompt — Open Classify Email Intent and add your name, role, and any VIP senders that should always route as Urgent
  6. Google Sheets — Create a sheet called Email Log with columns: Timestamp, Sender, Subject, Category, Summary, Reasoning, Draft Saved
  7. Activate — runs every 15 minutes automatically

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Check for New Emails

Type / Role
n8n-nodes-base.gmailTrigger - gmailTrigger
Config choices
Version 1.2

Block 7 - Extract Email Data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 8 - Classify Email Intent

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.4

Block 9 - Claude Sonnet

Type / Role
@n8n/n8n-nodes-langchain.lmChatAnthropic - lmChatAnthropic
Config choices
Version 1.3

Block 10 - Parse Classification

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Route by Category

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 12 - Notify Urgent Email

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.2

Block 13 - Label as Urgent

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 14 - Save Draft Reply

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 15 - Label as Needs Reply

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 16 - Label as FYI and Mark Read

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 17 - Label and Archive Automated

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 18 - Move Spam to Trash

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 19 - Log to Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

3. Summary Table

Workflow Triage Gmail inbox, draft replies, and alert urgent emails with Claude and Slack
Complexity advanced
Nodes 19
Categories Ticket Management, AI Summarization
Author Akshay Chug
Published 07 Apr 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/14852/14852.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Triage Gmail inbox, draft replies, and alert urgent emails with Claude and Slack do?

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 tak...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Ticket Management, AI Summarization use case.