NEW RELEASEDownload the n8n Starter Pack (5 Workflows + Docker Setup) for free — or save 20% on Pro Kits with DEVHUB20.
DevHubTools Robot Mascot
DevHubTools
Back to Workflow Library
Email & InboxDifficulty: Beginner 5 Nodes · Verified 2026-10-18

3-Node Gmail AI Triage & Slack Executive Summarizer

Automatically classify incoming support or client emails, extract action items with structured JSON, and post high-priority summaries to Slack.

Interactive Pipeline Architecture

Click any node below to inspect its configuration

Integrations: Gmail → OpenAI / Claude → Slack
Active Node: Gmail Trigger

Polls unread threads labeled 'Client' or 'Support'

Node Role: Trigger

Step-by-Step Setup Instructions

  1. 1Download the workflow JSON below and import it into n8n.
  2. 2Connect your Gmail OAuth2 credential and select your target label.
  3. 3Add your OpenAI or Anthropic API key to the AI Agent node.
  4. 4Select your destination Slack channel and activate the workflow.

Connected Services & Credentials

GmailOpenAI / ClaudeSlack

Production Error-Handling Notes

Includes a fallback branch if the LLM response times out (>15s), forwarding the raw email subject to Slack with a warning tag.

gmail-ai-executive-summarizer.n8n.json
{
  "name": "DevHubTools - Gmail AI Executive Summarizer",
  "nodes": [
    {
      "id": "1",
      "name": "Gmail Trigger",
      "type": "n8n-nodes-base.gmailTrigger",
      "position": [
        220,
        300
      ]
    },
    {
      "id": "2",
      "name": "AI Structured Summarizer",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        460,
        300
      ]
    },
    {
      "id": "3",
      "name": "Validate Priority JSON",
      "type": "n8n-nodes-base.code",
      "position": [
        700,
        300
      ]
    },
    {
      "id": "4",
      "name": "Slack Priority Alert",
      "type": "n8n-nodes-base.slack",
      "position": [
        940,
        300
      ]
    }
  ],
  "connections": {
    "Gmail Trigger": {
      "main": [
        [
          {
            "node": "AI Structured Summarizer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Structured Summarizer": {
      "main": [
        [
          {
            "node": "Validate Priority JSON",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validate Priority JSON": {
      "main": [
        [
          {
            "node": "Slack Priority Alert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Full Production Bundle

Production Automation Pack ($39)

When automations handle real customer orders, CRM syncs, or AI billing, a single rate-limit error can lose money. The Production Automation Pack adds enterprise reliability patterns to your workflows: idempotency checks, human-in-the-loop Slack approval buttons, error sub-workflows, and dead-letter replay.

Inspect Files
3-Node Gmail AI Triage & Slack Executive Summarizer — Production n8n Workflow Template | DevHubTools