Templates / Route Gmail support emails to Zendesk with spam filtering and duplicate checks

Route Gmail support emails to Zendesk with spam filtering and duplicate checks

Ready for 3.0

by WeblineIndia ✓ · 58 views · created 2026-02-10 · Ticket Management

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-10-19.

What this workflow does

This workflow has 9 nodes and runs on Gmail events. Along the way it connects Gmail and Zendesk.

How it runs

Trigger: On Gmail events.

  1. Spam Detection & Filtering (Code): runs custom JavaScript code
  2. Extract & Normalize Email Data (Edit Fields (Set)): sets 5 fields: customer_email, subject, description…
  3. Auto-Tag Ticket Based on Email Content (Code): runs custom JavaScript code
  4. Zendesk: get many
  5. Merge: merges the data from its input branches
  6. Detect Duplicate Ticket by Subject (Code): runs custom JavaScript code
  7. Is This a New Ticket? (If): checks a condition and branches into true / false
  8. Create Zendesk Support Ticket (Zendesk): uses Zendesk

Services it uses

GmailZendesk

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) (New Support Email Trigger).

Nodes used (6)

From the author

(Retail Automation) Gmail Trigger → Spam Filter → Duplicate Check → Zendesk Ticket Creation This workflow automatically converts incoming support emails from Gmail into structured Zendesk tickets. It filters spam, extracts key customer details, auto-tags…

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