AI Automation

AI Email Classifier & Slack Router

Reads incoming emails, has AI classify each one (support, sales, billing, HR and so on) and notifies the right team on Slack straight away.

The AI Email Classifier & Slack Router workflow on the n8n canvas, with its 11 nodes and connections
The workflow on the n8n canvas. Click to open it full size.

At a glance

Category
AI Automation
Nodes
11
Apps
Gmail, OpenAI, Slack
Price
Free
Download JSON
On this page

How it works

  1. A new email arrives in Gmail.
  2. AI classifies it into a category with a short summary.
  3. A switch sends it down the matching path.
  4. The responsible team or person is notified on Slack.

Use cases

  • Shared inboxes such as info@ and hello@
  • Small teams without a helpdesk
  • Faster lead and ticket response

What you need

This workflow connects to these apps.

  • Gmail
  • OpenAI
  • Slack

You'll need an n8n instance, on n8n Cloud or self-hosted, and these credentials. Our credentials guide shows how to create each one.

  • Gmail account
  • OpenAI account
  • Slack account

Setup

  1. Download the JSON and import it into n8n with Import from File, or copy it and paste it onto an empty canvas. The import guide walks through both.
  2. Connect the credentials listed above.
  3. Point the Sheets, Airtable, Drive, and Slack nodes at your own files and channels.
  4. Replace placeholder emails, phone numbers, and form links with your own.
  5. Times use the America/New York timezone and dates use MM/DD/YYYY. Change them if you need to, then test and activate. The setup guide covers this step by step.

Nodes

NodeType
Gmail TriggergmailTrigger
AI Agentagent
OpenAI Chat ModellmChatOpenAi
Structured Output ParseroutputParserStructured
Switchswitch
General Inquiryslack
Supportslack
Salesslack
Serviceslack
Billingslack
HR / Careersslack

Frequently asked questions

Reads incoming emails, has AI classify each one (support, sales, billing, HR and so on) and notifies the right team on Slack straight away. It's a 11-node n8n workflow.

An n8n instance, on n8n Cloud or self-hosted, and credentials for Gmail, OpenAI, and Slack. It uses only nodes that ship with n8n, so there's nothing else to install.

Download the JSON, then in n8n create a new workflow, open the menu in the top right, and choose Import from File. You can also copy the JSON and paste it onto an empty canvas.

Yes. It's free to download, import, and change, with no sign-up. You only pay for the apps it connects to, where those aren't free on your plan.

Keep exploring
  • n8n canvas of the AI Crop Advisory for Farmers workflow

    Agriculture27 nodes

    AI Crop Advisory for Farmers

    Gives farmers practical, AI-generated crop advice based on their soil, crop and live weather. Advice is delivered instantly on sign-up and refreshed daily over WhatsApp.

  • n8n canvas of the AI Shopify Product Builder with Review workflow

    E-commerce37 nodes

    AI Shopify Product Builder with Review

    Creates complete Shopify products from a photo or a brief. AI writes the copy, generates images and saves everything for review, and approved products are published automatically.

  • n8n canvas of the AI Social Media Posting with Approval workflow

    Marketing35 nodes

    AI Social Media Posting with Approval

    Generates posts and images for LinkedIn, X and Instagram with AI, holds them in a Google Sheet for approval, then publishes approved posts and saves the live links.