Skip to main content

Send Zendesk tickets to Pipedrive contacts and assign tasks

Workflow preview

Send Zendesk tickets to Pipedrive contacts and assign tasks preview
Open on n8n.io

Important notice

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

Overview

This workflow automatically sends Zendesk tickets to Pipedrive contacts and makes them task assignees. The automation is triggered every 5 minutes, with Zendesk checking and collecting new tickets which are then individually assigned to a Pipedrive contact.

Prerequisites

Note: The Pipedrive and the Zendesk accounts need to be created by the same person / with the same email.

How it works

  1. Cron node triggers the workflow every 5 minutes.
  2. Zendesk node collects all the tickets received after the last execution timestamp.
  3. Set node passes only the requester`s email and ID further to the Merge node.
  4. Merge by key node merges both inputs together, the tickets and their contact emails.
  5. Pipedrive node then searches for the requester.
  6. HTTP Request node gets owner information of Pipedrive contact.
  7. Set nodes keep only the requester owner's email and the agent`s email and id.
  8. Merge by key node merges the information and adds the contact owner to ticket data.
  9. Zendesk node changes the assignee to the Pipedrive contact owner or adds a note if the requester is not found.
  10. The Function Item node sets the new last execution timestamp.