{"name": "Grant Proposal Writer", "nodes": [{"id": "n1", "name": "Grant Request Webhook", "type": "n8n-nodes-base.webhook", "typeVersion": 2.1, "position": [0, 0], "parameters": {"httpMethod": "POST", "path": "write-grant", "responseMode": "responseNode"}}, {"id": "n2", "name": "Write Grant Proposal", "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 {executive_summary:string, problem_statement:string, proposed_solution:string, goals_and_objectives:string[], evaluation_plan:string, budget_narrative:string, organizational_capacity:string, full_proposal_html:string}. Organization: {{ $json.body.org_name }}. Grant: {{ $json.body.grant_name }}. Project: {{ $json.body.project_description }}. Budget: {{ $json.body.budget }}\"}]"}]}}}, {"id": "n3", "name": "Return Proposal", "type": "n8n-nodes-base.respondToWebhook", "typeVersion": 1.1, "position": [448, 0], "parameters": {"respondWith": "json", "responseBody": "={\"ok\":true,\"result\":\"{{ $json.content[0].text }}\"}"}}], "connections": {"Grant Request Webhook": {"main": [[{"node": "Write Grant Proposal", "type": "main", "index": 0}]]}, "Write Grant Proposal": {"main": [[{"node": "Return Proposal", "type": "main", "index": 0}]]}}, "settings": {"executionOrder": "v1"}}