AutomationMart
Home/Browse/Auto-classify Gmail emails with AI and apply labels for inbox organization
n8n

Auto-classify Gmail emails with AI and apply labels for inbox organization

n8nn8n8 modulesv1.0
GmailOpenAIOutlook

Who is this for? Professionals and individuals who receive high volumes of emails, those who want to automatically organize their Gmail inbox using AI classification. What problem is this workflow solving? Manual email sorting is time-consuming and inconsistent. This workflow automatically categorizes incoming emails into 8 predefined labels (To respond, FYI, Comment, Notification, Meeting update, Awaiting reply, Actioned, Marketing) to help maintain inbox zero and pri

At a glance

Auto-classify Gmail emails with AI and apply labels for inbox organization is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Gmail, OpenAI, Outlook. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Gmail, OpenAI, Outlook
Modules
8
Price
Free
Version
v1.0
Auto-classify Gmail emails with AI and apply labels for inbox organization workflow diagram

About this workflow

Who is this for? Professionals and individuals who receive high volumes of emails, those who want to automatically organize their Gmail inbox using AI classification. What problem is this workflow solving? Manual email sorting is time-consuming and inconsistent. This workflow automatically categorizes incoming emails into 8 predefined labels (To respond, FYI, Comment, Notification, Meeting update, Awaiting reply, Actioned, Marketing) to help maintain inbox zero and prioritize responses. What this workflow does - Monitors Gmail for new incoming emails - Uses AI to analyze email content and classify into appropriate categories - Automatically applies the corresponding Gmail label - Runs on a schedule to process emails consistently Setup Prerequisites - n8n instance (cloud or self-hosted) - Gmail account with API access enabled - Access to an LLM provider (OpenAI, Anthropic Claude, or similar) Step-by-Step 1. Configure Gmail Credentials 2. Create Gmail Labels 3. Configure LLM Chain 4. Set Email Polling Schedule 5. Test the Workflow Create Gmail Labels Before running the workflow, create these 8 labels in your Gmail account: 1. To respond 2. FYI 3. Comment 4. Notification 5. Meeting update 6. Awaiting reply 7. Actioned 8. Marketing How to customize this workflow to your needs Modify Classification Categories To change the email categories, update two places: In the AI prompt (Basic LLM Chain node): In Gmail labels: Create corresponding labels in your Gmail account with the exact same names and numbering. Adjust Classification Rules The AI prompt contains specific rules for each category. To modify: - Edit the "Key classification rules" section in the LLM prompt - Add examples of emails that should go into each category - Specify edge cases and how they should be handled Change Email Sources Currently monitors all incoming emails. To filter specific emails: In the Gmail Trigger node, add filters such as: - from:specific-sender@domain.com - subject:contains-keyword - -label:already-processed You can also change this use Outlook Modify Polling Frequency - More frequent: Add multiple poll times (e.g., 9 AM, 12 PM, 6 PM) - Less frequent: Change to once daily or weekly - Real-time: Switch to webhook-based triggering (requires Gmail API setup) I choose daily for cost.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

AI-powered short-form video generator with OpenAI, Flux, Kling, and ElevenLabs

Who is this for? Content creators, digital marketers, and social media managers who want to automate the creation of short-form videos for platforms like TikTok, YouTube Shorts, and Instagram Reels without extensive video editing skills. What problem does this workflow solve? Creating engaging short-form videos consistently is time-consuming and requires multiple tools and skills. This workflow automates the entire process from ideation to publishing, significantly reducing the manual effo

Free

Multi-level WordPress blog generator with PerplexityAI research & OpenAI content

WordPress Auto-Blogging Pro v2 \- with DEEPER RESEARCH \- Advanced Content Automation (This version is an upgrade from v1: WordPress Auto-Blogging Pro \- with DEEP RESEARCH \- Content Automation Machine v1) Take your content automation to unprecedented depths\! This v2 template enhances the acclaimed "WordPress Auto-Blogging Pro \- with DEEP RESEARCH" by introducing Deeper Research, a multi-level research capability designed to generate exceptionally comprehensive, long-form content like detaile

Free

Find and add lookalike influencers to HubSpot with influencers.club and GPT-4o-mini

How it works: Find lookalikes to other creators and add to your CRM for influencer outreach and partnerships. Step by step workflow to discover similar creators to your best performers with multi social (Instagram, Tiktok, Youtube, Twitter, Onlyfans, Twitch and more) profiles, analytics and metrics using the influencers.club API, and add the contact records and data in Hubspot Set up: Hubspot (can be swapped for any CRM like Salesforce or Google Sheet) Influencers.club API key

Free

Upload large files to Dropbox from new emails in Gmail

Effortlessly manage your email attachments with this template! Every time a new email arrives in your Gmail account, Make will automatically upload any large files from that email to your Dropbox. This streamlined workflow ensures that you never lose important documents and keeps your email inbox clutter-free, while providing easy access to your files in the cloud. Perfect for users who frequently receive large attachments and want to maintain organization across their digital workspace.

Free

Automate lead qualification & routing with GPT-4o-mini, Google Sheets & HighLevel CRM

Description Automatically qualify and route new leads from a Google Sheet into your CRM with AI-powered scoring and instant sales notifications. Turn raw form submissions into prioritized opportunities—effortlessly. ⚡ What This Template Does - Monitors a Google Sheet for new form submissions. 📄 - Uses Azure OpenAI (GPT-4o-mini) to analyze lead details (value, stage, company) and generate action items. 🤖 - Parses the AI response into clean JSON for structured processing. 🗂️ - Saves qualifi

Free

Generate responses using 3 ChatGPT prompts for new rows in Google Sheets

This template generates responses for new Google Sheets rows using 3 ChatGPT prompts. Enhance data processing by adding AI-generated insights directly into your spreadsheet.

Free

Make outbound sales calls from Google Sheets using a Retell AI voice agent

This n8n workflow automates outbound phone calls to new leads using Retell AI, with built-in timezone detection to ensure you're only calling during business hours. Use cases include appointment setting, lead qualification, follow-up surveys, payment reminders, and sales outreach—anywhere you need to scale phone conversations without scaling headcount. Good to know - You'll need a Retell AI phone number and configured voice agent before using this workflow. - Retell AI offers $10 free credit whe

Free

n8n Workflow Error Alerts with Google Sheets, Telegram, and Gmail

This n8n workflow provides a robust error handling and notification system for your n8n workflows. When an error occurs, it automatically logs the error details to Google Sheets, sends a notification to a Telegram channel, and dispatches an email alert, ensuring you're immediately aware of any issues. How it works - Error Trigger: The workflow is activated whenever an error occurs in another n8n workflow. - Log Error (Google Sheets): Error details (e.g., workflow name, error message, timestamp)

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free