Sync Zendesk tickets to Pipedrive contact owners
Needs changesWhat this workflow does
This workflow has 21 nodes and runs on a schedule (legacy Cron node). Along the way it connects Zendesk and Pipedrive.
How it runs
Trigger: On a schedule (legacy Cron node).
- Get last execution timestamp (Function Item): runs custom JavaScript per item (legacy Function Item node)
- Get tickets updated after last execution (Zendesk): get many
- Channel is email (If): checks a condition and branches into true / false
- Set search email (Edit Fields (Set)): sets or maps fields
- Add Pipedrive person Id to Zendesk tickets (Merge): merges the data from its input branches
- Remove duplicates to make search efficient (Item Lists): reshapes item lists (legacy Item Lists node)
- Pipedrive person Id found (If): checks a condition and branches into true / false
- Search persons by email (Pipedrive): search (person)
- Get Zendesk comments for tickets (HTTP Request): calls an HTTP API
- Add comments to tickets (Merge): merges the data from its input branches
…plus 7 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
3 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:
- Function Item (legacy) in Get last execution timestamp, Set new last execution timestamp: replace with Code node, mode 'Run Once for Each Item'.
- Item Lists (legacy) in Remove duplicates to make search efficient, Split comments to seperate items: replace with Split Out, Aggregate, Sort, Limit, Remove Duplicates or Summarize (match the operation used).
- Cron in Every day at 09:00: replace with Schedule Trigger.
- Also check Always Output Data on multi-output nodes (If/Switch) now adds an empty item only when every output is empty.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| Function Item (legacy) Get last execution timestamp, Set new last execution timestamp | Code node, mode 'Run Once for Each Item' |
| Item Lists (legacy) Remove duplicates to make search efficient, Split comments to seperate items | Split Out, Aggregate, Sort, Limit, Remove Duplicates or Summarize (match the operation used) |
| Cron Every day at 09:00 | Schedule Trigger |
Nodes used (11)
- No Operation, do nothing
n8n-nodes-base.noOp - Function Item
n8n-nodes-base.functionItem - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Zendesk
n8n-nodes-base.zendesk - Edit Fields (Set)
n8n-nodes-base.set - Pipedrive
n8n-nodes-base.pipedrive - Item Lists
n8n-nodes-base.itemLists - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Cron
n8n-nodes-base.cron
From the author
This workflow syncs Zendesk tickets to Pipedrive contact owners. This workflow is triggered every day at 09:00 with Zendesk collecting all the tickets updated after the last execution timestamp and updating them according to Pipedrive contacts. It also adds…