Route Gmail support emails to Zendesk with spam filtering and duplicate checks
Ready for 3.0Ready 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.
- Spam Detection & Filtering (Code): runs custom JavaScript code
- Extract & Normalize Email Data (Edit Fields (Set)): sets 5 fields: customer_email, subject, description…
- Auto-Tag Ticket Based on Email Content (Code): runs custom JavaScript code
- Zendesk: get many
- Merge: merges the data from its input branches
- Detect Duplicate Ticket by Subject (Code): runs custom JavaScript code
- Is This a New Ticket? (If): checks a condition and branches into true / false
- Create Zendesk Support Ticket (Zendesk): uses Zendesk
Services it uses
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)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - Zendesk
n8n-nodes-base.zendesk - Merge
n8n-nodes-base.merge - If
n8n-nodes-base.if
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…