{
  "openruna_format": "flow-graph-v1",
  "title": "0588_HTTP_Schedule_Create_Webhook",
  "slug": "0588-http-schedule-create-webhook",
  "source_filename": "0588_HTTP_Schedule_Create_Webhook.json",
  "nodes": [
    {
      "id": "Schedule Trigger",
      "name": "Schedule Trigger",
      "integration": "schedule",
      "kind": "trigger"
    },
    {
      "id": "Get Auth Token",
      "name": "Get Auth Token",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Unprocessed Requests",
      "name": "Unprocessed Requests",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Get Latest Requests",
      "name": "Get Latest Requests",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "POST to n8n",
      "name": "POST to n8n",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Merge",
      "name": "Merge",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "Local Webhook Address",
      "name": "Local Webhook Address",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Latest Update Time",
      "name": "Latest Update Time",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Store Auth Token",
      "name": "Store Auth Token",
      "integration": "@horka.tv/n8n-nodes-storage-kv.keyValueStorage",
      "kind": "action"
    },
    {
      "id": "Store Last Processed",
      "name": "Store Last Processed",
      "integration": "@horka.tv/n8n-nodes-storage-kv.keyValueStorage",
      "kind": "action"
    },
    {
      "id": "Retrieve Auth Token",
      "name": "Retrieve Auth Token",
      "integration": "@horka.tv/n8n-nodes-storage-kv.keyValueStorage",
      "kind": "action"
    },
    {
      "id": "Retrieve Last Processed",
      "name": "Retrieve Last Processed",
      "integration": "@horka.tv/n8n-nodes-storage-kv.keyValueStorage",
      "kind": "action"
    },
    {
      "id": "If Auth Token Exists",
      "name": "If Auth Token Exists",
      "integration": "if",
      "kind": "logic"
    }
  ],
  "edges": [
    {
      "from": "Merge",
      "to": "Unprocessed Requests"
    },
    {
      "from": "Get Auth Token",
      "to": "Store Auth Token"
    },
    {
      "from": "Schedule Trigger",
      "to": "Local Webhook Address"
    },
    {
      "from": "Schedule Trigger",
      "to": "Retrieve Last Processed"
    },
    {
      "from": "Store Auth Token",
      "to": "Get Latest Requests"
    },
    {
      "from": "Latest Update Time",
      "to": "Store Last Processed"
    },
    {
      "from": "Get Latest Requests",
      "to": "Merge"
    },
    {
      "from": "Retrieve Auth Token",
      "to": "If Auth Token Exists"
    },
    {
      "from": "If Auth Token Exists",
      "to": "Get Latest Requests"
    },
    {
      "from": "If Auth Token Exists",
      "to": "Get Auth Token"
    },
    {
      "from": "Store Last Processed",
      "to": "POST to n8n"
    },
    {
      "from": "Unprocessed Requests",
      "to": "Latest Update Time"
    },
    {
      "from": "Local Webhook Address",
      "to": "Retrieve Auth Token"
    },
    {
      "from": "Retrieve Last Processed",
      "to": "Merge"
    }
  ]
}