Sync HubSpot Companies with Zendesk Automatically Using n8n

Struggling with keeping HubSpot and Zendesk company data in sync? This n8n workflow automates synchronization of recently modified HubSpot companies with Zendesk organizations, preventing data inconsistencies and saving hours of manual work.
hubspot
zendesk
merge
+3
Workflow Identifier: 1455
NODES in Use: cron, functionItem, hubspot, zendesk, merge, if
Sync HubSpot with Zendesk using n8n

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

Learn how to Build this Workflow with AI:

What This Workflow Does

This workflow checks for company changes in HubSpot every 5 minutes and copies those changes to Zendesk organizations.
It stops manual updates and errors.
The user gets up-to-date company data on both sides without extra work.

The workflow fetches the last time it ran to only get new changes, gets HubSpot companies changed since then, and pulls all Zendesk organizations.
It compares company names to find matches.
If a company is already in Zendesk, it updates the info.
If it is missing, it adds the company as a new organization.
This keeps data synced regularly without mistakes or wasted time.


Tools and Services Used

  • n8n: Workflow automation platform.
  • HubSpot API: Provides company data and change history.
  • Zendesk API: Accesses and updates organization data.

Inputs, Processing Steps, and Outputs

Inputs

  • Last execution timestamp saved in workflow static data.
  • Recently modified companies from HubSpot filtered by last execution time.
  • All existing Zendesk organizations.

Processing Steps

  • Compare all HubSpot companies and Zendesk organizations by company name.
  • Check if a Zendesk organization already exists for a HubSpot company.
  • Update Zendesk organizations if company info has changed.
  • Create new Zendesk organizations for missing HubSpot companies.
  • Save the current run time as the last execution timestamp for the next run.

Outputs

  • Updated Zendesk organizations matching HubSpot changes.
  • New Zendesk organizations created from new HubSpot companies.
  • Fast, accurate, and automatic syncing of company data between HubSpot and Zendesk.

Who Should Use This Workflow

This is best for teams managing customer info in both HubSpot and Zendesk.
Anyone who spends time retyping or copying company details will save hours and reduce mistakes.

Users who want automatic updates and better data matching between CRM and support tools will find this helpful.
It fits companies who want to keep customer data consistent with little manual work.


Beginner Step-by-Step: How to Use This Workflow in n8n

Step 1: Download and Import

  1. Click the Download button on this page to get the workflow file.
  2. Open n8n editor.
  3. Use the “Import from File” option in n8n to upload the downloaded file.

Step 2: Configure Credentials

  1. Go to each node that connects to HubSpot or Zendesk.
  2. Add your API Key or API credentials for both HubSpot and Zendesk.
  3. Make sure the API keys have correct access to read companies and update organizations.

Step 3: Update Any IDs or Fields if Needed

  1. If your HubSpot or Zendesk account uses custom fields or requires specific IDs, update those inside the nodes.
  2. Check the expressions used, like company names or domains, match your data format.

Step 4: Test the Workflow

  1. Run the workflow once manually inside the editor.
  2. Watch the results in each node’s output panel for errors or mismatches.
  3. Check if companies were created or updated in Zendesk by this test run.

Step 5: Activate for Production

  1. Once verified, toggle the active switch in the top right corner of the editor.
  2. Make sure your n8n instance stays online, such as through self-host n8n or cloud.
  3. The workflow will run every 5 minutes now and keep syncing automatically.

Customization Ideas

  • Change sync timing in the cron node to 10 or 15 minutes for lighter load.
  • Add more HubSpot fields like phone numbers, addresses in Zendesk update and create nodes.
  • Filter HubSpot companies by domain or tag before syncing to Zendesk.
  • Add notifications via email or Slack after sync completes to inform the team.
  • Try different merge logic like inner join in the Merge node for more exact matching.

Troubleshooting Tips

Authentication Failed on Zendesk Node

Make sure the Zendesk API Key and domain in node credentials are correct and not expired.
Re-enter keys if needed in the credential section.

No Companies Returned from HubSpot Recently Modified Node

Check if the last execution timestamp is correct or if no company changed since last run.
Try running the workflow manually to force update or change cron timing.

Merge Node Returns Empty Results

Double-check JSON paths used for company names in HubSpot and Zendesk nodes.
Use n8n debug panel to see exact JSON data to fix paths like properties.name.value or name.


Pre-Production Checklist

  • Run the workflow manually to confirm it works.
  • Verify API credentials with test queries in HubSpot and Zendesk nodes.
  • Check the saved last execution timestamp updates after each run.
  • Inspect sample data merging correctly using debug output for nodes.
  • Backup important company and organization data before first sync.

Deployment Guide

Turn on the workflow using the active toggle switch in n8n editor.
Keep the n8n server running, for example by using self-host n8n or the cloud service.

Look at the execution list to catch any errors or skips.
Change the Cron node frequency if system load is high.


Summary of Results

→ Stops manual copying of company details.
→ Keeps HubSpot and Zendesk company data synced every 5 minutes.
✓ Saves hours of work each week.
✓ Reduces errors and confusion from out-of-date info.
✓ Helps customer service get correct company data fast.

Sync HubSpot with Zendesk using n8n

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

The workflow saves the last execution timestamp in static data and uses it as a filter to only retrieve companies changed after that time.
The workflow creates a new Zendesk organization using the company data from HubSpot.
It compares the HubSpot company name property with the Zendesk organization name using a Merge node by key.
Verify and re-enter the Zendesk API Key and domain in the node credentials to fix authentication errors.
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.