AI Email Classification: Gmail Drafts & Slack Alerts

Automates incoming email processing with OpenAI classification into categories, adds Gmail labels, creates draft replies, and sends targeted Slack notifications.

n8n
AI Email Classification: Gmail Drafts & Slack Alerts

This workflow intelligently manages incoming emails labeled 'AI-Agent' by using OpenAI to classify them into categories like Inquiry, Support, Newsletter, or Action Item. It automatically applies corresponding Gmail labels, generates personalized draft responses for Support and Inquiry emails, and dispatches Slack notifications or summaries for Action Items and Newsletters, streamlining email triage without manual intervention.

The process begins with a Gmail trigger monitoring specific labels, followed by an AI Agent node for content analysis and classification. Subsequent nodes parse the AI output to route actions: label assignment via Gmail, draft creation with customizable templates, and Slack integration for real-time alerts to teams. This setup requires Gmail and OpenAI credentials, plus optional Slack OAuth.

Benefits include massive time savings for busy professionals, reduced email overload, improved response times with AI-drafted replies, and enhanced team collaboration through Slack. It minimizes errors in categorization and ensures critical emails like action items never get missed.

Ideal use cases: Customer support teams handling inquiries, sales handling leads, marketing managing newsletters, or any business with high email volume. Customize categories, templates, and channels to fit your needs, making it scalable for solopreneurs to enterprises.

$22.99
Last updated October 17, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Surveys & Forms workflows

More from Mateusz Rasmussen

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.