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.

On this page
How it works
- A new email arrives in Gmail.
- AI classifies it into a category with a short summary.
- A switch sends it down the matching path.
- 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
- 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.
- Connect the credentials listed above.
- Point the Sheets, Airtable, Drive, and Slack nodes at your own files and channels.
- Replace placeholder emails, phone numbers, and form links with your own.
- 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
| Node | Type |
|---|---|
| Gmail Trigger | gmailTrigger |
| AI Agent | agent |
| OpenAI Chat Model | lmChatOpenAi |
| Structured Output Parser | outputParserStructured |
| Switch | switch |
| General Inquiry | slack |
| Support | slack |
| Sales | slack |
| Service | slack |
| Billing | slack |
| HR / Careers | slack |
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.



