← Back
Summarize chat from Microsoft Teams and send to Email
n8n_2000_workflows / summarize-chat-microsoft-teams-email.json
Complexity: mediumNodes: 5
ai:basechatdataemailerrorfetchfromhttprequestincomingmediummicrosoftn8nn8n_2000_workflowsnodesopenaiapisendslacksummarizesummarize-chat-microsoft-teams-email.jsonteamstotriggerwebhook
Node Overview
- Incoming Trigger – n8n-nodes-base.webhook
- Fetch data from Microsoft Teams – n8n-nodes-base.httpRequest
- AI: Summarize Chat – n8n-nodes-base.openAIApi
- Send to Email – n8n-nodes-base.httpRequest
- Send Error to Slack – n8n-nodes-base.slack
Workflow JSON
{ "name": "Summarize chat from Microsoft Teams and send to Email", "nodes": [ { "id": "trigger-microsoft-teams", "name": "Incoming Trigger", "type": "n8n-nodes-base.webhook", "typeVersion": 1, "position": [ -600, 20700 ], "parameters": { "httpMethod": "POST", "path": "summarize-chat-from-microsoft-teams-and-send-to-email", "responseCode": 200, "responseMode": "onReceived" } }, { "id": "fetch-microsoft-teams", "name": "Fetch data from Microsoft Teams", "type": "n8n-nodes-base.httpRequest", "typeVersion": 1, "position": [ -300, 20700 ], "parameters": { "method": "GET", "url": "https://api.example.com/microsoft-teams", "responseFormat": "json" } }, { "id": "ai-summarize-chat", "name": "AI: Summarize Chat", "type": "n8n-nodes-base.openAIApi", "typeVersion": 1, "position": [ 0, 20700 ], "parameters": { "model": "gpt-4", "operation": "complete", "prompt": "Perform the following action on the incoming data: summarize chat" } }, { "id": "send-email", "name": "Send to Email", "type": "n8n-nodes-base.httpRequest", "typeVersion": 1, "position": [ 300, 20700 ], "parameters": { "method": "POST", "url": "https://api.example.com/email", "responseFormat": "json", "options": {} } }, { "id": "error-handler-600-20700", "name": "Send Error to Slack", "type": "n8n-nodes-base.slack", "typeVersion": 1, "position": [ 600, 20700 ], "parameters": { "resource": "message", "operation": "post", "channel": "#automation-alerts", "text": "={{ $json.get('error_message', 'An error occurred') }}" } } ], "connections": { "Incoming Trigger": { "main": [ [ { "node": "Fetch data from Microsoft Teams", "type": "main", "index": 0 } ] ] }, "Fetch data from Microsoft Teams": { "main": [ { "node": "AI: Summarize Chat", "type": "main", "index": 0 } ] }, "AI: Summarize Chat": { "main": [ [ { "node": "AI: Summarize Chat", "type": "main", "index": 0 } ] ] }, "Send to Email": { "main": [ [ { "node": "Send Error to Slack", "type": "main", "index": 0 } ] ] } }, "settings": {}, "active": false }