Automatically Categorize Gmail Messages with GPT-4 Mini Classification
Last edited 58 days ago
🛠️ Smart Email Classifier Workflow
Intelligent AI-powered email classification system that automatically sorts incoming Gmail messages into Business, Meetings, Cold Emails, and other categories using OpenAI.
⚡ Quick Setup
- Import this workflow into your n8n instance
- Setup your OpenAI credentials at: OpenAI api key
- Configure your Gmail credentials and you're ready to go: Google Cloud Console
- Activate the workflow to start automatic email classification
🔧 How it Works
- Gmail Trigger: Monitors incoming emails in real-time
- Text Classifier: AI-powered categorization using OpenAI Chat Model
- Smart Routing: Automatically sorts emails into predefined categories
- Gmail Integration: Adds appropriate labels and organizes emails automatically
- Fallback Handling: "No Operation" path for unclassifiable emails
Every email gets intelligently sorted into:
🏢 Business
- Work-related correspondence
- Client communications
- Project updates
📅 Meetings
- Meeting invitations and requests
- Calendar-related emails
- Scheduling communications
❄️ Cold Emails
- Sales outreach and pitches
- Unsolicited business proposals
- Marketing communications
🔀 Random
- Personal emails
- Newsletters
- Miscellaneous content
You may also like
New to n8n?
Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!





