Business Process Automation

0266 Functionitem Zendesk Create Webhook

0266 Functionitem Zendesk Create Webhook

Scheduled
High
17
Nodes
Scheduled
Trigger
High
Complexity
7/22/2025
Added

Workflow Overview

Total Nodes
17
Node Types
8

Node Types

function Item
Get last execution timestamp, Set new last execution timestamp
2 nodes
zendesk
Get tickets created after last execution, Get requester information, Get agents and admins, Change assignee to Pipedrive contact owner, Add a note requester not found
5 nodes
set
Keep only needed requester information, Keep only requester owner email, Keep only email and Id
3 nodes
cron
Every 5 minutes
1 node
merge
Add requester information to ticket data, Add Pipedrive agent data to pipedrive contact information, Add contact owner to ticket data
3 nodes
pipedrive
Search requester in pipedrive
1 node
http Request
Get owner information of Pipedrive contact
1 node
if
Contact exists in Pipedrive
1 node

Workflow JSON

13.46 KB
{
  "meta": {
    "instanceId": "237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9"
  },
  "name": "0266 Functionitem Zendesk Create Webhook",
  "nodes": [
    {
      "id": "9d40c0b9-498f-421c-b731-3a387402b69a",
      "name": "Get last execution timestamp",
      "type": "n8n-nodes-base.functionItem",
      "position": [
        380,
        360
      ],
      "parameters": {
        "functionCode": "// Code here will run once per input item.\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.functionItem\n// Tip: You can use luxon for dates and $jmespath for querying JSON structures\n\n// Add a new field called 'myNewField' to the JSON of the item\nconst staticData = getWorkflowStaticData('global');\n\nif(!staticData.lastExecution){\n  staticData.lastExecution = new Date().getTime();\n}\n\nitem.executionTimeStamp = new Date().getTime();\nitem.lastExecution = staticData.lastExecution;\n\n\nreturn item;"
      },
      "typeVersion": 1
    },
    {
      "...

Showing first 1000 characters. Click "Expand" to view the full JSON.