Automate Zendesk to GitHub Issue Sync with n8n

Reduce manual work by automatically creating or updating GitHub issues from Zendesk tickets. This n8n workflow seamlessly synchronizes Zendesk ticket data with GitHub, saving hours and preventing data mismatches.
zendesk
github
webhook
+2
Workflow Identifier: 1452
NODES in Use: Webhook, Zendesk, Function, IF, GitHub
Automate Zendesk to GitHub sync with n8n

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What this workflow does

This workflow automatically connects Zendesk tickets with GitHub issues. It solves the problem of manually copying ticket details into GitHub and prevents duplicate issues. The result is faster updates for engineering teams and better tracking of user requests.

When a new Zendesk ticket is made, this system either creates a new GitHub issue or updates an existing one. It adds comments from Zendesk to GitHub and writes the issue number back to Zendesk for future reference.


Who should use this workflow

This workflow is useful for teams that handle customer support in Zendesk and use GitHub to track bugs or features. It helps support agents who spend time copying tickets to GitHub or engineering teams that face duplicate or missing issues.

Users need basic knowledge of API keys and a Zendesk setup with a custom field for GitHub issue numbers. Also, they must have GitHub repo access to create and comment on issues.


Tools and services used

  • n8n: The automation platform running the workflow.
  • Zendesk API: To get ticket details and update tickets with GitHub issue info.
  • GitHub API: To create issues and add comments on GitHub repositories.

Inputs, Processing, and Outputs

Inputs

  • Webhook event with new Zendesk ticket data.
  • Zendesk ticket ID from the webhook payload.
  • Custom field in Zendesk that stores GitHub issue number (custom field ID: 6721726848029).

Processing steps

  1. The Webhook node receives a new ticket event from Zendesk.
  2. The Zendesk node fetches complete info about the ticket using the ticket ID from the webhook.
  3. A Function node reads custom fields to find if there is an existing GitHub issue number saved.
  4. An IF node checks if the GitHub issue number exists.
  5. If no issue number exists, a GitHub node creates a new issue using the Zendesk ticket subject as the issue title.
  6. If the issue number exists, a GitHub node adds a comment to that existing issue with the latest Zendesk ticket comment.
  7. After creating a new issue, a Zendesk node updates the Zendesk ticket by writing the new GitHub issue number into the custom field.

Outputs

  • New or updated GitHub issue linked with the Zendesk ticket.
  • Zendesk ticket updated with the GitHub issue number for future tracking.
  • Automatic comments added from Zendesk tickets to GitHub issues.

Beginner step-by-step: How to use this workflow in n8n

1. Import the Workflow

  1. Download the workflow file using the Download button on this page.
  2. In the n8n editor, click on the menu and choose “Import from File”.
  3. Select the downloaded workflow file to import it.

2. Add Credentials and Update IDs

  1. Go to n8n Credentials and add your Zendesk API Key and GitHub API Key.
  2. In the Zendesk nodes, check the custom field ID for GitHub issue number matches your Zendesk setup. Update if needed.
  3. In the GitHub nodes, update the repository and owner names to your real GitHub repository.

3. Test the Workflow

  1. Use the webhook URL shown in the Webhook node and configure it in Zendesk to send new ticket events.
  2. Create a test ticket in Zendesk and watch the workflow run in n8n.
  3. Check if a new GitHub issue was created or updated and if the ticket has the issue number updated.

4. Activate the Workflow

  1. Once testing passes, click the toggle at the top right to activate the workflow for production use.
  2. Monitor runs occasionally using the n8n dashboard.
  3. For setup on your private server, see self-host n8n resources.

Customization ideas

  • Change the GitHub repository and owner to match your project.
  • Add labels or assignees in the GitHub issue creation node to assign issues automatically.
  • Modify the comment content in the GitHub comment node to include ticket priority, requester info, or links.

Common failures and fixes

GitHub API authentication error

This happens if API keys are wrong or expired. Fix by updating GitHub API credentials in n8n.

Zendesk ticket update fails

Check if the custom field ID is correct and ensure the Zendesk API user has permission to update tickets.

Workflow does not trigger

Verify the webhook URL in Zendesk is set to POST and matches the exact webhook path in the Webhook node.

Duplicate GitHub issues created

Make sure the custom field is updated correctly after issue creation. Retry the workflow to sync properly.


Summary and results

✓ Saves about 30 minutes of manual work per ticket.

✓ Prevents duplicate GitHub issues.

✓ Keeps GitHub issues updated with Zendesk comments.

→ Enables clear communication between support and engineering teams.

→ Improves bug fixing and feature delivery speed.


Automate Zendesk to GitHub sync with n8n

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

The workflow stores the GitHub issue number in a custom Zendesk ticket field. It uses this to find existing issues or create new ones automatically.
Yes. After importing the workflow, update the repository and owner fields in the GitHub nodes to match the desired GitHub repo.
Duplicates occur if the Zendesk custom field for GitHub issue number is not updated correctly. Fix by ensuring the workflow updates this field after issue creation.
Yes. Both Zendesk and GitHub require API Keys or tokens configured in n8n credentials to access their APIs securely.
Author
Written By
Vikash Kumar
Building AI agents, n8n workflows and end-to-end automation for 30+ Brands across India, the US, Europe, Dubai & Australia. 7+ years of Experience saving founders real hours every week - no code required.

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.