{"name": "Meeting Summarizer + Action Items", "nodes": [{"id": "n1", "name": "Transcript Webhook", "type": "n8n-nodes-base.webhook", "typeVersion": 2.1, "position": [0, 0], "parameters": {"httpMethod": "POST", "path": "meeting-summary", "responseMode": "responseNode"}}, {"id": "n2", "name": "Summarize Meeting", "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 {summary:string (3 sentences), decisions:string[], action_items:Array<{task,owner,deadline}>, next_meeting_agenda:string[], sentiment:'productive/neutral/tense'}. Transcript: {{ $json.body.transcript }}. Attendees: {{ $json.body.attendees }}\"}]"}]}}}, {"id": "n3", "name": "Send Summary", "type": "n8n-nodes-base.gmail", "typeVersion": 2.2, "position": [448, 0], "parameters": {"resource": "message", "operation": "send", "sendTo": "{{ $json.body.organizer_email }}", "subject": "=Meeting Summary: {{ $json.body.meeting_title }}", "emailType": "html", "message": "=<h2>Summary</h2><p>{{ JSON.parse($json.content[0].text).summary }}</p><h2>Action Items</h2><ul>{{ JSON.parse($json.content[0].text).action_items.map(i=>'<li>'+i.task+' \u2014 '+i.owner+'</li>').join('') }}</ul>", "options": {}}, "credentials": {"gmailOAuth2": {"id": "YOUR_GMAIL_CREDENTIAL_ID", "name": "Gmail account"}}}, {"id": "n4", "name": "Respond", "type": "n8n-nodes-base.respondToWebhook", "typeVersion": 1.1, "position": [672, 0], "parameters": {"respondWith": "json", "responseBody": "={\"ok\":true,\"result\":\"{{ $json.content[0].text }}\"}"}}], "connections": {"Transcript Webhook": {"main": [[{"node": "Summarize Meeting", "type": "main", "index": 0}]]}, "Summarize Meeting": {"main": [[{"node": "Send Summary", "type": "main", "index": 0}]]}, "Send Summary": {"main": [[{"node": "Respond", "type": "main", "index": 0}]]}}, "settings": {"executionOrder": "v1"}}