Templates / Bidirectional ticket sync between Freshdesk and Linear with error logging

Bidirectional ticket sync between Freshdesk and Linear with error logging

Needs changes

by Avkash Kakdiya ✓ · 114 views · created 2025-09-18 · Content Creation, Ticket Management

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: Function (legacy). 1 breaking item(s) found. Static check, last run 2026-10-19.

What 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).

  1. 🗺️ Map Freshdesk Fields to Linear (Function): runs custom JavaScript (legacy Function node)
  2. 📄 Map Linear to Freshdesk Fields (Function): runs custom JavaScript (legacy Function node)
  3. 🎯 Create Linear Issue (HTTP Request): calls api.linear.app
  4. 🔍 Check if Freshdesk Ticket ID Exists (If): checks a condition and branches into true / false
  5. ✅ Check Linear Creation Success (If): checks a condition and branches into true / false
  6. 🎫 Update Freshdesk Ticket (HTTP Request): calls an HTTP API
  7. ⚠️ Log Missing Ticket ID Error (Function): runs custom JavaScript (legacy Function node)
  8. 🔗 Link Freshdesk with Linear ID (HTTP Request): calls an HTTP API
  9. ❌ Log Linear Creation Error (Function): runs custom JavaScript (legacy Function node)
  10. ✅ 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.0Replace 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)

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…

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