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

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

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

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.

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.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free