{
  "openruna_format": "flow-graph-v1",
  "title": "0629_Wait_Code_Update_Webhook",
  "slug": "0629-wait-code-update-webhook",
  "source_filename": "0629_Wait_Code_Update_Webhook.json",
  "nodes": [
    {
      "id": "When clicking ‘Test workflow’",
      "name": "When clicking ‘Test workflow’",
      "integration": "manual",
      "kind": "trigger"
    },
    {
      "id": "Loop Over Items",
      "name": "Loop Over Items",
      "integration": "splitInBatches",
      "kind": "logic"
    },
    {
      "id": "Webhook Callback Wait",
      "name": "Webhook Callback Wait",
      "integration": "wait",
      "kind": "logic"
    },
    {
      "id": "Update finishedSet",
      "name": "Update finishedSet",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Initialize finishedSet",
      "name": "Initialize finishedSet",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Simulate Multi-Item for Parallel Processing",
      "name": "Simulate Multi-Item for Parallel Processing",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "If All Finished",
      "name": "If All Finished",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Start Sub-Workflow via Webhook",
      "name": "Start Sub-Workflow via Webhook",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Acknowledge Finished",
      "name": "Acknowledge Finished",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Continue Workflow (noop)",
      "name": "Continue Workflow (noop)",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Wait",
      "name": "Wait",
      "integration": "wait",
      "kind": "logic"
    },
    {
      "id": "Call Resume on Parent Workflow",
      "name": "Call Resume on Parent Workflow",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Respond to Webhook",
      "name": "Respond to Webhook",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Webhook",
      "name": "Webhook",
      "integration": "webhook",
      "kind": "trigger"
    }
  ],
  "edges": [
    {
      "from": "Wait",
      "to": "Call Resume on Parent Workflow"
    },
    {
      "from": "Webhook",
      "to": "Respond to Webhook"
    },
    {
      "from": "If All Finished",
      "to": "Continue Workflow (noop)"
    },
    {
      "from": "If All Finished",
      "to": "Webhook Callback Wait"
    },
    {
      "from": "Loop Over Items",
      "to": "Initialize finishedSet"
    },
    {
      "from": "Loop Over Items",
      "to": "Start Sub-Workflow via Webhook"
    },
    {
      "from": "Respond to Webhook",
      "to": "Wait"
    },
    {
      "from": "Update finishedSet",
      "to": "Acknowledge Finished"
    },
    {
      "from": "Acknowledge Finished",
      "to": "If All Finished"
    },
    {
      "from": "Webhook Callback Wait",
      "to": "Update finishedSet"
    },
    {
      "from": "Initialize finishedSet",
      "to": "If All Finished"
    },
    {
      "from": "Start Sub-Workflow via Webhook",
      "to": "Loop Over Items"
    },
    {
      "from": "When clicking ‘Test workflow’",
      "to": "Simulate Multi-Item for Parallel Processing"
    },
    {
      "from": "Simulate Multi-Item for Parallel Processing",
      "to": "Loop Over Items"
    }
  ]
}