{"name": "NDA Generator", "nodes": [{"id": "n1", "name": "NDA Request Webhook", "type": "n8n-nodes-base.webhook", "typeVersion": 2.1, "position": [0, 0], "parameters": {"httpMethod": "POST", "path": "generate-nda", "responseMode": "responseNode"}}, {"id": "n2", "name": "Generate NDA", "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": "1500"}, {"name": "messages", "value": "=[{\"role\":\"user\",\"content\":\"Return ONLY JSON {nda_text:string (full standard NDA with blanks for signatures), nda_type:'mutual/one-way', key_terms:string[], duration:string, jurisdiction_placeholder:string}. Disclosing party: {{ $json.body.party_a }}. Receiving party: {{ $json.body.party_b }}. Purpose: {{ $json.body.purpose }}. Duration: {{ $json.body.duration }}\"}]"}]}}}, {"id": "n3", "name": "Return NDA", "type": "n8n-nodes-base.respondToWebhook", "typeVersion": 1.1, "position": [448, 0], "parameters": {"respondWith": "json", "responseBody": "={\"ok\":true,\"result\":\"{{ $json.content[0].text }}\"}"}}], "connections": {"NDA Request Webhook": {"main": [[{"node": "Generate NDA", "type": "main", "index": 0}]]}, "Generate NDA": {"main": [[{"node": "Return NDA", "type": "main", "index": 0}]]}}, "settings": {"executionOrder": "v1"}}