Skip to main content

Classify cold email replies and triage Gmail with Claude and Slack

Workflow preview

Workflow preview
100%
Classify cold email replies and triage Gmail with Claude and Slack preview
Open on n8n.io

1. Workflow Overview

Quick Overview This workflow monitors Gmail for new email replies, uses Anthropic Claude to classify each reply and draft a suggested response, then routes interested replies to Slack and a Gmail d...

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/n8n-nodes-langchain.outputparserstructured, 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 Keith Uy.

Original n8n.io source

1.1 Workflow description

Title
Classify cold email replies and triage Gmail with Claude and Slack
Workflow name
Classify cold email replies and triage Gmail with Claude and Slack

Quick Overview

This workflow monitors Gmail for new email replies, uses Anthropic Claude to classify each reply and draft a suggested response, then routes interested replies to Slack and a Gmail draft while labeling all other replies in Gmail for triage.

How it works

  1. Triggers every minute when a new email reply is received in Gmail.
  2. Loads configuration values such as your offer/voice context, Slack channel, and Gmail label IDs.
  3. Sends the email details to Anthropic Claude to classify the reply, score confidence, summarize it, and draft a suggested response as structured JSON.
  4. Routes the message by category so “interested” replies post an alert to Slack.
  5. Creates a Gmail draft reply in the same thread using Claude’s suggested response.
  6. For non-interested categories (not now, out of office, unsubscribe, referral, objection) and any unmatched output, adds the corresponding Gmail label to the incoming message.

Setup

  1. Add credentials for Gmail OAuth2, Anthropic API, and Slack OAuth in the respective nodes.
  2. Update the “Config (edit me)” values with your offer/voice context, Slack channel name, and the Gmail label IDs for each category (not_now, out_of_office, unsubscribe, referral, objection, and review).
  3. Create the required Gmail labels and copy their label IDs into the config so each category is applied correctly.

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 - Overview

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

Block 2 - Sticky Note - Setup

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

Block 3 - Sticky Note - AI

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

Block 4 - Sticky Note - Route

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

Block 5 - New Email Reply

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

Block 6 - Config (edit me)

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

Block 7 - Classify Reply + Draft Response

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

Block 8 - Anthropic Chat Model

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

Block 9 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.2

Block 10 - Route by Category

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

Block 11 - Notify Slack

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

Block 12 - Create Gmail Draft

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

Block 13 - Label Not Now

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

Block 14 - Label Out Of Office

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

Block 15 - Label Unsubscribe

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

Block 16 - Label Referral

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

Block 17 - Label Objection

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

Block 18 - Label Review

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

Block 19 - Sticky Note - Setup1

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

3. Summary Table

Workflow Classify cold email replies and triage Gmail with Claude and Slack
Complexity advanced
Nodes 19
Categories Ticket Management, AI Summarization
Author Keith Uy
Published 11 Jun 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16289/16289.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 Classify cold email replies and triage Gmail with Claude and Slack do?

Quick Overview This workflow monitors Gmail for new email replies, uses Anthropic Claude to classify each reply and draft a suggested response, then routes interested replies to Slack and a Gmail d...

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.