AI-Powered Meeting Minutes with GPT-4, Task Assignment & Multichannel Distribution

Experte

Dies ist ein Content Creation, Multimodal AI-Bereich Automatisierungsworkflow mit 38 Nodes. Hauptsächlich werden If, Set, Code, Gmail, Merge und andere Nodes verwendet.

Voraussetzungen
  • Google-Konto + Gmail API-Anmeldedaten
  • Slack Bot Token oder Webhook URL
  • HTTP Webhook-Endpunkt (wird von n8n automatisch generiert)
  • Google Drive API-Anmeldedaten
  • Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
  • OpenAI API Key
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
  "id": "MU89lcZkW3CjD9nU",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Meeting Minutes & Action Item Tracker",
  "tags": [],
  "nodes": [
    {
      "id": "022280e9-fc0f-4148-827f-14143ba4c11a",
      "name": "Besprechungsdaten empfangen",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -160,
        0
      ],
      "webhookId": "9e0d22e1-8b66-4438-a6b5-4748a168cc11",
      "parameters": {
        "path": "meeting-minutes",
        "options": {},
        "httpMethod": "POST",
        "responseMode": "lastNode"
      },
      "typeVersion": 2.1
    },
    {
      "id": "81191e4b-f548-46b1-b8ca-8560653a33ab",
      "name": "Besprechungs-Metadaten extrahieren",
      "type": "n8n-nodes-base.set",
      "position": [
        112,
        0
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "1ccc5df3-8c52-4ac8-a4b9-19e037022817",
              "name": "meetingTitle",
              "type": "string",
              "value": "={{ $json.body.title|| \"Untitled Meeting\" }}"
            },
            {
              "id": "ca5a8fed-69dc-4c24-85d5-d6860f192b05",
              "name": "meetingDate",
              "type": "string",
              "value": "={{ $json.body.date  || $now.format('yyyy-MM-dd') }}"
            },
            {
              "id": "f44440f2-80ab-4f1e-a79d-8d4d5b347703",
              "name": "participants",
              "type": "array",
              "value": "={{$json.body.participants || [] }}"
            },
            {
              "id": "46dff8c2-8c56-4d9c-9508-b9a280fca602",
              "name": "duration",
              "type": "string",
              "value": "={{ $json.duration || \"Not specified\" }}"
            },
            {
              "id": "87b3fa3a-a5fd-4cf9-8436-7a5a0870a15a",
              "name": "rawTranscript",
              "type": "string",
              "value": "={{ $json.transcript || $json.body.transcript || \"\" }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "1d1d508e-f9b2-4175-83fc-3ab883990d8b",
      "name": "Transkript bereinigen",
      "type": "n8n-nodes-base.code",
      "position": [
        416,
        0
      ],
      "parameters": {
        "jsCode": "// Get the input data\nconst items = $input.all();\n\n// Process each item\nconst processedItems = items.map(item => {\n  const data = item.json;\n  \n  // Clean the transcript\n  let cleanedTranscript = data.rawTranscript || '';\n  \n  // Remove multiple spaces\n  cleanedTranscript = cleanedTranscript.replace(/\\s+/g, ' ');\n  \n  // Remove common timestamp patterns (e.g., [00:01:23] or (00:01:23))\n  cleanedTranscript = cleanedTranscript.replace(/[\\[\\(]\\d{2}:\\d{2}:\\d{2}[\\]\\)]/g, '');\n  \n  // Remove speaker labels if formatted as \"Speaker 1:\", \"Speaker 2:\", etc.\n  cleanedTranscript = cleanedTranscript.replace(/Speaker \\d+:/g, '');\n  \n  // Trim whitespace\n  cleanedTranscript = cleanedTranscript.trim();\n  \n  // Count words for context\n  const wordCount = cleanedTranscript.split(/\\s+/).length;\n  \n  // Estimate reading time (average 200 words per minute)\n  const estimatedMinutes = Math.ceil(wordCount / 200);\n  \n  return {\n    json: {\n      ...data,\n      cleanedTranscript: cleanedTranscript,\n      transcriptWordCount: wordCount,\n      estimatedReadingTime: `${estimatedMinutes} minutes`,\n      processingTimestamp: new Date().toISOString()\n    }\n  };\n});\n\nreturn processedItems;"
      },
      "typeVersion": 2
    },
    {
      "id": "2f05b28e-8aab-4f5f-b6ec-a61e96ec12de",
      "name": "Transkriptlänge validieren",
      "type": "n8n-nodes-base.if",
      "position": [
        720,
        0
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "296bb329-fa1e-4660-9976-5462a0f3ae21",
              "operator": {
                "type": "string",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json.cleanedTranscript }}",
              "rightValue": ""
            },
            {
              "id": "c754bcd2-dd4e-4c2b-b3ae-a024c71bf6de",
              "operator": {
                "type": "number",
                "operation": "gt"
              },
              "leftValue": "={{ $json.transcriptWordCount }}",
              "rightValue": 50
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "8ce8541c-951c-4c43-9471-3c55f8fe0be1",
      "name": "Besprechungszusammenfassung generieren",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        960,
        -128
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4",
          "cachedResultName": "GPT-4"
        },
        "options": {
          "topP": 1,
          "maxTokens": 1000,
          "temperature": 0.3,
          "presence_penalty": 0,
          "frequency_penalty": 0
        },
        "messages": {
          "values": [
            {
              "role": "system",
              "content": "=You are an expert executive assistant specializing in creating professional meeting summaries. \n\nYour summaries should:\n1. Be concise but comprehensive (200-300 words)\n2. Highlight key discussion points in order of importance\n3. Note important decisions made during the meeting\n4. Capture the overall meeting context and objectives\n5. Use clear, professional business language\n6. Organize information logically with smooth flow\n\nFormat your summary in 3-4 clear paragraphs, NOT bullet points. Write in third person (e.g., \"The team discussed...\" not \"We discussed...\")."
            },
            {
              "content": "=Create a professional meeting summary for the following:\n\nMeeting Title: {{ $json.meetingTitle }}\nDate: {{ $json.meetingDate }}\nDuration: {{ $json.duration }}\nParticipants: {{ $json.participants.join(', ') }}\n\nTranscript:\n{{ $json.cleanedTranscript }}\n\nGenerate a comprehensive summary that captures the essence of this meeting."
            }
          ]
        }
      },
      "credentials": {
        "openAiApi": {
          "id": "5n856jvI80lSEErZ",
          "name": "Klinsman OpenAI"
        }
      },
      "typeVersion": 1.8
    },
    {
      "id": "89d1da2f-2eb8-4c87-b10d-74cccf6c0c2e",
      "name": "Maßnahmen extrahieren",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        960,
        128
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4",
          "cachedResultName": "GPT-4"
        },
        "options": {
          "maxTokens": 1500,
          "temperature": 0.2
        },
        "messages": {
          "values": [
            {
              "content": "=Extract all action items from this meeting transcript:\n\nMeeting Title: {{ $json.meetingTitle }}\nMeeting Date: {{ $json.meetingDate }}\n\nTranscript:\n{{ $json.cleanedTranscript }}\n\nReturn ONLY the JSON object with the action_items array. Do not include any other text, markdown formatting, or code blocks."
            },
            {
              "role": "system",
              "content": "=You are an expert at extracting action items from meeting transcripts. \n\nFor each action item, identify:\n1. **task**: Clear, actionable description of what needs to be done\n2. **assignee**: Person responsible (use their exact name from transcript)\n3. **deadline**: Due date if mentioned (format: YYYY-MM-DD), or null if not specified\n4. **priority**: Either 'urgent', 'high', 'normal', or 'low' based on context\n5. **context**: Brief note about why this task matters (1 sentence)\n\nRules:\n- Only extract clear, actionable tasks (not discussion points or general notes)\n- If no assignee is mentioned, set to \"Unassigned\"\n- Detect urgency from keywords: \"ASAP\", \"urgent\", \"immediately\", \"critical\", \"by end of day\"\n- If deadline isn't specific, infer from context clues (e.g., \"next week\" = meeting date + 7 days)\n- If someone says \"I'll do X\", that person is the assignee for X\n\nReturn ONLY a valid JSON object (no markdown, no code blocks) in this exact format:\n{\n  \"action_items\": [\n    {\n      \"task\": \"string\",\n      \"assignee\": \"string\",\n      \"deadline\": \"YYYY-MM-DD or null\",\n      \"priority\": \"urgent|high|normal|low\",\n      \"context\": \"string\"\n    }\n  ]\n}"
            }
          ]
        }
      },
      "credentials": {
        "openAiApi": {
          "id": "5n856jvI80lSEErZ",
          "name": "Klinsman OpenAI"
        }
      },
      "typeVersion": 1.8
    },
    {
      "id": "d5564407-0f3b-4128-aa3a-3db3f6b271a5",
      "name": "KI-Antworten kombinieren",
      "type": "n8n-nodes-base.merge",
      "position": [
        1360,
        0
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "9a4f0d20-75e6-4c83-8cf0-4d374485bc03",
      "name": "Daten parsen und anreichern",
      "type": "n8n-nodes-base.code",
      "position": [
        1632,
        0
      ],
      "parameters": {
        "jsCode": "// Get ALL items from Merge (Append gives us an array of items)\nconst items = $input.all();\n\nconsole.log('=== STARTING PARSE ===');\nconsole.log('Total items:', items.length);\n\n// Get metadata from earlier nodes\nlet codeData = {};\ntry {\n  codeData = $('Clean Transcript').first().json;\n  console.log('✓ Got metadata from Code node');\n} catch (error) {\n  console.log('✗ Could not access Code node:', error.message);\n}\n\n// Initialize with metadata\nlet meetingData = {\n  meetingTitle: codeData.meetingTitle || 'Untitled Meeting',\n  meetingDate: codeData.meetingDate || new Date().toISOString().split('T')[0],\n  participants: codeData.participants || [],\n  duration: codeData.duration || 'Not specified',\n  rawTranscript: codeData.rawTranscript || '',\n  cleanedTranscript: codeData.cleanedTranscript || '',\n  transcriptWordCount: codeData.transcriptWordCount || 0,\n  estimatedReadingTime: codeData.estimatedReadingTime || 'Unknown',\n  processingTimestamp: codeData.processingTimestamp || new Date().toISOString(),\n  summary: '',\n  actionItems: []\n};\n\nconsole.log('\\n=== PROCESSING', items.length, 'OPENAI RESPONSES ===');\n\n// Process each item from Merge\nitems.forEach((item, index) => {\n  console.log(`\\nItem ${index}:`);\n  \n  const data = item.json;\n  \n  // OpenAI node returns: { message: { role, content } }\n  if (data.message && data.message.content) {\n    const content = data.message.content;\n    console.log('  Content length:', content.length);\n    console.log('  Preview:', content.substring(0, 80));\n    \n    // Check if action items JSON\n    if (content.includes('\"action_items\"')) {\n      console.log('  → ACTION ITEMS');\n      try {\n        const parsed = JSON.parse(content);\n        meetingData.actionItems = parsed.action_items || [];\n        console.log('  ✓ Parsed:', meetingData.actionItems.length, 'items');\n      } catch (error) {\n        console.error('  ✗ Parse error:', error.message);\n      }\n    } else {\n      console.log('  → SUMMARY');\n      meetingData.summary = content.trim();\n      console.log('  ✓ Length:', meetingData.summary.length);\n    }\n  }\n});\n\nconsole.log('\\n=== RESULTS ===');\nconsole.log('Summary:', meetingData.summary ? `${meetingData.summary.length} chars` : 'EMPTY');\nconsole.log('Action Items:', meetingData.actionItems.length);\n\n// Enrich action items\nmeetingData.actionItems = meetingData.actionItems.map((item, index) => {\n  let formattedDeadline = 'TBD';\n  let daysUntil = null;\n  let deadlineStatus = 'no-deadline';\n  \n  if (item.deadline && item.deadline !== 'null' && item.deadline !== null) {\n    try {\n      const deadlineDate = new Date(item.deadline);\n      if (!isNaN(deadlineDate.getTime())) {\n        formattedDeadline = deadlineDate.toISOString().split('T')[0];\n        const today = new Date();\n        today.setHours(0, 0, 0, 0);\n        deadlineDate.setHours(0, 0, 0, 0);\n        daysUntil = Math.ceil((deadlineDate - today) / (1000 * 60 * 60 * 24));\n        \n        if (daysUntil < 0) deadlineStatus = 'overdue';\n        else if (daysUntil === 0) deadlineStatus = 'today';\n        else if (daysUntil <= 3) deadlineStatus = 'urgent';\n        else if (daysUntil <= 7) deadlineStatus = 'upcoming';\n        else deadlineStatus = 'future';\n      }\n    } catch (e) {}\n  }\n  \n  return {\n    id: `AI-${Date.now()}-${index}`,\n    number: index + 1,\n    task: item.task || 'No task description',\n    assignee: item.assignee || 'Unassigned',\n    deadline: formattedDeadline,\n    deadlineOriginal: item.deadline,\n    daysUntilDeadline: daysUntil,\n    deadlineStatus: deadlineStatus,\n    priority: (item.priority || 'normal').toLowerCase(),\n    context: item.context || '',\n    status: 'pending',\n    createdAt: new Date().toISOString(),\n    meetingReference: meetingData.meetingTitle,\n    meetingDate: meetingData.meetingDate\n  };\n});\n\n// Sort\nconst priorityOrder = { urgent: 0, high: 1, normal: 2, low: 3 };\nconst statusOrder = { overdue: 0, today: 1, urgent: 2, upcoming: 3, future: 4, 'no-deadline': 5 };\n\nmeetingData.actionItems.sort((a, b) => {\n  const priorityDiff = priorityOrder[a.priority] - priorityOrder[b.priority];\n  if (priorityDiff !== 0) return priorityDiff;\n  const statusDiff = statusOrder[a.deadlineStatus] - statusOrder[b.deadlineStatus];\n  if (statusDiff !== 0) return statusDiff;\n  if (a.deadline === 'TBD' && b.deadline !== 'TBD') return 1;\n  if (a.deadline !== 'TBD' && b.deadline === 'TBD') return -1;\n  if (a.deadline !== 'TBD' && b.deadline !== 'TBD') {\n    return new Date(a.deadline) - new Date(b.deadline);\n  }\n  return 0;\n});\n\nmeetingData.actionItems = meetingData.actionItems.map((item, index) => ({\n  ...item,\n  number: index + 1\n}));\n\n// Generate metadata\nconst urgentCount = meetingData.actionItems.filter(i => i.priority === 'urgent').length;\nconst highCount = meetingData.actionItems.filter(i => i.priority === 'high').length;\nconst normalCount = meetingData.actionItems.filter(i => i.priority === 'normal').length;\nconst lowCount = meetingData.actionItems.filter(i => i.priority === 'low').length;\nconst assigneeBreakdown = meetingData.actionItems.reduce((acc, item) => {\n  acc[item.assignee] = (acc[item.assignee] || 0) + 1;\n  return acc;\n}, {});\nconst overdueCount = meetingData.actionItems.filter(i => i.deadlineStatus === 'overdue').length;\nconst todayCount = meetingData.actionItems.filter(i => i.deadlineStatus === 'today').length;\nconst urgentDeadlineCount = meetingData.actionItems.filter(i => i.deadlineStatus === 'urgent').length;\nconst upcomingCount = meetingData.actionItems.filter(i => i.deadlineStatus === 'upcoming').length;\n\nmeetingData.summaryMetadata = {\n  generatedAt: new Date().toISOString(),\n  actionItemCount: meetingData.actionItems.length,\n  participantCount: meetingData.participants.length,\n  hasUrgentItems: urgentCount > 0,\n  hasHighPriorityItems: highCount > 0,\n  hasUnassignedItems: meetingData.actionItems.some(i => i.assignee === 'Unassigned'),\n  hasOverdueItems: overdueCount > 0,\n  hasTodayItems: todayCount > 0,\n  priorityBreakdown: { urgent: urgentCount, high: highCount, normal: normalCount, low: lowCount },\n  assigneeBreakdown: assigneeBreakdown,\n  itemsWithDeadlines: meetingData.actionItems.filter(i => i.deadline !== 'TBD').length,\n  itemsWithoutDeadlines: meetingData.actionItems.filter(i => i.deadline === 'TBD').length,\n  deadlineStatus: {\n    overdue: overdueCount,\n    today: todayCount,\n    urgent: urgentDeadlineCount,\n    upcoming: upcomingCount,\n    future: meetingData.actionItems.filter(i => i.deadlineStatus === 'future').length,\n    noDeadline: meetingData.actionItems.filter(i => i.deadlineStatus === 'no-deadline').length\n  },\n  upcomingDeadlines: upcomingCount + urgentDeadlineCount + todayCount,\n  overdueItems: overdueCount\n};\n\nconsole.log('\\n=== COMPLETE ===');\nconsole.log('Meeting:', meetingData.meetingTitle);\nconsole.log('Summary:', meetingData.summary.length, 'chars');\nconsole.log('Action Items:', meetingData.actionItems.length);\n\nreturn [{ json: meetingData }];"
      },
      "typeVersion": 2
    },
    {
      "id": "fc46776e-2b89-4a64-9145-7755101a5138",
      "name": "PDF-Dokument generieren",
      "type": "n8n-nodes-htmlcsstopdf.htmlcsstopdf",
      "position": [
        2000,
        -144
      ],
      "parameters": {
        "css_content": "=* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; line-height: 1.6; color: #1f2937; background: #ffffff; } .container { max-width: 900px; margin: 0 auto; padding: 60px 40px; } .header { border-bottom: 4px solid #3b82f6; padding-bottom: 30px; margin-bottom: 40px; background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%); padding: 40px; border-radius: 12px 12px 0 0; color: white; margin: -60px -40px 40px -40px; } .header h1 { font-size: 32px; font-weight: 700; margin-bottom: 12px; color: white; } .header .subtitle { font-size: 16px; opacity: 0.95; font-weight: 400; } .meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 30px; padding: 25px; background: rgba(255, 255, 255, 0.1); border-radius: 8px; } .meta-item { display: flex; flex-direction: column; } .meta-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.8; margin-bottom: 6px; font-weight: 600; } .meta-value { font-size: 15px; font-weight: 500; } .section { margin: 50px 0; } .section-header { display: flex; align-items: center; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid #e5e7eb; } .section-header h2 { font-size: 24px; color: #1e40af; font-weight: 700; margin: 0; } .section-header .icon { font-size: 28px; margin-right: 12px; } .summary-box { background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); padding: 30px; border-radius: 10px; line-height: 1.8; font-size: 15px; color: #1f2937; border-left: 5px solid #3b82f6; box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1); } .participants-box { background: #f9fafb; padding: 20px; border-radius: 8px; margin-bottom: 30px; } .participants-label { font-weight: 600; color: #374151; margin-bottom: 12px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; } .participant-tag { background: #f3f4f6; padding: 6px 12px; border-radius: 6px; font-size: 13px; color: #374151; margin-right: 8px; display: inline-block; margin-bottom: 6px; } table { width: 100%; border-collapse: collapse; background: white; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); border-radius: 8px; overflow: hidden; } thead { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); color: white; } th { padding: 18px 12px; text-align: left; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; } tbody tr { border-bottom: 1px solid #e5e7eb; } tbody tr:hover { background: #f9fafb; } td { padding: 16px 12px; } .task-cell { font-weight: 500; color: #1f2937; margin-bottom: 4px; } .task-context { font-size: 13px; color: #6b7280; font-style: italic; } .assignee-badge { background: #eff6ff; color: #1e40af; padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: 500; display: inline-block; } .priority-urgent { background: #ef4444; color: white; padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; } .priority-high { background: #f97316; color: white; padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; } .priority-normal { background: #3b82f6; color: white; padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; } .priority-low { background: #6b7280; color: white; padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; } .deadline-overdue { color: #dc2626; font-weight: 600; } .deadline-today { color: #ea580c; font-weight: 600; } .deadline-urgent { color: #f59e0b; font-weight: 600; } .deadline-upcoming { color: #3b82f6; } .deadline-future { color: #6b7280; } .urgent-banner { background: #fef2f2; border-left: 4px solid #ef4444; padding: 16px 20px; border-radius: 6px; margin-bottom: 20px; display: flex; align-items: center; } .urgent-banner-icon { font-size: 24px; margin-right: 12px; } .urgent-banner-text { color: #991b1b; font-weight: 600; font-size: 14px; } .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-top: 30px; } .stat-card { background: white; padding: 24px; border-radius: 10px; border: 2px solid #e5e7eb; text-align: center; } .stat-number { font-size: 36px; font-weight: 700; color: #3b82f6; margin-bottom: 8px; } .stat-label { font-size: 13px; color: #6b7280; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; } .footer { margin-top: 60px; padding-top: 30px; border-top: 2px solid #e5e7eb; text-align: center; color: #6b7280; font-size: 13px; }",
        "html_content": "=<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n  <meta charset=\"UTF-8\">\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n  <title>{{ $json.meetingTitle }} - Meeting Minutes</title>\n</head>\n<body>\n  <div class=\"container\">\n    <div class=\"header\">\n      <h1>📋 {{ $json.meetingTitle }}</h1>\n      <div class=\"subtitle\">Official Meeting Minutes & Action Items</div>\n      <div class=\"meta-grid\">\n        <div class=\"meta-item\">\n          <div class=\"meta-label\">📅 Date</div>\n          <div class=\"meta-value\">{{ $json.meetingDate }}</div>\n        </div>\n        <div class=\"meta-item\">\n          <div class=\"meta-label\">⏱️ Duration</div>\n          <div class=\"meta-value\">{{ $json.duration }}</div>\n        </div>\n        <div class=\"meta-item\">\n          <div class=\"meta-label\">👥 Attendees</div>\n          <div class=\"meta-value\">{{ $json.participants.length }} participants</div>\n        </div>\n        <div class=\"meta-item\">\n          <div class=\"meta-label\">📊 Action Items</div>\n          <div class=\"meta-value\">{{ $json.actionItems.length }} tasks</div>\n        </div>\n      </div>\n    </div>\n\n    {{ $json.summaryMetadata.hasOverdueItems || $json.summaryMetadata.hasTodayItems ? '<div class=\"urgent-banner\"><div class=\"urgent-banner-icon\">⚠️</div><div class=\"urgent-banner-text\">This meeting contains urgent action items requiring immediate attention!</div></div>' : '' }}\n\n    <div class=\"participants-box\">\n      <div class=\"participants-label\">Meeting Participants</div>\n      {{ $json.participants.map(p => `<span class=\"participant-tag\">${p}</span>`).join('') }}\n    </div>\n\n    <div class=\"section\">\n      <div class=\"section-header\">\n        <span class=\"icon\">📝</span>\n        <h2>Meeting Summary</h2>\n      </div>\n      <div class=\"summary-box\">{{ $json.summary }}</div>\n    </div>\n\n    <div class=\"section\">\n      <div class=\"section-header\">\n        <span class=\"icon\">✅</span>\n        <h2>Action Items</h2>\n      </div>\n      <table>\n        <thead>\n          <tr>\n            <th style=\"width:60px;text-align:center;\">#</th>\n            <th>Task</th>\n            <th style=\"width:180px;\">Assignee</th>\n            <th style=\"width:120px;text-align:center;\">Deadline</th>\n            <th style=\"width:120px;text-align:center;\">Priority</th>\n          </tr>\n        </thead>\n        <tbody>\n          {{ $json.actionItems.map(item => `\n            <tr>\n              <td style=\"text-align:center;font-weight:600;color:#3b82f6;\">#${item.number}</td>\n              <td>\n                <div class=\"task-cell\">${item.task}</div>\n                ${item.context ? `<div class=\"task-context\">${item.context}</div>` : ''}\n              </td>\n              <td><span class=\"assignee-badge\">${item.assignee}</span></td>\n              <td style=\"text-align:center;\">\n                <span class=\"deadline-${item.deadlineStatus}\">\n                  ${item.deadlineStatus === 'overdue' ? '⚠️ OVERDUE' : \n                    item.deadlineStatus === 'today' ? '📅 TODAY' :\n                    item.deadlineStatus === 'urgent' ? `⏰ ${item.daysUntilDeadline} days` :\n                    item.daysUntilDeadline ? `${item.daysUntilDeadline} days` : 'TBD'}\n                </span>\n              </td>\n              <td style=\"text-align:center;\">\n                <span class=\"priority-${item.priority}\">\n                  ${item.priority === 'urgent' ? '🔥 URGENT' :\n                    item.priority === 'high' ? '⚡ HIGH' :\n                    item.priority === 'normal' ? '📋 NORMAL' : 'LOW'}\n                </span>\n              </td>\n            </tr>\n          `).join('') }}\n        </tbody>\n      </table>\n    </div>\n\n    <div class=\"section\">\n      <div class=\"section-header\">\n        <span class=\"icon\">📊</span>\n        <h2>Summary Statistics</h2>\n      </div>\n      <div class=\"stats-grid\">\n        <div class=\"stat-card\">\n          <div class=\"stat-number\">{{ $json.summaryMetadata.actionItemCount }}</div>\n          <div class=\"stat-label\">Total Tasks</div>\n        </div>\n        <div class=\"stat-card\">\n          <div class=\"stat-number\">{{ $json.summaryMetadata.priorityBreakdown.high }}</div>\n          <div class=\"stat-label\">High Priority</div>\n        </div>\n        <div class=\"stat-card\">\n          <div class=\"stat-number\">{{ $json.summaryMetadata.upcomingDeadlines }}</div>\n          <div class=\"stat-label\">Due This Week</div>\n        </div>\n        <div class=\"stat-card\">\n          <div class=\"stat-number\">{{ $json.transcriptWordCount }}</div>\n          <div class=\"stat-label\">Transcript Words</div>\n        </div>\n      </div>\n    </div>\n\n    <div class=\"footer\">\n      <div style=\"font-size:20px;margin-bottom:12px;\">📋</div>\n      Generated automatically on {{ new Date().toLocaleString() }}<br>\n      Meeting Minutes Tracker · Powered by AI\n    </div>\n  </div>\n</body>\n</html>",
        "response_format_html": "base64"
      },
      "credentials": {
        "htmlcsstopdfApi": {
          "id": "i5YZc3zx5V2RWZsk",
          "name": "HtmlcsstopdfApi account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "dd362d07-117f-4069-9028-761e4105bf57",
      "name": "Alle Teilnehmer per E-Mail benachrichtigen",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2336,
        -144
      ],
      "webhookId": "e607a916-4f74-406a-9cc8-892c0b6b7568",
      "parameters": {
        "sendTo": "={{ $('Parse and Enrich Data').item.json.participants.join(',') }}",
        "message": "=<div style=\"font-family: Arial, sans-serif; max-width: 600px; margin: 0 auto; color: #1f2937;\">\n  <div style=\"background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%); padding: 30px; border-radius: 8px 8px 0 0; color: white;\">\n    <h2 style=\"margin: 0; font-size: 24px;\">📋 {{ $('Parse and Enrich Data').item.json.meetingTitle }} </h2>\n    <p style=\"margin: 10px 0 0 0; opacity: 0.9;\">Meeting Minutes & Action Items</p>\n  </div>\n  \n  <div style=\"background: #ffffff; padding: 30px; border: 1px solid #e5e7eb; border-top: none;\">\n    <p style=\"margin-top: 0;\">Hi team,</p>\n    \n    <p>The minutes from our meeting held on <strong>{{ $('Parse and Enrich Data').item.json.meetingDate }}</strong> are now available.</p>\n    \n    <div style=\"text-align: center; margin: 30px 0;\">\n      <a href=\"{{ $json.pdf_url }}\" style=\"display: inline-block; background: #3b82f6; color: white; padding: 14px 32px; text-decoration: none; border-radius: 6px; font-weight: 600; font-size: 16px;\">\n        📥 Download Meeting Minutes PDF\n      </a>\n    </div>\n    \n    <div style=\"background: #f9fafb; border-left: 4px solid #3b82f6; padding: 20px; margin: 30px 0; border-radius: 4px;\">\n      <h3 style=\"color: #1e40af; margin-top: 0; font-size: 18px;\">Action Items Summary</h3>\n      <ul style=\"line-height: 2; margin: 15px 0; padding-left: 20px;\">\n        {{ $('Parse and Enrich Data').item.json.actionItems.map(item => `\n          <li style=\"margin-bottom: 10px;\">\n            <strong>${item.task}</strong><br>\n            <span style=\"color: #6b7280; font-size: 14px;\">\n              Assigned to: ${item.assignee} | \n              Due: ${item.deadline} | \n              Priority: <span style=\"color: ${item.priority === 'high' || item.priority === 'urgent' ? '#ef4444' : '#3b82f6'};\">${item.priority.toUpperCase()}</span>\n            </span>\n          </li>\n        `).join('') }}\n      </ul>\n    </div>\n    \n    <div style=\"background: #eff6ff; padding: 15px; border-radius: 6px; margin: 20px 0;\">\n      <p style=\"margin: 0; font-size: 14px; color: #1e40af;\">\n        <strong>📊 Meeting Stats:</strong> \n        {{ $('Parse and Enrich Data').item.json.actionItems.length }} action items | \n        {{ $('Parse and Enrich Data').item.json.summaryMetadata.priorityBreakdown.high}} high priority | \n        {{$('Parse and Enrich Data').item.json.participants.length }} participants\n      </p>\n    </div>\n    \n    <p style=\"margin-top: 30px;\">The complete meeting minutes with full context and details are available in the PDF.</p>\n    \n    <p>Please review your assigned action items and reach out if you have any questions.</p>\n    \n    <p style=\"margin-bottom: 0;\">Best regards,<br><strong>Meeting Minutes Tracker</strong></p>\n  </div>\n  \n  <div style=\"background: #f9fafb; padding: 20px; border: 1px solid #e5e7eb; border-top: none; border-radius: 0 0 8px 8px; text-align: center;\">\n    <p style=\"margin: 0; color: #6b7280; font-size: 13px;\">\n      Generated automatically on {{ $now.format('MMMM d, yyyy [at] h:mm a') }}<br>\n      Powered by AI\n    </p>\n  </div>\n</div>",
        "options": {},
        "subject": "=📋 Meeting Minutes - {{ $('Parse and Enrich Data').item.json.meetingTitle }} ({{ $('Parse and Enrich Data').item.json.meetingDate }})"
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "6XrYdrG9HaDZyzGH",
          "name": "Gmail account - Akshita"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "fd293c09-5c23-49eb-9766-c95ee3eb88df",
      "name": "PDF von URL herunterladen",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2352,
        144
      ],
      "parameters": {
        "url": "={{ $json.pdf_url }}",
        "options": {
          "response": {
            "response": {
              "responseFormat": "file"
            }
          }
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "64259b9e-7983-4239-aae2-07542f928e6a",
      "name": "PDF in Drive speichern",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        2640,
        144
      ],
      "parameters": {
        "name": "=Meeting_Minutes_{{ $('Parse and Enrich Data').item.json.meetingTitle.replace(/ /g, '_') }}_{{ $('Parse and Enrich Data').item.json.meetingDate }}.pdf",
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive"
        },
        "options": {},
        "folderId": {
          "__rl": true,
          "mode": "list",
          "value": "1bYMdPQZm3Z4ChhZ6UjLMJb5BJKFOhp8R",
          "cachedResultUrl": "https://drive.google.com/drive/folders/1bYMdPQZm3Z4ChhZ6UjLMJb5BJKFOhp8R",
          "cachedResultName": "Minutes of Meeting"
        },
        "inputDataFieldName": "=data"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "cHZ7WuviBMkjVwrb",
          "name": "Google Drive account"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "994f49a2-c94d-4982-b827-a9be5c56b5a1",
      "name": "PDF-Download-Link hinzufügen",
      "type": "n8n-nodes-base.set",
      "position": [
        2912,
        144
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "9c0c1e1f-c4e4-4db6-add0-e97e768ec0d9",
              "name": "pdfUrl",
              "type": "string",
              "value": "={{ $json.webViewLink }}"
            },
            {
              "id": "6efe7494-9032-4a94-a3f8-c35d5f80865b",
              "name": "pdfFileName",
              "type": "string",
              "value": "={{ $json.name }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "49568bb8-c40b-4229-873d-d3bb2695b95b",
      "name": "Slack Kanal benachrichtigen",
      "type": "n8n-nodes-base.slack",
      "position": [
        3280,
        -64
      ],
      "webhookId": "1dcd2233-c899-440c-ab08-1c6fb69f484b",
      "parameters": {
        "text": "=:clipboard: *New Meeting Minutes Available*\n\n*Meeting:* {{ $('Parse and Enrich Data').item.json.meetingTitle }}\n*Date:* {{ $('Parse and Enrich Data').item.json.meetingDate }}\n*Participants:* {{ $('Parse and Enrich Data').item.json.participants .length }} attendees\n\n*Action Items Summary:*\n{{ $('Parse and Enrich Data').item.json.actionItems.map((item, i) => `${i + 1}. ${item.task} - ${item.assignee} (${item.deadline}) [${item.priority.toUpperCase()}]`).join('\\n') }}\n\n:link: *Download PDF:* {{ $json.pdfUrl }}",
        "select": "channel",
        "channelId": {
          "__rl": true,
          "mode": "list",
          "value": "C09GHQ8CL82",
          "cachedResultName": "leads"
        },
        "otherOptions": {
          "includeLinkToWorkflow": true
        },
        "authentication": "oAuth2"
      },
      "credentials": {
        "slackOAuth2Api": {
          "id": "iEf25ruXA6CT1PJH",
          "name": "Slack account 3 - Akshita"
        }
      },
      "typeVersion": 2.3
    },
    {
      "id": "76e76682-b710-4239-910f-9d464e04479b",
      "name": "Aufgaben nach Verantwortlichem gruppieren",
      "type": "n8n-nodes-base.code",
      "position": [
        3264,
        304
      ],
      "parameters": {
        "jsCode": "const parseData = $('Parse and Enrich Data').first().json;\nconst actionItems = parseData.actionItems || [];\nconst pdfUrl = $json.pdfUrl || $json.webViewLink || '';\n\nif (actionItems.length === 0) {\n  return [];\n}\n\n// Group tasks by assignee\nconst grouped = {};\nactionItems.forEach(item => {\n  if (!grouped[item.assignee]) {\n    grouped[item.assignee] = [];\n  }\n  grouped[item.assignee].push(item);\n});\n\n// Return one item per assignee\nreturn Object.keys(grouped).map(assignee => ({\n  json: {\n    assignee: assignee,\n    tasks: grouped[assignee],\n    taskCount: grouped[assignee].length,\n    meetingTitle: parseData.meetingTitle,\n    meetingDate: parseData.meetingDate,\n    pdfUrl: pdfUrl\n  }\n}));"
      },
      "typeVersion": 2
    },
    {
      "id": "b4a682ee-58a8-4bf4-a915-a4ac51d0f8dc",
      "name": "Individuelle Aufgaben-E-Mails senden",
      "type": "n8n-nodes-base.gmail",
      "position": [
        3632,
        304
      ],
      "webhookId": "229e1653-aac1-4a82-b2f8-a95d9536ea85",
      "parameters": {
        "sendTo": "={{ $json.assignee }}@yourcompany.com",
        "message": "=<div style=\"font-family: Arial, sans-serif; max-width: 600px; margin: 0 auto;\">\n  <div style=\"background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%); padding: 30px; border-radius: 8px 8px 0 0; color: white;\">\n    <h2 style=\"margin: 0; font-size: 24px;\">📋 {{ $json.meetingTitle }}</h2>\n    <p style=\"margin: 10px 0 0 0; opacity: 0.9;\">Action Items Assigned to You</p>\n  </div>\n  \n  <div style=\"background: white; padding: 30px; border: 1px solid #e5e7eb; border-top: none;\">\n    <p style=\"margin-top: 0;\">Hi <strong>{{ $json.assignee }}</strong>,</p>\n    \n    <p>You have <strong>{{ $json.taskCount }}</strong> action {{ $json.taskCount === 1 ? 'item' : 'items' }} from the meeting held on <strong>{{ $json.meetingDate }}</strong>:</p>\n    \n    {{ $json.tasks.map((task, i) => `\n      <div style=\"background: ${task.priority === 'high' || task.priority === 'urgent' ? '#fef2f2' : '#f0f9ff'}; border-left: 4px solid ${task.priority === 'high' || task.priority === 'urgent' ? '#ef4444' : '#3b82f6'}; padding: 20px; margin: 20px 0; border-radius: 4px;\">\n        <div style=\"display: flex; justify-content: space-between; align-items: start; margin-bottom: 10px;\">\n          <h3 style=\"margin: 0; color: #1e40af; font-size: 16px;\">Task ${i + 1}</h3>\n          <span style=\"background: ${task.priority === 'high' || task.priority === 'urgent' ? '#ef4444' : task.priority === 'normal' ? '#3b82f6' : '#6b7280'}; color: white; padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase;\">\n            ${task.priority === 'high' ? '⚡ HIGH' : task.priority === 'urgent' ? '🔥 URGENT' : task.priority === 'normal' ? '📋 NORMAL' : 'LOW'}\n          </span>\n        </div>\n        \n        <p style=\"font-size: 15px; font-weight: 600; color: #1f2937; margin: 10px 0; line-height: 1.5;\">\n          ${task.task}\n        </p>\n        \n        <div style=\"margin: 12px 0; padding: 12px; background: white; border-radius: 4px;\">\n          <p style=\"margin: 5px 0; color: #374151; font-size: 14px;\">\n            <strong>📅 Deadline:</strong> ${task.deadline} \n            ${task.daysUntilDeadline !== null ? `<span style=\"color: ${task.deadlineStatus === 'overdue' ? '#dc2626' : task.deadlineStatus === 'urgent' ? '#f59e0b' : '#6b7280'};\">(${task.daysUntilDeadline} day${task.daysUntilDeadline === 1 ? '' : 's'})</span>` : ''}\n          </p>\n          <p style=\"margin: 5px 0; color: #374151; font-size: 14px;\">\n            <strong>📌 Status:</strong> ${task.status}\n          </p>\n        </div>\n        \n        ${task.context ? `<p style=\"margin-top: 12px; font-style: italic; color: #6b7280; font-size: 13px; line-height: 1.5; padding-top: 12px; border-top: 1px dashed #d1d5db;\">${task.context}</p>` : ''}\n      </div>\n    `).join('') }}\n    \n    <div style=\"text-align: center; margin: 35px 0;\">\n      <a href=\"{{ $json.pdfUrl }}\" style=\"display: inline-block; background: #3b82f6; color: white; padding: 14px 28px; text-decoration: none; border-radius: 6px; font-weight: 600; font-size: 15px; box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);\">\n        📥 Download Full Meeting Minutes\n      </a>\n    </div>",
        "options": {},
        "subject": "=⚡ {{ $json.taskCount }} Action {{ $json.taskCount === 1 ? 'Item' : 'Items' }} from {{ $json.meetingTitle }}"
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "6XrYdrG9HaDZyzGH",
          "name": "Gmail account - Akshita"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "a75840d6-4c1f-4940-8a9b-9f05f121c754",
      "name": "Aufgaben zur Erstellung aufteilen",
      "type": "n8n-nodes-base.code",
      "position": [
        2000,
        528
      ],
      "parameters": {
        "jsCode": "const actionItems = $json.actionItems || [];\nconst meetingTitle = $json.meetingTitle;\nconst meetingDate = $json.meetingDate;\nconst pdfUrl = $json.pdfUrl || '';\n\nif (actionItems.length === 0) {\n  return [];\n}\n\n// Return one item per action item for task creation\nreturn actionItems.map(item => ({\n  json: {\n    task: item.task,\n    assignee: item.assignee,\n    deadline: item.deadline,\n    priority: item.priority,\n    context: item.context,\n    meetingTitle: meetingTitle,\n    meetingDate: meetingDate,\n    status: item.status,\n    daysUntilDeadline: item.daysUntilDeadline\n  }\n}));"
      },
      "typeVersion": 2
    },
    {
      "id": "59146f07-6b6c-4c0b-a31c-37afa7b01ef7",
      "name": "Aufgabe in Google Tasks erstellen",
      "type": "n8n-nodes-base.googleTasks",
      "position": [
        2304,
        528
      ],
      "parameters": {
        "task": "MTYxODQ3NTU3ODAzODc5Njg1NTk6MDow",
        "title": "={{ $json.task }}",
        "additionalFields": {
          "notes": "={{ $json.context }}  \nMeeting: {{ $json.meetingTitle }} \nDate: {{ $json.meetingDate }} \nAssignee: {{ $json.assignee }} \nPriority: {{ $json.priority }}",
          "dueDate": "={{ $json.deadline ? new Date($json.deadline + 'T12:00:00Z').toISOString() : null }}"
        }
      },
      "credentials": {
        "googleTasksOAuth2Api": {
          "id": "2DSvIyWd57G4NTCB",
          "name": "Google Tasks account 2 - Akshita"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "063a6dc6-cf1c-4a4a-9994-2fb1e9e8f291",
      "name": "Haftnotiz",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -304,
        -224
      ],
      "parameters": {
        "color": 7,
        "width": 288,
        "height": 352,
        "content": "## WEBHOOK ENDPOINT\n\n- Receives **POST** requests with meeting data.\n- **Expected payload**: title, date, participants[], duration, transcript\n- **Returns**: 200 status when workflow completes\n- **URL**: /webhook/meeting-minutes"
      },
      "typeVersion": 1
    },
    {
      "id": "22ca0f0e-3fc2-4dbc-b5d2-86fcc508c93b",
      "name": "Haftnotiz1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        16,
        -288
      ],
      "parameters": {
        "color": 7,
        "width": 304,
        "height": 464,
        "content": "## DATA NORMALIZATION\n\nExtracts fields from webhook body:\n- **meetingTitle** (defaults to \"Untitled Meeting\")\n- **meetingDate** (defaults to today)\n- **participants array**\n- **duration**\n- **rawTranscript**\nStandardizes input format for downstream processing."
      },
      "typeVersion": 1
    },
    {
      "id": "5173480f-55d9-4786-a46d-8f9ce7a7ef5d",
      "name": "Haftnotiz2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        352,
        -336
      ],
      "parameters": {
        "color": 7,
        "height": 480,
        "content": "## TRANSCRIPT CLEANING\n\nOperations performed:\n1. Removes **multiple spaces**\n2. Strips **timestamps** [00:00:00]\n3. Removes generic speaker labels\n4. **Counts words**\n5. Estimates **reading time** (200 words/min)\n**Output**: **cleanedTranscript** ready for AI processing"
      },
      "typeVersion": 1
    },
    {
      "id": "ba992adf-ec87-48bb-b130-b41af85ad4c4",
      "name": "Haftnotiz3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        624,
        -256
      ],
      "parameters": {
        "color": 7,
        "width": 272,
        "height": 400,
        "content": "## QUALITY GATE\n\n**Validates transcript** before **AI processing**:\n- Must not be empty\n- Must contain >50 words\n\n**If fails**: workflow stops** (no AI costs incurred)\n**If passes**: proceeds to **AI extraction**"
      },
      "typeVersion": 1
    },
    {
      "id": "66f5fafa-740b-4a27-893e-d4bcc4db9fcb",
      "name": "Haftnotiz4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        928,
        -336
      ],
      "parameters": {
        "color": 7,
        "width": 288,
        "height": 320,
        "content": "## OPENAI SUMMARY (GPT-4)\n\n**Temperature**: 0.3 (focused, consistent)\n**Max tokens**: 1000 (~750 words)\n**Generates**: Professional 200-300 word summary\n**Format**: 3-4 paragraphs, third person"
      },
      "typeVersion": 1
    },
    {
      "id": "5b0681a7-fd69-4f62-b881-2f27891871ef",
      "name": "Haftnotiz5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        928,
        112
      ],
      "parameters": {
        "color": 7,
        "width": 288,
        "height": 400,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n## OPENAI ACTION EXTRACTION (GPT-4)\n\n**Temperature**: 0.2 (precise extraction)\n**Max tokens**: 1500\n**Returns**: JSON array of action items\n**Each item**: task, assignee, deadline, priority, context\nDetects urgency from keywords (ASAP, urgent, critical)"
      },
      "typeVersion": 1
    },
    {
      "id": "0723ad57-23fb-41dc-9b95-71b4efda99d2",
      "name": "Haftnotiz6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1296,
        -240
      ],
      "parameters": {
        "color": 7,
        "height": 384,
        "content": "## COMBINE AI RESPONSES\n\n**Mode**: Append\n**Input 1**: Summary text\n**Input 2**: Action items JSON\n**Output**: 2-item array containing both responses\nBoth responses processed in **parallel** for speed"
      },
      "typeVersion": 1
    },
    {
      "id": "b63e42ec-dd33-4b4b-853c-126a905ef376",
      "name": "Haftnotiz7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1568,
        -368
      ],
      "parameters": {
        "color": 7,
        "width": 272,
        "height": 496,
        "content": "## DATA STRUCTURING\n\nOperations:\n1. **Extracts summary** text from response 1\n2. **Parses JSON** from response 2\n3. Enriches each action item with:\n   - Unique ID\n   - Days until deadline\n   - Deadline status (overdue/urgent/upcoming)\n4. Sorts by **priority then deadline**\n5. **Generates metadata** (counts, breakdowns)\nPulls meeting metadata from **Clean Transcript** node"
      },
      "typeVersion": 1
    },
    {
      "id": "96e5ac65-f844-45f2-b598-2f2d23667122",
      "name": "Haftnotiz8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1904,
        -448
      ],
      "parameters": {
        "color": 7,
        "width": 304,
        "height": 464,
        "content": "## PDF CONVERSION\n\n**Converts styled HTML + CSS to PDF**\nFeatures:\n- Gradient header with meeting info\n- Color-coded priority badges\n- Formatted action items table\n- Summary statistics cards\n**Output**: Base64 PDF data\n**Service**: htmlcsstopdf API\n**Link to the node**: https://www.npmjs.com/package/n8n-nodes-htmlcsstopdf"
      },
      "typeVersion": 1
    },
    {
      "id": "9e64cb89-011d-407f-b046-66f2b2723f04",
      "name": "Haftnotiz9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2288,
        -368
      ],
      "parameters": {
        "color": 7,
        "width": 352,
        "height": 368,
        "content": "## BULK EMAIL NOTIFICATION\n\n**Sends to**: All participants (comma-separated)\n**Contains**:\n- Meeting summary highlights\n- Action items list with assignees\n- Download link to PDF (added later)\n- Meeting statistics\nSent via Gmail API"
      },
      "typeVersion": 1
    },
    {
      "id": "e0f7c258-a987-4667-8eee-702336525b23",
      "name": "Haftnotiz10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2016,
        80
      ],
      "parameters": {
        "color": 7,
        "width": 480,
        "height": 208,
        "content": "## PDF URL FETCH\n\n- **Downloads PDF file** from **htmlcsstopdf** URL\n- Converts from URL to **binary data**\n- Required for Google Drive upload\n- **Response format**: Binary file"
      },
      "typeVersion": 1
    },
    {
      "id": "5c473a51-227c-4483-b064-d12c20482212",
      "name": "Haftnotiz11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2544,
        128
      ],
      "parameters": {
        "color": 7,
        "width": 288,
        "height": 432,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n## CLOUD STORAGE\n\n- **Select your own Google Drive folder for storing meeting minutes**\n- **Uploads PDF to**: \"Minutes of Meeting\" folder\n- **Filename**: **Meeting_Minutes_[Title]_[Date].pdf**\n- **Returns**: **webViewLink** for distribution\n- Provides **permanent storage**"
      },
      "typeVersion": 1
    },
    {
      "id": "649ba897-6e40-42c8-bbb1-e4dc1545f383",
      "name": "Haftnotiz12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2848,
        -80
      ],
      "parameters": {
        "color": 7,
        "height": 384,
        "content": "## URL EXTRACTION\n\n- Extracts **webViewLink** from **Drive** response\n- **Creates**: **pdfUrl** field\n- Preserves all existing meeting data\n- Required for downstream email/Slack notifications"
      },
      "typeVersion": 1
    },
    {
      "id": "2c634a33-5e61-4a88-b6ba-1488dca2cab8",
      "name": "Haftnotiz13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3184,
        -304
      ],
      "parameters": {
        "color": 7,
        "width": 320,
        "height": 384,
        "content": "## TEAM CHANNEL UPDATE\n\n**Posts to** : [#your-channel]\nIncludes:\n- Meeting title and date\n- Participant count\n- Action items summary with assignees\n- Direct PDF download link\n\nIncreases visibility across team"
      },
      "typeVersion": 1
    },
    {
      "id": "ff75e3fe-540c-4c7d-be9e-3c6b4b4d03b1",
      "name": "Haftnotiz14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3152,
        288
      ],
      "parameters": {
        "color": 7,
        "width": 320,
        "height": 416,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n## ASSIGNEE GROUPING\n\n**Input**: 3 individual action items\n**Processing**: Groups tasks by **assignee name**\n**Output**: 2 items (one per unique assignee)\n**Example**: Sarah gets 1 item with 2 tasks\nAkshita gets 1 item with 1 task\n\n- Reduces email volume (1 email per person vs per task)"
      },
      "typeVersion": 1
    },
    {
      "id": "d7d7e9b6-16b5-4db2-be87-20501af66bef",
      "name": "Haftnotiz15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3568,
        16
      ],
      "parameters": {
        "color": 7,
        "width": 336,
        "height": 464,
        "content": "## PERSONALIZED TASK NOTIFICATIONS\n\nSends to:**[assignee]@company.com**\nDynamic content:\n- Task count (singular/plural handling)\n- All tasks for that assignee\n- Priority-based color coding\n- Days until deadline calculated\n- PDF download link included\n**Loops**: Once per unique assignee"
      },
      "typeVersion": 1
    },
    {
      "id": "b26bb8e7-6955-42e2-997a-139105fcd227",
      "name": "Haftnotiz16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1888,
        512
      ],
      "parameters": {
        "color": 7,
        "width": 320,
        "height": 400,
        "content": "\n\n\n\n\n\n\n\n\n\n\n## TASK ITEM SEPARATION\n\n- **Input**: Complete meeting data with all action items\n- **Processing**: Creates separate item per action item\n- **Output**: N items (one per task)\n- **Purpose**: Allows individual task creation in Google Tasks\n- **Each item contains**: task, assignee, deadline, context"
      },
      "typeVersion": 1
    },
    {
      "id": "b7dd2f52-cc18-4636-846b-0038e3b23eb8",
      "name": "Haftnotiz17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2240,
        512
      ],
      "parameters": {
        "color": 7,
        "width": 272,
        "height": 544,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## TASK MANAGEMENT INTEGRATION\n\n**Select your preferred Google Tasks list**\n**Creates task** in: **Google Tasks**\nFields populated:\n- Title: Task description\n- Due date: ISO format with timezone\n- Notes: Context + meeting reference + assignee\n**Task List**: Default list\nEnables tracking in Google ecosystem"
      },
      "typeVersion": 1
    },
    {
      "id": "756c055c-ef44-4368-8531-44faa8ebb6a1",
      "name": "Haftnotiz18",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -816,
        -352
      ],
      "parameters": {
        "color": 7,
        "width": 464,
        "height": 1184,
        "content": "## MEETING MINUTES & ACTION ITEM TRACKER - OVERVIEW\n\n\nPURPOSE:\nAutomates the complete meeting documentation and task distribution \nprocess using AI. Converts raw meeting transcripts into professional \nPDFs, distributes to stakeholders, and creates trackable tasks.\n\nINPUT:\nPOST request to webhook with:\n- Meeting title, date, participants\n- Raw transcript text\n\nPROCESSING STAGES:\n1. DATA PREP: Cleans transcript, validates quality (>50 words)\n2. AI ANALYSIS: GPT-4 generates summary + extracts action items\n3. ENRICHMENT: Adds deadlines, priorities, sorts by urgency\n4. PDF CREATION: Generates professional document with styling\n5. DISTRIBUTION: Emails participants, saves to Drive, posts to Slack\n6. TASK MANAGEMENT: Sends personalized emails, creates Google Tasks\n\nOUTPUT:\n- Professional PDF (stored in Google Drive)\n- Email to all participants with overview\n- Individual emails to each assignee with their specific tasks\n- Slack notification to team channel\n- Tasks created in Google Tasks\n- All action items tracked with deadlines and priorities\n\nKEY FEATURES:\n✓ Parallel processing (speed optimized)\n✓ Priority detection (urgent/high/normal/low)\n✓ Deadline calculation (days remaining)\n✓ Automatic sorting (priority → deadline)\n✓ Grouped notifications (1 email per person, not per task)\n✓ Permanent storage (Google Drive)\n\n\nEXECUTION TIME:\n~30-45 seconds end-to-end\n\nDEPENDENCIES:\n- OpenAI API (GPT-4)\n- Gmail API\n- Google Drive API\n- Google Tasks API\n- Slack API\n- htmlcsstopdf API\n\nERROR HANDLING:\nCurrently no automatic retry. Manual rerun required on failure.\nConsider adding Error Trigger node for production use."
      },
      "typeVersion": 1
    },
    {
      "id": "2828c58b-106b-4131-8e52-7baf1478b85b",
      "name": "Haftnotiz19",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -288,
        512
      ],
      "parameters": {
        "color": 7,
        "width": 592,
        "height": 1136,
        "content": "## SETUP INSTRUCTIONS\n\nREQUIRED CREDENTIALS:\n1. OpenAI API - Get from https://platform.openai.com\n2. Gmail OAuth2 - Connect your Google account\n3. Google Drive OAuth2 - Same Google account\n4. Google Tasks OAuth2 - Same Google account\n5. Slack OAuth2 - Connect your workspace\n6. htmlcsstopdf API - Get from https://pdfmunk.com\n\n**CONFIGURATION STEPS**:\n- WEBHOOK: Note your webhook URL after activation\n\n- EMAIL NODES:\n   - \"Email All Participants\": Uses participants array from input\n   - \"Send Individual Task Emails\": Change @yourcompany.com to your domain\n\n- GOOGLE DRIVE:\n   - Select folder where PDFs should be stored\n   - Recommended: Create \"Meeting Minutes\" folder\n\n- SLACK:\n   - Select channel for team notifications\n   - Recommended: Create #meeting-notes channel\n\n- GOOGLE TASKS:\n   - Select task list where tasks should be created\n   - Default list works fine\n\nINPUT FORMAT:\nPOST to webhook with JSON:\n```\n{\n  \"title\": \"Meeting Title\",\n  \"date\": \"2025-09-29\",\n  \"participants\": [\"person1@email.com\", \"person2@email.com\"],\n  \"duration\": \"45 minutes\",\n  \"transcript\": \"Full meeting transcript text here...\"\n}\n```\nTESTING:\n1. Use the webhook URL with sample meeting data\n2. Check execution log for any errors\n3. Verify PDF in Google Drive\n4. Check emails were sent\n5. Confirm tasks created in Google Tasks\n\nCUSTOMIZATION:\n- Modify PDF styling in \"Generate PDF Document\" node\n- Adjust email templates in Gmail nodes\n- Change AI prompts in OpenAI nodes for different output\n- Modify priority/deadline logic in \"Parse and Enrich Data\""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "ff824dc2-123e-4310-a036-d320361fffe1",
  "connections": {
    "1d1d508e-f9b2-4175-83fc-3ab883990d8b": {
      "main": [
        [
          {
            "node": "2f05b28e-8aab-4f5f-b6ec-a61e96ec12de",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "64259b9e-7983-4239-aae2-07542f928e6a": {
      "main": [
        [
          {
            "node": "994f49a2-c94d-4982-b827-a9be5c56b5a1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d5564407-0f3b-4128-aa3a-3db3f6b271a5": {
      "main": [
        [
          {
            "node": "9a4f0d20-75e6-4c83-8cf0-4d374485bc03",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "89d1da2f-2eb8-4c87-b10d-74cccf6c0c2e": {
      "main": [
        [
          {
            "node": "d5564407-0f3b-4128-aa3a-3db3f6b271a5",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "49568bb8-c40b-4229-873d-d3bb2695b95b": {
      "main": [
        []
      ]
    },
    "022280e9-fc0f-4148-827f-14143ba4c11a": {
      "main": [
        [
          {
            "node": "81191e4b-f548-46b1-b8ca-8560653a33ab",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "994f49a2-c94d-4982-b827-a9be5c56b5a1": {
      "main": [
        [
          {
            "node": "49568bb8-c40b-4229-873d-d3bb2695b95b",
            "type": "main",
            "index": 0
          },
          {
            "node": "76e76682-b710-4239-910f-9d464e04479b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "fd293c09-5c23-49eb-9766-c95ee3eb88df": {
      "main": [
        [
          {
            "node": "64259b9e-7983-4239-aae2-07542f928e6a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "fc46776e-2b89-4a64-9145-7755101a5138": {
      "main": [
        [
          {
            "node": "dd362d07-117f-4069-9028-761e4105bf57",
            "type": "main",
            "index": 0
          },
          {
            "node": "fd293c09-5c23-49eb-9766-c95ee3eb88df",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9a4f0d20-75e6-4c83-8cf0-4d374485bc03": {
      "main": [
        [
          {
            "node": "fc46776e-2b89-4a64-9145-7755101a5138",
            "type": "main",
            "index": 0
          },
          {
            "node": "a75840d6-4c1f-4940-8a9b-9f05f121c754",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "dd362d07-117f-4069-9028-761e4105bf57": {
      "main": [
        []
      ]
    },
    "76e76682-b710-4239-910f-9d464e04479b": {
      "main": [
        [
          {
            "node": "b4a682ee-58a8-4bf4-a915-a4ac51d0f8dc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "81191e4b-f548-46b1-b8ca-8560653a33ab": {
      "main": [
        [
          {
            "node": "1d1d508e-f9b2-4175-83fc-3ab883990d8b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8ce8541c-951c-4c43-9471-3c55f8fe0be1": {
      "main": [
        [
          {
            "node": "d5564407-0f3b-4128-aa3a-3db3f6b271a5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a75840d6-4c1f-4940-8a9b-9f05f121c754": {
      "main": [
        [
          {
            "node": "59146f07-6b6c-4c0b-a31c-37afa7b01ef7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2f05b28e-8aab-4f5f-b6ec-a61e96ec12de": {
      "main": [
        [
          {
            "node": "8ce8541c-951c-4c43-9471-3c55f8fe0be1",
            "type": "main",
            "index": 0
          },
          {
            "node": "89d1da2f-2eb8-4c87-b10d-74cccf6c0c2e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b4a682ee-58a8-4bf4-a915-a4ac51d0f8dc": {
      "main": [
        []
      ]
    }
  }
}
Häufig gestellte Fragen

Wie verwende ich diesen Workflow?

Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.

Für welche Szenarien ist dieser Workflow geeignet?

Experte - Content-Erstellung, Multimodales KI

Ist es kostenpflichtig?

Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.

Workflow-Informationen
Schwierigkeitsgrad
Experte
Anzahl der Nodes38
Kategorie2
Node-Typen13
Schwierigkeitsbeschreibung

Für fortgeschrittene Benutzer, komplexe Workflows mit 16+ Nodes

Autor
Jitesh Dugar

Jitesh Dugar

@jiteshdugar

AI Automation Specialist - OpenAI, CRM & Automation Expert with a solid understanding of various tools that include Zapier, Make, Zoho CRM, Hubspot, Google Sheets, Airtable, Pipedrive, Google Analytics, and more.

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34