{ "id": "jhNsy4dPQYw9QDaa", "meta": { "instanceId": "1acdaec6c8e84424b4715cf41a9f7ec057947452db21cd2e22afbc454c8711cd", "templateId": "2683", "templateCredsSetupCompleted": true }, "name": "Zoom AI Meeting Assistant", "tags": [], "nodes": [ { "id": "9b4b21aa-c746-4b94-a4dd-12736a7d4098", "name": "OpenAI Chat Model", "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi", "position": [ 2160, 1040 ], "parameters": { "model": "gpt-4o", "options": {} }, "credentials": { "openAiApi": { "id": "EjchNb5GBqYh0Cqn", "name": "OpenAi account" } }, "typeVersion": 1 }, { "id": "536e360c-d668-4f58-8670-4e78ef579dbe", "name": "When clicking ‘Test workflow’", "type": "n8n-nodes-base.manualTrigger", "position": [ 160, 460 ], "parameters": {}, "typeVersion": 1 }, { "id": "eb2b6b98-ca3c-46a9-9d5f-9b5297441224", "name": "No Recording/Transcript available", "type": "n8n-nodes-base.stopAndError", "position": [ 880, 660 ], "parameters": { "errorMessage": "={{ $json.error.cause.message }}" }, "typeVersion": 1 }, { "id": "33ee5d8b-a373-44a8-9777-9386cf8cf008", "name": "Zoom: Get data of last meeting", "type": "n8n-nodes-base.zoom", "position": [ 340, 460 ], "parameters": { "filters": { "type": "scheduled" }, "operation": "getAll", "returnAll": true, "authentication": "oAuth2" }, "credentials": { "zoomOAuth2Api": { "id": "MmccxSST1g202tG2", "name": "Zoom account" } }, "typeVersion": 1 }, { "id": "d67d1fcb-78d1-47e5-bc0e-5735f0f48350", "name": "Filter transcript URL", "type": "n8n-nodes-base.set", "onError": "continueRegularOutput", "position": [ 880, 460 ], "parameters": { "options": {}, "assignments": { "assignments": [ { "id": "ef149af8-7f9d-4e5a-8ccf-4a5f1e09eecc", "name": "transcript_file", "type": "string", "value": "={{ $json.recording_files.find(f => f.file_type === 'TRANSCRIPT').download_url }}" } ] } }, "typeVersion": 3.4 }, { "id": "41665b4e-4d3e-4da9-9b0d-c6f9f0b2cde4", "name": "Filter: Only 1 item", "type": "n8n-nodes-base.splitInBatches", "position": [ 1060, 460 ], "parameters": { "options": {} }, "typeVersion": 3 }, { "id": "ea12b33a-ae01-403d-9f14-466dc8880874", "name": "Zoom: Get transcript file", "type": "n8n-nodes-base.httpRequest", "position": [ 1240, 460 ], "parameters": { "url": "={{ $json.transcript_file }}", "options": {}, "authentication": "predefinedCredentialType", "nodeCredentialType": "zoomOAuth2Api" }, "credentials": { "zoomOAuth2Api": { "id": "MmccxSST1g202tG2", "name": "Zoom account" } }, "typeVersion": 4.2 }, { "id": "fb1c32c3-5161-499d-8cd6-7624fb78ed3e", "name": "Extract text from transcript file", "type": "n8n-nodes-base.extractFromFile", "position": [ 1420, 460 ], "parameters": { "options": {}, "operation": "text" }, "typeVersion": 1 }, { "id": "87986fd3-37f0-48cd-942a-73fd3b5bd70f", "name": "Format transcript text", "type": "n8n-nodes-base.set", "position": [ 1600, 460 ], "parameters": { "options": {}, "assignments": { "assignments": [ { "id": "70019192-02ef-4b0a-a747-3ca5f46aeeaa", "name": "transcript", "type": "string", "value": "={{ $json.data.split('\\r\\n\\r\\n').slice(1).map(block => {\n const lines = block.split('\\r\\n');\n return lines.slice(2).join(' ');\n}).join('\\n') }}" } ] } }, "typeVersion": 3.4 }, { "id": "9af3559d-2fd0-481f-84d6-caefbcd8e4f2", "name": "Zoom: Get participants data", "type": "n8n-nodes-base.httpRequest", "position": [ 1760, 460 ], "parameters": { "url": "=https://api.zoom.us/v2/past_meetings/{{ $('Filter: Last 24 hours').item.json.id }}/participants", "options": {}, "authentication": "predefinedCredentialType", "nodeCredentialType": "zoomOAuth2Api" }, "credentials": { "zoomOAuth2Api": { "id": "MmccxSST1g202tG2", "name": "Zoom account" } }, "typeVersion": 4.2 }, { "id": "03feecc5-e60d-45cb-bf29-6645afb86b4c", "name": "Create meeting summary", "type": "@n8n/n8n-nodes-langchain.openAi", "position": [ 1920, 460 ], "parameters": { "modelId": { "__rl": true, "mode": "list", "value": "gpt-4o", "cachedResultName": "GPT-4O" }, "options": {}, "messages": { "values": [ { "content": "=Create a formal meeting minutes document from the following transcript and meeting details.\n\nMeeting Date: {{ $('Zoom: Get data of last meeting').item.json.start_time }} // This needs to be formatted from the meeting details\nParticipants: {{ $json.participants.map(p => p.name + ' (' + p.user_email + ')').join(', ') }}\n\nTranscript:\n{{ $('Format transcript text').item.json.transcript }}\n\nPlease create the minutes in the following format:\n\nMeeting on [Date]\n\nParticipants:\n[List of participants with email addresses]\n\nSummary of the Meeting:\n[Brief and concise summary of the topics discussed]\n\nTasks:\n- [Task] (Responsible: [Name])\n- ...\n\nImportant Dates:\n- [Date] ([Context])\n- ...\n" } ] } }, "credentials": { "openAiApi": { "id": "EjchNb5GBqYh0Cqn", "name": "OpenAi account" } }, "typeVersion": 1.8 }, { "id": "5edc73f7-aa1b-47ae-97f7-c6f897e914a6", "name": "Sort for mail delivery", "type": "n8n-nodes-base.set", "position": [ 2240, 460 ], "parameters": { "options": {}, "assignments": { "assignments": [ { "id": "cc51b7e4-d5c2-4cd4-9488-4d181eaaa02e", "name": "subject", "type": "string", "value": "=Meeting summary: {{ $('Zoom: Get data of last meeting').item.json.topic }} on {{ $('Zoom: Get data of last meeting').item.json.start_time }}" }, { "id": "f3940ea2-9084-4c25-828e-5ddaa428ec83", "name": "=to", "type": "string", "value": "={{ $('Zoom: Get participants data').item.json.participants[0].user_email }}" }, { "id": "1211af5b-2240-44ce-9df7-63d93f57806e", "name": "body", "type": "string", "value": "={{ $json.message.content }}" } ] } }, "typeVersion": 3.4 }, { "id": "29ad24ba-016b-4e65-b8c8-908d8e2207c5", "name": "Format to html", "type": "n8n-nodes-base.code", "position": [ 2400, 460 ], "parameters": { "jsCode": "const items = [];\n\nfor (const item of $input.all()) {\n const body = item.json.body;\n if (!body) continue;\n\n // Simple split approach\n const sections = body.split('\\n\\n');\n const title = sections[0].replace(/\\*\\*/g, '');\n const participants = sections[1].split('\\n').slice(1).join('\\n');\n const summary = sections[2].split('\\n').slice(1).join('\\n');\n const tasks = sections[3].split('\\n').slice(1).join('\\n');\n const dates = sections[4].split('\\n').slice(1).join('\\n');\n\n const html = `\n
\n${summary}
\n