Update HubSpot contacts with Zendesk tickets

Nodes

779200af-6314-49fd-9f54-c1799b357dd3767a4dc9-a96d-4faf-8994-3ca7563046768df5e80a-c33a-4c9e-b9a0-5389e41d7961

Created by

n8n8n Team

Last edited 38 days ago

This workflow automatically syncs your Zendesk tickets to your HubSpot contacts. Every 5 minutes, your Zendesk account collects all the new or updated tickets and syncs them accordingly, with your HubSpot contacts database.

Prerequisites

How it works

  1. Cron node triggers the workflow every 5 minutes.
  2. Function Item node checks all the tickets received after the last execution timestamp.
  3. Zendesk node collects all tickets updated after last execution.
  4. Zendesk node collects the user data of ticket requester.
  5. Set node collects the contact`s email, name and externalID.
  6. Merge by key node combines two inputs, ticket data and ticket requester data.
  7. If node splits the workflow conditionally, based on data received.
  8. If the data corresponds to a ticket that already exists, HubSpot node will update the ticket.
  9. If the data does not correspond to a ticket, HubSpot node creates/updates the contact.
  10. Zendesk node updates the external Id in Zendesk for the said contact.
  11. HubSpot node creates a new ticket.
  12. Zendesk node updates the ticket with the external Id.
  13. The Function Item node sets the new last execution timestamp.

New to n8n?

Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!