Templates / Label and triage support emails in Gmail with DeepSeek or OpenAI

Label and triage support emails in Gmail with DeepSeek or OpenAI

Ready for 3.0

by eason ✓ · 19 views · created 2026-07-24 · Ticket Management, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 6 nodes and runs on Gmail events. Along the way it connects Gmail. It also calls api.deepseek.com over HTTP.

How it runs

Trigger: On Gmail events.

  1. Filter Noise Emails (Code): runs custom JavaScript code
  2. If: checks a condition and branches into true / false
  3. Post to AI Classifier API (HTTP Request): calls api.deepseek.com (POST)
  4. Map Classification to Label (Code): runs custom JavaScript code
  5. Apply Label in Gmail (Gmail): add labels

Services it uses

Gmail

HTTP calls to: api.deepseek.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (When Email Received).

Nodes used (5)

From the author

Quick overview This workflow monitors a Gmail inbox, filters out auto-replies and mailing-list noise, classifies each incoming email with DeepSeek (or OpenAI-compatible chat completions), and applies a corresponding Gmail label (order status, product…

Excerpt from eason'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.