Gmail Email Classification (Unverified)
detail.loadingPreview
Automatically classifies incoming Gmail emails into predefined categories and applies corresponding labels.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This workflow automatically classifies incoming emails from your Gmail inbox into custom categories like 'High Priority', 'KS Work Related', or 'Promotion'. It leverages AI to determine the most appropriate category and then applies the corresponding Gmail label to the email, helping you organize your inbox more efficiently.
Key Features
- Integrates with Gmail to fetch new emails.
- Utilizes AI (Google Gemini) for intelligent email classification.
- Supports custom categories and keywords for classification.
- Automatically applies Gmail labels based on classification.
- Offers flexibility to configure AI models and agent instructions.
How To Use
- Connect your Gmail Account: Configure the 'Gmail Trigger' node with your Gmail OAuth2 credentials.
- Configure AI Model: Choose and configure your preferred AI model (e.g., Google Gemini) in the 'Google Gemini Chat Model' node.
- Define Classification Categories: In the 'Classification Agent' node, define your custom categories, their descriptions, and relevant keywords.
- Map Gmail Labels: For each category, create a corresponding label in your Gmail inbox and note its
labelId. - Configure Label Application: In the 'Add Label...' nodes, update the
labelIdsparameter with the specific IDs for each category's Gmail label. - Run the workflow: The workflow will now trigger for new incoming emails, classify them, and apply the relevant labels.
Apps Used
Workflow JSON
{
"id": "031629b1-0bd3-4b00-bfdc-6dfc99af0d78",
"name": "Gmail Email Classification (Unverified)",
"nodes": 0,
"category": "Gmail",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 031629b1-0bd3...
About the Author
DevOps_Master_X
Infrastructure Expert
Specializing in CI/CD pipelines, Docker, and Kubernetes automations.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Gmail AI Auto-Responder: Create Draft Replies
Automatically drafts replies to incoming Gmail messages using AI.
Gmail Resume Screener to Sheets
Automatically screen resumes from Gmail, extract candidate details, and score them using AI, then save the results to Google Sheets.
Gmail Message Tools
Perform various operations on individual Gmail messages.
Gmail Email to Spreadsheet Export
Export emails from Gmail to a CSV spreadsheet.
Gmail Community Contributed Template (Unverified)
Fetches emails from Gmail, uploads attachments to Google Drive, and generates a shareable link.
Robust Concurrency Control for n8n Workflows with Redis
Prevent simultaneous execution of critical n8n workflows or tasks using a centralized, Redis-backed locking mechanism. This reusable utility workflow ensures data integrity and resource management by allowing other workflows to acquire, check, and release locks.