Templates / Auto-categorize Gmail emails with AI and send prioritized Slack alerts

Auto-categorize Gmail emails with AI and send prioritized Slack alerts

Ready for 3.0

by Matt Chong | n8n Creator ✓ · 563 views · created 2025-08-20 · AI Summarization, Multimodal AI

Ready 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 7 nodes and runs on Gmail events. Along the way it connects Gmail, OpenAI Chat Model and Slack.

How it runs

Trigger: On Gmail events.

  1. Get Email (Gmail): get
  2. AI Agent: runs an AI agent
  3. Routing Map (Edit Fields (Set)): sets 2 fields: label, slackChannel
  4. Send Notification to Slack (Slack): uses Slack
  5. OpenAI Chat Model: uses OpenAI Chat Model, with model: AI Agent
  6. Structured Output Parser: uses Structured Output Parser, with output parser: AI Agent

Services it uses

GmailOpenAI Chat ModelSlack

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.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Trigger on Unread Email).

Nodes used (7)

From the author

Who is this for? - Teams using Gmail and Slack who want to streamline email handling. - Customer support, sales, and operations teams that want emails sorted by topic and priority automatically. - Anyone tired of manually triaging customer emails. What does…

Excerpt from Matt Chong | n8n Creator's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.