Templates / Auto-label Gmail messages with custom categories using GPT-4o-mini

Auto-label Gmail messages with custom categories using GPT-4o-mini

Needs changes

by Ashish Kumar Swain ✓ · 90 views · created 2025-08-16 · AI Summarization, Multimodal AI

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: Cron. 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 8 nodes and runs on a schedule (legacy Cron node). Along the way it connects OpenAI Chat Model and Gmail.

How it runs

Trigger: On a schedule (legacy Cron node).

  1. Fetch New Emails (Gmail): uses Gmail
  2. Email Classifier (Text Classifier): classifies text into categories with AI, with model: OpenAI Chat Model
  3. Job Opportunity (Gmail): uses Gmail
  4. Application Status (Gmail): uses Gmail
  5. Others (Gmail): uses Gmail
  6. Enquiries (Gmail): uses Gmail

Services it uses

OpenAI Chat ModelGmail

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • Cron in Daily Email Check: replace with Schedule Trigger.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →

Removed in 3.0Replace with
Cron
Daily Email Check
Schedule Trigger

Nodes used (4)

From the author

Why settle for Gmail’s default tabs when AI can sort your inbox your way? Who is this for? Job seekers, freelancers, and students who receive job-related emails and want them auto-sorted into labels Use case - Problem: Job emails get buried.Manually reading,…

Excerpt from Ashish Kumar Swain's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.