{"name": "Seasonal Promotion Planner", "nodes": [{"id": "n1", "name": "Season Request Webhook", "type": "n8n-nodes-base.webhook", "typeVersion": 2.1, "position": [0, 0], "parameters": {"httpMethod": "POST", "path": "plan-promotion", "responseMode": "responseNode"}}, {"id": "n2", "name": "Plan Seasonal Promotion", "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": "1200"}, {"name": "messages", "value": "=[{\"role\":\"user\",\"content\":\"Return ONLY JSON {promotion_name:string, dates:string, discount_strategy:string, target_products:string[], marketing_messages:string[], email_subject_lines:string[], social_posts:string[], expected_uplift:string, budget_recommendation:string}. Season: {{ $json.body.season }}. Business type: {{ $json.body.business }}. Last year performance: {{ $json.body.last_year }}\"}]"}]}}}, {"id": "n3", "name": "Return Plan", "type": "n8n-nodes-base.respondToWebhook", "typeVersion": 1.1, "position": [448, 0], "parameters": {"respondWith": "json", "responseBody": "={\"ok\":true,\"result\":\"{{ $json.content[0].text }}\"}"}}], "connections": {"Season Request Webhook": {"main": [[{"node": "Plan Seasonal Promotion", "type": "main", "index": 0}]]}, "Plan Seasonal Promotion": {"main": [[{"node": "Return Plan", "type": "main", "index": 0}]]}}, "settings": {"executionOrder": "v1"}}