{
  "openruna_format": "flow-graph-v1",
  "title": "0285_Zendesk_HubSpot_Create_Scheduled",
  "slug": "0285-zendesk-hubspot-create-scheduled",
  "source_filename": "0285_Zendesk_HubSpot_Create_Scheduled.json",
  "nodes": [
    {
      "id": "Add Zendesk company data to Hubspot data",
      "name": "Add Zendesk company data to Hubspot data",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "Set new last execution timestamp",
      "name": "Set new last execution timestamp",
      "integration": "functionItem",
      "kind": "action"
    },
    {
      "id": "Get last execution timestamp",
      "name": "Get last execution timestamp",
      "integration": "functionItem",
      "kind": "action"
    },
    {
      "id": "Get modified companies",
      "name": "Get modified companies",
      "integration": "hubspot",
      "kind": "action"
    },
    {
      "id": "Get all Zendesk organisations",
      "name": "Get all Zendesk organisations",
      "integration": "zendesk",
      "kind": "action"
    },
    {
      "id": "Company exists in Zendesk",
      "name": "Company exists in Zendesk",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Create organisation",
      "name": "Create organisation",
      "integration": "zendesk",
      "kind": "action"
    },
    {
      "id": "Update organisation",
      "name": "Update organisation",
      "integration": "zendesk",
      "kind": "action"
    },
    {
      "id": "Every 5 minutes",
      "name": "Every 5 minutes",
      "integration": "cron",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "Every 5 minutes",
      "to": "Get last execution timestamp"
    },
    {
      "from": "Create organisation",
      "to": "Set new last execution timestamp"
    },
    {
      "from": "Update organisation",
      "to": "Set new last execution timestamp"
    },
    {
      "from": "Get modified companies",
      "to": "Get all Zendesk organisations"
    },
    {
      "from": "Get modified companies",
      "to": "Add Zendesk company data to Hubspot data"
    },
    {
      "from": "Company exists in Zendesk",
      "to": "Update organisation"
    },
    {
      "from": "Company exists in Zendesk",
      "to": "Create organisation"
    },
    {
      "from": "Get last execution timestamp",
      "to": "Get modified companies"
    },
    {
      "from": "Get all Zendesk organisations",
      "to": "Add Zendesk company data to Hubspot data"
    },
    {
      "from": "Add Zendesk company data to Hubspot data",
      "to": "Company exists in Zendesk"
    }
  ]
}