AutomationMart
Home/Browse/Smart Gmail Labeling Automation with Text Classifier and GPT-5
n8n

Smart Gmail Labeling Automation with Text Classifier and GPT-5

n8nn8n8 modulesv1.0
GmailOpenAI

What this workflow does This workflow automatically organizes your Gmail inbox by fetching recent emails, analyzing their content with AI, and applying the appropriate Gmail labels based on the results. Step by step: 1. Schedule Trigger runs the workflow automatically at your chosen interval 2. Gmail Fetch retrieves the latest emails from your inbox 3. Loop Over Items processes each email individually 4. AI Text Classifier analyzes email subject and body content to

At a glance

Smart Gmail Labeling Automation with Text Classifier and GPT-5 is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Gmail, OpenAI. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Gmail, OpenAI
Modules
8
Price
Free
Version
v1.0
Smart Gmail Labeling Automation with Text Classifier and GPT-5 workflow diagram

About this workflow

What this workflow does This workflow automatically organizes your Gmail inbox by fetching recent emails, analyzing their content with AI, and applying the appropriate Gmail labels based on the results. Step by step: 1. Schedule Trigger runs the workflow automatically at your chosen interval 2. Gmail Fetch retrieves the latest emails from your inbox 3. Loop Over Items processes each email individually 4. AI Text Classifier analyzes email subject and body content to determine the right category 5. Add Labels applies the matching Gmail label according to the AI classification 6. Loop Back continues until all emails are processed and organized How to set up 1. Connect your Gmail account to the Gmail nodes for fetching emails and adding labels 2. Add your OpenAI API key to the OpenAI Chat Model node for AI-powered classification 3. Configure the schedule trigger to run at your preferred interval (default: every 5 minutes) 4. Customize email categories in the Label Classifier node based on your organizational needs 5. Set up Gmail labels that match your classification categories in your Gmail account 6. Adjust the time range for fetching emails (default: last 5 minutes) and email limit (default: 10) 7. Test the workflow with a few sample emails to ensure proper classification and labeling 8. Monitor the workflow execution to verify emails are being processed and labeled correctly How to customize this workflow to your needs Adjust classification categories: modify the Label Classifier node to include categories like "Work", "Bills", "Social", "Newsletters", or any custom categories you need Change time intervals: customize the schedule trigger to run hourly, daily, or at specific times based on your email volume Add more label actions: create additional Gmail label nodes for more granular categorization (urgent, follow-up, archive, etc.) Need help customizing? Contact me for consulting and support: 📧 billychartanto@gmail.com

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

Create AI screencast videos with Claude, VEED, OpenAI and automated slides

Create AI screencast videos with VEED and automated slides Overview This n8n workflow automatically generates presentation-style "screen recording" videos with AI-generated slides and a talking head avatar overlay. You provide a topic and intention, and the workflow handles everything: scriptwriting, slide generation, avatar creation, voiceover, and video composition. Output: Horizontal (16:9) AI-generated videos with animated slides as the main content and a lip-synced avatar in picture-in-pict

Free

Lead research report emails

Overview This workflow auto-generates a personalized research report on any prospect who books a call with you—using their LinkedIn profile and advanced web research. When a call is booked in your calendar, the system looks up the lead’s LinkedIn URL from a Google Sheets database. That profile is then scraped using Relevance AI to extract posts, experiences, and education. It also runs a deep-dive query on the person using Perplexity to uncover relevant news, insights, and context. This str

Free

Detect misinformation and manipulation risks with GPT-4o agents and Google Sheets

How It Works This workflow automates misinformation and information manipulation detection using a coordinated multi-agent AI architecture. It is designed for trust and safety teams, media analysts, researchers, and platform moderators who need scalable, structured threat assessment. The pipeline begins when a trigger initiates content analysis. A central Misinformation Detection supervisor agent coordinates three specialised sub-agents: a Narrative Pattern Detector that identifies recurring dis

Free

🗼 AI powered supply chain control tower with BigQuery and GPT-4o

Tags: Supply Chain, Logistics, Control Tower Context Hey! I’m Samir, a Supply Chain Engineer and Data Scientist from Paris, and the founder of LogiGreen Consulting. We design tools to help companies improve their logistics processes using data analytics, AI, and automation—to reduce costs and minimize environmental impact. > Let’s use N8N to build smarter and more sustainable supply chains! 📬 For business inquiries, you can add me on LinkedIn Who is this template for? This workflow template i

Free

Generate weekly supply chain OTIF reports and AI analysis with Notion and GPT-4o

Tags: Logistics, Supply Chain, OTIF, KPI Tracking, Performance Management, AI Analysis, Notion Context Hi! I'm Samir, Supply Chain Engineer, Data Scientist based in Paris, and founder of LogiGreen. > Let's use AI with n8n to automate supply chain performance tracking! Tracking On-Time In-Full (OTIF) delivery performance is critical for retail logistics, but manually compiling data, computing KPIs, and writing analysis reports is time-consuming and error-prone. []( This workflow automates the

Free

Edit & deliver images with DALL-E 2, Google Drive & Telegram messaging

AI Image Editor with Form Upload + Telegram Delivery 🚀 Who’s it for? 👥 This workflow is built for content creators, social media managers, designers, and agencies who need fast, AI-powered image editing without the hassle. Whether you're batch-editing for clients or spicing up personal projects, this tool gets it done — effortlessly. What it does 🛠️ A seamless pipeline that: 📥 Accepts uploads + prompts via a clean form ☁️ Saves images to Google Drive automatically 🧠 Edits images with OpenAI’s im

Free

Generate invoices and send AI-summarized reminders with Jotform and QuickBooks

Generate Invoices and Send Reminders for Customers with Jotform and QuickBooks This workflow automates the entire process of receiving a product/service order, checking or creating a customer in QuickBooks Online (QBO), generating an invoice, emailing it — all triggered by a form submission (via Jotform), and sending invoice reminders. How It Works 1. Receive Submission Triggered when a user submits a form. Collects data like customer details, selected product/service, etc. 2. Check If Custome

Free

Onboard employees from Google Forms with Slack, Jira, and GitHub access

How it works 1. New Google Form response triggers the workflow 2. Checks if employee was already onboarded (prevents duplicates) 3. Adds user to department-specific Slack channel 4. If in Software department, grants GitHub repo access 5. Invites user to Jira and creates an onboarding task 6. Updates Google Sheet status to "Completed" Set up steps Estimated setup time: 10-15 minutes 1. Connect Google Sheets (2 min) - Update sheet ID in trigger and update nodes 2. Configure Slack (3 min) -

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