π― Automatically categorize Gmail messages with GPT-4 mini classification
β‘ 1,198 views Β· π― AI Summarization & Classification
Description
π οΈ 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
π Nodes Used
Gmail, Gmail Trigger, OpenAI Chat Model, Text Classifier
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File