{
  "openruna_format": "flow-graph-v1",
  "title": "0266_Functionitem_Zendesk_Create_Webhook",
  "slug": "0266-functionitem-zendesk-create-webhook",
  "source_filename": "0266_Functionitem_Zendesk_Create_Webhook.json",
  "nodes": [
    {
      "id": "Get last execution timestamp",
      "name": "Get last execution timestamp",
      "integration": "functionItem",
      "kind": "action"
    },
    {
      "id": "Set new last execution timestamp",
      "name": "Set new last execution timestamp",
      "integration": "functionItem",
      "kind": "action"
    },
    {
      "id": "Get tickets created after last execution",
      "name": "Get tickets created after last execution",
      "integration": "zendesk",
      "kind": "action"
    },
    {
      "id": "Get requester information",
      "name": "Get requester information",
      "integration": "zendesk",
      "kind": "action"
    },
    {
      "id": "Keep only needed requester information",
      "name": "Keep only needed requester information",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Keep only requester owner email",
      "name": "Keep only requester owner email",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Every 5 minutes",
      "name": "Every 5 minutes",
      "integration": "cron",
      "kind": "action"
    },
    {
      "id": "Add requester information to ticket data",
      "name": "Add requester information to ticket data",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "Search requester in pipedrive",
      "name": "Search requester in pipedrive",
      "integration": "pipedrive",
      "kind": "action"
    },
    {
      "id": "Get owner information of Pipedrive contact",
      "name": "Get owner information of Pipedrive contact",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Get agents and admins",
      "name": "Get agents and admins",
      "integration": "zendesk",
      "kind": "action"
    },
    {
      "id": "Keep only email and Id",
      "name": "Keep only email and Id",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Add Pipedrive agent data to pipedrive contact information",
      "name": "Add Pipedrive agent data to pipedrive contact information",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "Add contact owner to ticket data",
      "name": "Add contact owner to ticket data",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "Contact exists in Pipedrive",
      "name": "Contact exists in Pipedrive",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Change assignee to Pipedrive contact owner",
      "name": "Change assignee to Pipedrive contact owner",
      "integration": "zendesk",
      "kind": "action"
    },
    {
      "id": "Add a note requester not found",
      "name": "Add a note requester not found",
      "integration": "zendesk",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "Every 5 minutes",
      "to": "Get last execution timestamp"
    },
    {
      "from": "Get agents and admins",
      "to": "Keep only email and Id"
    },
    {
      "from": "Keep only email and Id",
      "to": "Add Pipedrive agent data to pipedrive contact information"
    },
    {
      "from": "Get requester information",
      "to": "Keep only needed requester information"
    },
    {
      "from": "Contact exists in Pipedrive",
      "to": "Change assignee to Pipedrive contact owner"
    },
    {
      "from": "Contact exists in Pipedrive",
      "to": "Add a note requester not found"
    },
    {
      "from": "Get last execution timestamp",
      "to": "Get tickets created after last execution"
    },
    {
      "from": "Search requester in pipedrive",
      "to": "Get owner information of Pipedrive contact"
    },
    {
      "from": "Add a note requester not found",
      "to": "Set new last execution timestamp"
    },
    {
      "from": "Keep only requester owner email",
      "to": "Add Pipedrive agent data to pipedrive contact information"
    },
    {
      "from": "Add contact owner to ticket data",
      "to": "Contact exists in Pipedrive"
    },
    {
      "from": "Keep only needed requester information",
      "to": "Add requester information to ticket data"
    },
    {
      "from": "Add requester information to ticket data",
      "to": "Search requester in pipedrive"
    },
    {
      "from": "Add requester information to ticket data",
      "to": "Add contact owner to ticket data"
    },
    {
      "from": "Get tickets created after last execution",
      "to": "Add requester information to ticket data"
    },
    {
      "from": "Get tickets created after last execution",
      "to": "Get requester information"
    },
    {
      "from": "Change assignee to Pipedrive contact owner",
      "to": "Set new last execution timestamp"
    },
    {
      "from": "Get owner information of Pipedrive contact",
      "to": "Keep only requester owner email"
    },
    {
      "from": "Add Pipedrive agent data to pipedrive contact information",
      "to": "Add contact owner to ticket data"
    }
  ]
}