π« Automate email management with OpenAI classification, Gmail drafts & Slack alerts
β‘ 1,662 views Β· π« Ticket Management & Triage
Description
What it does
This workflow automatically processes incoming emails with intelligent AI classification, creating draft responses and sending Slack notifications based on email content.
How it works
- Monitors emails with the βAI-Agentβ label
- AI classification into categories: Inquiry, Support, Newsletter, Action Item
- Adds appropriate labels to emails automatically
- Creates draft replies for Support and Inquiry emails
- Sends Slack notifications for Action Items and Newsletter summaries
Setup Requirements
- Gmail OAuth2 credentials configured
- OpenAI API credentials (or other AI provider)
- Slack OAuth2 credentials (if notifications desired)
- Gmail labels created (see setup instructions below)
How to customize
- Modify classification categories in the AI Agent
- Adjust label mappings in the Parse Classification node
- Customize draft response templates
- Configure different Slack channels for different email types
π Nodes Used
Slack, Gmail, Gmail Trigger, AI Agent, OpenAI Chat Model
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File