{"name": "Symptom Triage Bot", "nodes": [{"id": "n1", "name": "Symptom Input Webhook", "type": "n8n-nodes-base.webhook", "typeVersion": 2.1, "position": [0, 0], "parameters": {"httpMethod": "POST", "path": "symptom-triage", "responseMode": "responseNode"}}, {"id": "n2", "name": "Triage Symptoms", "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.4, "position": [224, 0], "parameters": {"method": "POST", "url": "https://api.anthropic.com/v1/messages", "sendHeaders": true, "headerParameters": {"parameters": [{"name": "x-api-key", "value": "YOUR_ANTHROPIC_API_KEY"}, {"name": "anthropic-version", "value": "2023-06-01"}, {"name": "content-type", "value": "application/json"}]}, "sendBody": true, "bodyParameters": {"parameters": [{"name": "model", "value": "claude-sonnet-4-6"}, {"name": "max_tokens", "value": "800"}, {"name": "messages", "value": "=[{\"role\":\"user\",\"content\":\"Return ONLY JSON {urgency:'emergency/urgent/routine/self-care', recommended_action:string, possible_conditions:string[] (3, not diagnostic), when_to_seek_care:string, home_care_tips:string[]}. Symptoms: {{ $json.body.symptoms }}. Age: {{ $json.body.age }}. Duration: {{ $json.body.duration }}. NOTE: This is informational only, not a diagnosis.\"}]"}]}}}, {"id": "n3", "name": "Return Triage", "type": "n8n-nodes-base.respondToWebhook", "typeVersion": 1.1, "position": [448, 0], "parameters": {"respondWith": "json", "responseBody": "={\"ok\":true,\"result\":\"{{ $json.content[0].text }}\"}"}}], "connections": {"Symptom Input Webhook": {"main": [[{"node": "Triage Symptoms", "type": "main", "index": 0}]]}, "Triage Symptoms": {"main": [[{"node": "Return Triage", "type": "main", "index": 0}]]}}, "settings": {"executionOrder": "v1"}}