{
  "name": "Orchestrate hospital event responses with Anthropic Claude and scheduling, task, and insurance APIs",
  "nodes": [
    {
      "id": "4e74c12e-a822-427d-904c-848a5cc6ed78",
      "name": "Hospital Event Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -704,
        960
      ]
    },
    {
      "id": "67ee9fa6-5fec-4405-9857-9acb34a87efb",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        -480,
        960
      ]
    },
    {
      "id": "49872a34-8160-466d-b794-2c49420cd854",
      "name": "Hospital Orchestration Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -144,
        960
      ]
    },
    {
      "id": "db8f4d9f-4613-4c57-9a78-37ae4fc9d5b1",
      "name": "Anthropic Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        -256,
        1184
      ]
    },
    {
      "id": "cb97fe25-9f7a-4b25-b9aa-fd0026039a85",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        128,
        1184
      ]
    },
    {
      "id": "d0951e3c-06dd-46cc-947b-57650bf8b0b2",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        368,
        1296
      ]
    },
    {
      "id": "b79fb953-d885-4674-9de7-acfb0f337e8c",
      "name": "Route by Action Type",
      "type": "n8n-nodes-base.switch",
      "position": [
        368,
        1040
      ]
    },
    {
      "id": "bd61d7fa-620a-4823-8972-1d087a5cf3c8",
      "name": "Schedule Appointment API",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        816,
        912
      ]
    },
    {
      "id": "5f4e6e5c-b896-4807-83e8-9c6984a9ffd6",
      "name": "Insurance Verification API",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        816,
        1344
      ]
    },
    {
      "id": "f34a1047-c880-4f55-b716-9f9b393b68dd",
      "name": "Task Management API",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        624,
        1136
      ]
    },
    {
      "id": "f31c396a-50fb-4599-8e0e-458a70cfe712",
      "name": "Calculate Task Priority Score",
      "type": "n8n-nodes-base.code",
      "position": [
        816,
        1136
      ]
    },
    {
      "id": "2566d583-12ee-48a2-9da3-10db1d995f6f",
      "name": "Mask PII and PHI Data",
      "type": "n8n-nodes-base.code",
      "position": [
        1264,
        976
      ]
    },
    {
      "id": "bbb72dd6-d491-4417-827a-83575766f763",
      "name": "Staff Availability Lookup Tool",
      "type": "@n8n/n8n-nodes-langchain.toolCode",
      "position": [
        -128,
        1184
      ]
    },
    {
      "id": "356db677-6534-42b9-b405-8b22db9bb371",
      "name": "Calculator",
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "position": [
        0,
        1184
      ]
    },
    {
      "id": "b137a62a-3b81-4415-a069-e120b813bcd7",
      "name": "Merge Action Results",
      "type": "n8n-nodes-base.merge",
      "position": [
        1072,
        960
      ]
    },
    {
      "id": "cefe7eee-c6d7-421b-8461-3c9f5c995da7",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        448,
        368
      ],
      "parameters": {
        "width": 480,
        "height": 336,
        "content": "## Prerequisites\nActive Anthropic API account, hospital event management system with webhook capability\n## Use Cases\nPatient admission coordination, equipment failure response, code blue orchestration"
      }
    },
    {
      "id": "cc42c18e-0038-4fe0-b4e8-276fd60b4fc4",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -16,
        416
      ],
      "parameters": {
        "width": 384,
        "height": 304,
        "content": "## Setup Steps\n1. Configure webhook URL endpoint for hospital event system integration\n2. Set up Anthropic API credentials for Claude model access in orchestration agent\n3. Configure Hospital Orchestr"
      }
    },
    {
      "id": "d5283193-74be-410a-b8ed-cae968b2c3f4",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -720,
        432
      ],
      "parameters": {
        "width": 656,
        "height": 288,
        "content": "## How It Works\nThis workflow automates hospital operational event management by intelligently processing incoming events and orchestrating appropriate responses across multiple hospital systems. Desi"
      }
    },
    {
      "id": "0d162eba-4ddc-4c37-989c-8fe3f3c36363",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        768,
        784
      ],
      "parameters": {
        "width": 768,
        "height": 768,
        "content": "## Result Consolidation with PHI Protection\n**Why:** Merges outcomes from multiple system interactions, applies data masking to protected health information for HIPAA compliance, responds to originati"
      }
    },
    {
      "id": "cb93db72-f794-4c9f-8588-97043c341340",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        304,
        784
      ],
      "parameters": {
        "width": 432,
        "height": 672,
        "content": "## Multi-System Task Routing with Priority Calculation\n**Why:** Dynamically routes orchestrated actions to appropriate hospital systems (scheduling, task management, insurance verification) based on e"
      }
    },
    {
      "id": "0d4474f3-fca2-4703-9e5c-83d7942b9a47",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -736,
        784
      ],
      "parameters": {
        "width": 1024,
        "height": 672,
        "content": "## Event Reception and AI-Powered Analysis\n**Why:** Captures hospital events through webhook triggers and processes them through AI orchestration agent using Claude and specialized lookup tools, ensur"
      }
    }
  ],
  "connections": {
    "Calculator": {
      "ai_tool": [
        [
          {
            "node": "Hospital Orchestration Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Task Management API": {
      "main": [
        [
          {
            "node": "Calculate Task Priority Score",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Anthropic Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Hospital Orchestration Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Merge Action Results": {
      "main": [
        [
          {
            "node": "Mask PII and PHI Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by Action Type": {
      "main": [
        [
          {
            "node": "Schedule Appointment API",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Insurance Verification API",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Task Management API",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Merge Action Results",
            "type": "main",
            "index": 3
          }
        ]
      ]
    },
    "Hospital Event Webhook": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "Hospital Orchestration Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Appointment API": {
      "main": [
        [
          {
            "node": "Merge Action Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Hospital Orchestration Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Insurance Verification API": {
      "main": [
        [
          {
            "node": "Merge Action Results",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Hospital Orchestration Agent": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          },
          {
            "node": "Route by Action Type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calculate Task Priority Score": {
      "main": [
        [
          {
            "node": "Merge Action Results",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Staff Availability Lookup Tool": {
      "ai_tool": [
        [
          {
            "node": "Hospital Orchestration Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}