{
  "openruna_format": "flow-graph-v1",
  "title": "0267_Functionitem_Zendesk_Create_Scheduled",
  "slug": "0267-functionitem-zendesk-create-scheduled",
  "source_filename": "0267_Functionitem_Zendesk_Create_Scheduled.json",
  "nodes": [
    {
      "id": "NoOp",
      "name": "NoOp",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "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": "Pipedrive person Id found",
      "name": "Pipedrive person Id found",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "NoOp1",
      "name": "NoOp1",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Get Zendesk comments for tickets",
      "name": "Get Zendesk comments for tickets",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Add comments to tickets",
      "name": "Add comments to tickets",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "Add Pipedrive person Id to Zendesk tickets",
      "name": "Add Pipedrive person Id to Zendesk tickets",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "Get tickets updated after last execution",
      "name": "Get tickets updated after last execution",
      "integration": "zendesk",
      "kind": "action"
    },
    {
      "id": "Channel is email",
      "name": "Channel is email",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Rename fields and keep only needed fields",
      "name": "Rename fields and keep only needed fields",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Search persons by email",
      "name": "Search persons by email",
      "integration": "pipedrive",
      "kind": "action"
    },
    {
      "id": "Remove duplicates to make search efficient",
      "name": "Remove duplicates to make search efficient",
      "integration": "itemLists",
      "kind": "logic"
    },
    {
      "id": "Set search email",
      "name": "Set search email",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Process commenst per ticket",
      "name": "Process commenst per ticket",
      "integration": "splitInBatches",
      "kind": "logic"
    },
    {
      "id": "New comment",
      "name": "New comment",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Split comments to seperate items",
      "name": "Split comments to seperate items",
      "integration": "itemLists",
      "kind": "logic"
    },
    {
      "id": "Add comment as a note in Pipedrive",
      "name": "Add comment as a note in Pipedrive",
      "integration": "pipedrive",
      "kind": "action"
    },
    {
      "id": "NoOp2",
      "name": "NoOp2",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Every day at 09:00",
      "name": "Every day at 09:00",
      "integration": "cron",
      "kind": "action"
    },
    {
      "id": "Done processing",
      "name": "Done processing",
      "integration": "if",
      "kind": "logic"
    }
  ],
  "edges": [
    {
      "from": "New comment",
      "to": "Add comment as a note in Pipedrive"
    },
    {
      "from": "New comment",
      "to": "NoOp2"
    },
    {
      "from": "Done processing",
      "to": "Set new last execution timestamp"
    },
    {
      "from": "Done processing",
      "to": "Process commenst per ticket"
    },
    {
      "from": "Channel is email",
      "to": "Set search email"
    },
    {
      "from": "Channel is email",
      "to": "Add Pipedrive person Id to Zendesk tickets"
    },
    {
      "from": "Channel is email",
      "to": "NoOp"
    },
    {
      "from": "Set search email",
      "to": "Remove duplicates to make search efficient"
    },
    {
      "from": "Every day at 09:00",
      "to": "Get last execution timestamp"
    },
    {
      "from": "Add comments to tickets",
      "to": "Process commenst per ticket"
    },
    {
      "from": "Search persons by email",
      "to": "Rename fields and keep only needed fields"
    },
    {
      "from": "Pipedrive person Id found",
      "to": "Get Zendesk comments for tickets"
    },
    {
      "from": "Pipedrive person Id found",
      "to": "Add comments to tickets"
    },
    {
      "from": "Pipedrive person Id found",
      "to": "NoOp1"
    },
    {
      "from": "Process commenst per ticket",
      "to": "Split comments to seperate items"
    },
    {
      "from": "Get last execution timestamp",
      "to": "Get tickets updated after last execution"
    },
    {
      "from": "Get Zendesk comments for tickets",
      "to": "Add comments to tickets"
    },
    {
      "from": "Split comments to seperate items",
      "to": "New comment"
    },
    {
      "from": "Add comment as a note in Pipedrive",
      "to": "Done processing"
    },
    {
      "from": "Get tickets updated after last execution",
      "to": "Channel is email"
    },
    {
      "from": "Rename fields and keep only needed fields",
      "to": "Add Pipedrive person Id to Zendesk tickets"
    },
    {
      "from": "Add Pipedrive person Id to Zendesk tickets",
      "to": "Pipedrive person Id found"
    },
    {
      "from": "Remove duplicates to make search efficient",
      "to": "Search persons by email"
    }
  ]
}