FM
FlowMarket
Email & Outreach Intermediate ⚡ 9 n8n Nodes

Sort Gmail emails with GPT 4o into action required and no action

🧾 Description: This automation uses GPT-4o to scan unread Gmail emails and intelligently classify them as: Action → Requires your attention (reply, review, ...

🔌 Nodes & Integrations Used (3)

Lm Chat Open Ai Gmail Text Classifier

📖 Implementation & Setup Guide

🧾 Description:

This automation uses GPT-4o to scan unread Gmail emails and intelligently classify them as:

Action → Requires your attention (reply, review, schedule, or respond)

No Action → Informational or promotional; no action needed

The result? You eliminate inbox noise and gain a clear daily routine: only check what's in Action Required. ⚙️ How It Works:

Trigger: Runs on a customizable schedule

Fetch Emails: Pulls unread messages from Gmail

Classify via GPT-4o: Determines if each email needs action or not

Sort Emails:

Labels actionable emails as Action Required

Labels non-actionable ones as No Action

Removes the Inbox label to clean your primary inbox view

✅ Emails stay in your account—just better organized

🚀 How to Use:

Import the workflow into your n8n instance

Set up Gmail and OpenAI credentials

Create Gmail labels:

Action Required

No Action

Activate the workflow

Start your day by checking only the Action Required label

📦 Requirements:

n8n (self-hosted or cloud)

Gmail OAuth2 account

OpenAI API key (GPT-4o or GPT-4o-mini)

Gmail labels: Action Required, No Action

💡 Why It Matters:

Stop manually filtering emails. This workflow helps you focus only on what matters while keeping everything else out of your way—without deleting or archiving anything.

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Sort_Gmail_emails_with_GPT_4o_into_action_required_and_no_action.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related Email & Outreach Workflows

View All in Email & Outreach →