Bidirectional ticket sync between Freshdesk and Linear with error logging
Needs changesWhat this workflow does
This workflow has 14 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). It uses only n8n's built-in nodes. It also calls api.linear.app over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).
- 🗺️ Map Freshdesk Fields to Linear (Function): runs custom JavaScript (legacy Function node)
- 📄 Map Linear to Freshdesk Fields (Function): runs custom JavaScript (legacy Function node)
- 🎯 Create Linear Issue (HTTP Request): calls api.linear.app
- 🔍 Check if Freshdesk Ticket ID Exists (If): checks a condition and branches into true / false
- ✅ Check Linear Creation Success (If): checks a condition and branches into true / false
- 🎫 Update Freshdesk Ticket (HTTP Request): calls an HTTP API
- ⚠️ Log Missing Ticket ID Error (Function): runs custom JavaScript (legacy Function node)
- 🔗 Link Freshdesk with Linear ID (HTTP Request): calls an HTTP API
- ❌ Log Linear Creation Error (Function): runs custom JavaScript (legacy Function node)
- ✅ Log Freshdesk Update Success (Function): runs custom JavaScript (legacy Function node)
…plus 1 more step. See the full node list below.
HTTP calls to: api.linear.app
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- Function (legacy) in 🗺️ Map Freshdesk Fields to Linear, ❌ Log Linear Creation Error, 🎉 Log Linear Creation Success…: replace with Code node, mode 'Run Once for All Items'.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| Function (legacy) 🗺️ Map Freshdesk Fields to Linear, ❌ Log Linear Creation Error, 🎉 Log Linear Creation Success, 📄 Map Linear to Freshdesk Fields, ⚠️ Log Missing Ticket ID Error, ✅ Log Freshdesk Update Success | Code node, mode 'Run Once for All Items' |
Nodes used (4)
- Function
n8n-nodes-base.function - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Webhook
n8n-nodes-base.webhook
From the author
How it works This workflow synchronizes support tickets in Freshdesk with issues in Linear, enabling smooth collaboration between support and development teams. It triggers on new or updated Freshdesk tickets, maps fields to Linear’s format, and creates…