{
  "openruna_format": "flow-graph-v1",
  "title": "0826_Wait_Splitout_Automation_Webhook",
  "slug": "0826-wait-splitout-automation-webhook",
  "source_filename": "0826_Wait_Splitout_Automation_Webhook.json",
  "nodes": [
    {
      "id": "Submit batch",
      "name": "Submit batch",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Check batch status",
      "name": "Check batch status",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "When Executed by Another Workflow",
      "name": "When Executed by Another Workflow",
      "integration": "executeWorkflow",
      "kind": "trigger"
    },
    {
      "id": "Get results",
      "name": "Get results",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Parse response",
      "name": "Parse response",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "If ended processing",
      "name": "If ended processing",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Batch Status Poll Interval",
      "name": "Batch Status Poll Interval",
      "integration": "wait",
      "kind": "logic"
    },
    {
      "id": "Run example",
      "name": "Run example",
      "integration": "manual",
      "kind": "trigger"
    },
    {
      "id": "One query example",
      "name": "One query example",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Delete original properties",
      "name": "Delete original properties",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Construct 'requests' array",
      "name": "Construct 'requests' array",
      "integration": "aggregate",
      "kind": "logic"
    },
    {
      "id": "Set desired 'anthropic-version'",
      "name": "Set desired 'anthropic-version'",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Execute Workflow 'Process Multiple Prompts in Parallel with Anthropic Claude Batch API'",
      "name": "Execute Workflow 'Process Multiple Prompts in Parallel with Anthropic Claude Batch API'",
      "integration": "executeWorkflow",
      "kind": "action"
    },
    {
      "id": "Build batch 'request' object for single query",
      "name": "Build batch 'request' object for single query",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Simple Memory Store",
      "name": "Simple Memory Store",
      "integration": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "kind": "action"
    },
    {
      "id": "Fill Chat Memory with example data",
      "name": "Fill Chat Memory with example data",
      "integration": "@n8n/n8n-nodes-langchain.memoryManager",
      "kind": "action"
    },
    {
      "id": "Build batch 'request' object from Chat Memory and execution data",
      "name": "Build batch 'request' object from Chat Memory and execution data",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Load Chat Memory Data",
      "name": "Load Chat Memory Data",
      "integration": "@n8n/n8n-nodes-langchain.memoryManager",
      "kind": "action"
    },
    {
      "id": "First Prompt Result",
      "name": "First Prompt Result",
      "integration": "executionData",
      "kind": "action"
    },
    {
      "id": "Second Prompt Result",
      "name": "Second Prompt Result",
      "integration": "executionData",
      "kind": "action"
    },
    {
      "id": "Split Out Parsed Results",
      "name": "Split Out Parsed Results",
      "integration": "splitOut",
      "kind": "logic"
    },
    {
      "id": "Filter Second Prompt Results",
      "name": "Filter Second Prompt Results",
      "integration": "filter",
      "kind": "logic"
    },
    {
      "id": "Filter First Prompt Results",
      "name": "Filter First Prompt Results",
      "integration": "filter",
      "kind": "logic"
    },
    {
      "id": "Join two example requests into array",
      "name": "Join two example requests into array",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "Append execution data for single query example",
      "name": "Append execution data for single query example",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Append execution data for chat memory example",
      "name": "Append execution data for chat memory example",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Truncate Chat Memory",
      "name": "Truncate Chat Memory",
      "integration": "@n8n/n8n-nodes-langchain.memoryManager",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "Get results",
      "to": "Parse response"
    },
    {
      "from": "Run example",
      "to": "One query example"
    },
    {
      "from": "Run example",
      "to": "Truncate Chat Memory"
    },
    {
      "from": "Submit batch",
      "to": "If ended processing"
    },
    {
      "from": "Parse response",
      "to": "Split Out Parsed Results"
    },
    {
      "from": "One query example",
      "to": "Append execution data for single query example"
    },
    {
      "from": "Check batch status",
      "to": "If ended processing"
    },
    {
      "from": "If ended processing",
      "to": "Get results"
    },
    {
      "from": "If ended processing",
      "to": "Batch Status Poll Interval"
    },
    {
      "from": "Truncate Chat Memory",
      "to": "Fill Chat Memory with example data"
    },
    {
      "from": "Load Chat Memory Data",
      "to": "Append execution data for chat memory example"
    },
    {
      "from": "Batch Status Poll Interval",
      "to": "Check batch status"
    },
    {
      "from": "Construct 'requests' array",
      "to": "Set desired 'anthropic-version'"
    },
    {
      "from": "Delete original properties",
      "to": "Join two example requests into array"
    },
    {
      "from": "Filter First Prompt Results",
      "to": "First Prompt Result"
    },
    {
      "from": "Filter Second Prompt Results",
      "to": "Second Prompt Result"
    },
    {
      "from": "Set desired 'anthropic-version'",
      "to": "Execute Workflow 'Process Multiple Prompts in Parallel with Anthropic Claude Batch API'"
    },
    {
      "from": "When Executed by Another Workflow",
      "to": "Submit batch"
    },
    {
      "from": "Fill Chat Memory with example data",
      "to": "Load Chat Memory Data"
    },
    {
      "from": "Join two example requests into array",
      "to": "Construct 'requests' array"
    },
    {
      "from": "Append execution data for chat memory example",
      "to": "Build batch 'request' object from Chat Memory and execution data"
    },
    {
      "from": "Build batch 'request' object for single query",
      "to": "Delete original properties"
    },
    {
      "from": "Append execution data for single query example",
      "to": "Build batch 'request' object for single query"
    },
    {
      "from": "Build batch 'request' object from Chat Memory and execution data",
      "to": "Join two example requests into array"
    },
    {
      "from": "Execute Workflow 'Process Multiple Prompts in Parallel with Anthropic Claude Batch API'",
      "to": "Filter First Prompt Results"
    },
    {
      "from": "Execute Workflow 'Process Multiple Prompts in Parallel with Anthropic Claude Batch API'",
      "to": "Filter Second Prompt Results"
    }
  ]
}