Skip to main content

Bidirectional ticket sync between Freshdesk and Linear with error logging

Workflow preview

Workflow preview
100%
Bidirectional ticket sync between Freshdesk and Linear with error logging preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 Freshd...

Best for

  • Content Creation automation workflows
  • Ticket Management automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.function, n8n-nodes-base.httprequest, n8n-nodes-base.if, n8n-nodes-base.webhook

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Avkash Kakdiya.

Original n8n.io source

1.1 Workflow description

Title
Bidirectional ticket sync between Freshdesk and Linear with error logging
Workflow name
Bidirectional ticket sync between Freshdesk and Linear with error logging

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 linked issues through Linear’s API. Reverse synchronization is also supported, so changes in Linear update the corresponding Freshdesk tickets. Comprehensive logging ensures success and error events are always tracked.

Step-by-step

1. Trigger the workflow

  • New Ticket Webhook – Captures new Freshdesk tickets for issue creation.
  • Update Ticket Webhook – Detects changes in existing tickets.
  • Linear Issue Updated Webhook – Listens for updates from Linear.

2. Transform and map data

  • Map Freshdesk Fields to Linear – Converts priority, status, title, and description for Linear.
  • Map Linear to Freshdesk Fields – Converts Linear state, priority, and extracts ticket ID for Freshdesk updates.

3. Perform API operations

  • Create Linear Issue – Sends GraphQL mutation to Linear API.
  • Check Linear Creation Success – Validates issue creation before linking.
  • Link Freshdesk with Linear ID – Updates Freshdesk with Linear reference.
  • Update Freshdesk Ticket – Pushes Linear updates back to Freshdesk.

4. Manage logging and errors

  • Log Linear Creation Success – Records successful ticket-to-issue sync.
  • Log Linear Creation Error – Captures and logs issue creation failures.
  • Log Freshdesk Update Success – Confirms successful reverse sync.
  • Log Missing Ticket ID Error – Handles missing ticket reference errors.

Why use this?

  • Keep support and development teams aligned with real-time updates.
  • Eliminate manual ticket-to-issue handoffs, saving time and reducing errors.
  • Maintain full visibility with detailed success and error logs.
  • Enable bidirectional sync between Freshdesk and Linear for true collaboration.
  • Improve response times by ensuring both teams always work on the latest data.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Webhook Triggers Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Data Transformation Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - API Operations Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Logging Management Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - 🗺️ Map Freshdesk Fields to Linear

Type / Role
n8n-nodes-base.function - function
Config choices
Version 1

Block 6 - 🎯 Create Linear Issue

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4

Block 7 - ✅ Check Linear Creation Success

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 8 - 🔗 Link Freshdesk with Linear ID

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4

Block 9 - ❌ Log Linear Creation Error

Type / Role
n8n-nodes-base.function - function
Config choices
Version 1

Block 10 - 🎉 Log Linear Creation Success

Type / Role
n8n-nodes-base.function - function
Config choices
Version 1

Block 11 - 🆕 New Ticket Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2.1

Block 12 - 📄 Update Ticket Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2.1

Block 13 - Webhook Trigger Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Logging Error Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - 🎣 Linear Issue Updated Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 1

Block 16 - 📄 Map Linear to Freshdesk Fields

Type / Role
n8n-nodes-base.function - function
Config choices
Version 1

Block 17 - 🔍 Check if Freshdesk Ticket ID Exists

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 18 - 🎫 Update Freshdesk Ticket

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4

Block 19 - ⚠️ Log Missing Ticket ID Error

Type / Role
n8n-nodes-base.function - function
Config choices
Version 1

Block 20 - ✅ Log Freshdesk Update Success

Type / Role
n8n-nodes-base.function - function
Config choices
Version 1

Block 21 - API Operations Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Bidirectional ticket sync between Freshdesk and Linear with error logging
Complexity advanced
Nodes 22
Categories Content Creation, Ticket Management
Author Avkash Kakdiya
Published 18 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8702/8702.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Bidirectional ticket sync between Freshdesk and Linear with error logging do?

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 Freshd...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Ticket Management use case.