AutomationMart
Home/Browse/Automatically classify and label Gmail emails with Google Gemini AI
n8n

Automatically classify and label Gmail emails with Google Gemini AI

n8nn8n9 modulesv1.0
GmailOpenAIGemini

Description Quickly organize your inbox with AI! This simple workflow automatically classifies incoming emails into different categories — like High Priority, Work Related, or Promotions — and applies Gmail labels accordingly. Setup takes less than 2 minutes, and it runs 24/7, helping you stay focused on what matters most without manual sorting. Tools/Services Needed Gmail: To trigger the workflow and label emails. Google Gemini (or any LLM Model): To intelligently classify email content. How

At a glance

Automatically classify and label Gmail emails with Google Gemini AI is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Gmail, OpenAI, Gemini. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Gmail, OpenAI, Gemini
Modules
9
Price
Free
Version
v1.0
Automatically classify and label Gmail emails with Google Gemini AI workflow diagram

About this workflow

Description Quickly organize your inbox with AI! This simple workflow automatically classifies incoming emails into different categories — like High Priority, Work Related, or Promotions — and applies Gmail labels accordingly. Setup takes less than 2 minutes, and it runs 24/7, helping you stay focused on what matters most without manual sorting. Tools/Services Needed Gmail: To trigger the workflow and label emails. Google Gemini (or any LLM Model): To intelligently classify email content. How It Works 1. Gmail Trigger: Detects every new incoming email. 2. Text Classifier Node: Classifies the email content into predefined categories. 3. Google Gemini Chat Model: Provides the AI-powered understanding behind the classification. 4. Conditional Labeling: - If the email is High Priority, label it accordingly. - If it’s Work Related (e.g., internal emails), apply the work label. - If it’s a Promotion, sort it into the promotions label. 5. Gmail Labeling: Automatically adds the correct label to the email. Setup Instructions Connect your Gmail account to n8n. Connect your Google Gemini (or other LLM) credentials. Customize the categories and labels if needed. Activate the workflow — and that's it! Notes You can easily add more categories (like "Finance," "Newsletters," etc.) by adjusting the classification prompt. Works best with a clean and minimal set of categories to avoid overlap. Can be adapted to work with any other large language model (OpenAI, Claude, etc.) if preferred.

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

Multilingual voice & text Telegram bot with ElevenLabs TTS and LangChain agents

This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Telegram Voice AI Assistant This n8n template creates a multimodal Telegram bot that dynamically responds to users: - Replies with voice when receiving voice messages (using ElevenLabs TTS) - Replies with text for text-based queries - Supports custom AI tools (e.g., crypto APIs, databases, or custom functions) Built with LangChain Agents, it can integrate any externa

Free

Find top-performing Instagram Reels & save insights to Notion with Gemini & Apify

This workflow contains community nodes that are only compatible with the self-hosted version of n8n. This template helps you discover trending Instagram Reels from competitors or any public profiles you choose. 📺 How It Works The workflow automatically monitors selected Instagram accounts using Apify, pulls recent Reels, and analyzes their performance. It calculates engagement levels, detects early “hot” content, translates text if needed, and organizes all results into a structure

Free

Discover hidden website API endpoints using regex and AI

What it is for This workflow helps to automatically discover undocumented API endpoints by analysing JavaScript files from the website's HTML code. When building automation for platforms without public APIs, we face a significant technical barrier. In a perfect world, every service would offer well-documented APIs with clear endpoints and authentication methods. But the reality is different. Before we resort to complex web scraping, let's analyse the architecture of the platform and check whethe

Free

Automate financial operations with O3 CFO & GPT-4.1-mini finance team

Automate Financial Operations with O3 CFO & GPT-4.1-mini Finance Team This workflow builds a virtual finance department inside n8n. At the center is a CFO Agent (O3 model) who acts like a strategic leader. When a financial request comes in, the CFO interprets it, decides the strategy, and delegates to the specialist agents (each powered by GPT-4.1-mini for cost efficiency). --- 🟢 Section 1 – Entry & Leadership Nodes: 💬 When chat message received → Entry point for

Free

Evaluate AI agent response correctness with OpenAI and RAGAS methodology

This n8n template demonstrates how to calculate the evaluation metric "Correctness" which in this scenario, measures the compares and classifies the agent's response against a set of ground truths. The scoring approach is adapted from the open-source evaluations project RAGAS and you can see the source here How it works This evaluation works best where the agent's response is allowed to be more verbose and conversational. For our scoring, we classify the agent's response into 3 buckets: True

Free

Send a notification about a new email in Gmail by Pushcut

Watch Gmail account and if there is a new e-mail received, send a notification to Pushcut.

Free

Sync Fathom meeting summaries and action items with GoHighLevel contacts

This n8n template automatically syncs your Fathom AI meeting summaries, recordings, and action items directly into GoHighLevel CRM contacts. Fathom has native integrations for HubSpot and Salesforce, but not for GoHighLevel. This workflow fills that gap, giving GHL users the same automated meeting-to-CRM sync that other platforms enjoy. Perfect for sales teams, agencies, and consultants who want to keep their CRM updated without manual data entry. Good to know - Only external attendees are synce

Free

Auto-publish web articles as social posts for X, LinkedIn, Reddit & Threads with Gemini AI

This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Description This automation template is designed for content curators, marketers, and anyone looking to supercharge their content sharing strategy. It transforms any web article, blog post, or news link into a series of platform-specific social media posts, generated by AI. It also captures a live screenshot of the webpage to use as the post image, automating the entire process of publishi

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