{"name": "Local Neighborhood Guide Generator", "nodes": [{"id": "n1", "name": "Location Webhook", "type": "n8n-nodes-base.webhook", "typeVersion": 2.1, "position": [0, 0], "parameters": {"httpMethod": "POST", "path": "local-guide", "responseMode": "responseNode"}}, {"id": "n2", "name": "Generate Local Guide", "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": "1000"}, {"name": "messages", "value": "=[{\"role\":\"user\",\"content\":\"Return ONLY JSON {neighborhood:string, vibe:string, best_for:string[], hidden_gems:string[], food_and_drink:string[], getting_around:string, safety_tips:string[], best_time_to_visit:string, one_day_itinerary:string}. City: {{ $json.body.city }}. Neighborhood: {{ $json.body.neighborhood }}. Traveler type: {{ $json.body.traveler_type }}\"}]"}]}}}, {"id": "n3", "name": "Return Guide", "type": "n8n-nodes-base.respondToWebhook", "typeVersion": 1.1, "position": [448, 0], "parameters": {"respondWith": "json", "responseBody": "={\"ok\":true,\"result\":\"{{ $json.content[0].text }}\"}"}}], "connections": {"Location Webhook": {"main": [[{"node": "Generate Local Guide", "type": "main", "index": 0}]]}, "Generate Local Guide": {"main": [[{"node": "Return Guide", "type": "main", "index": 0}]]}}, "settings": {"executionOrder": "v1"}}