{
  "name": "Meet Transcript Task Manager",
  "nodes": [
    {
      "parameters": {
        "triggerOn": "file",
        "folderId": "GOOGLE_DRIVE_FOLDER_ID_PLACEHOLDER",
        "download": true
      },
      "id": "1",
      "name": "Google Drive Trigger",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "typeVersion": 1,
      "position": [
        250,
        300
      ],
      "credentials": {
        "googleApi": "<your credential>"
      }
    },
    {
      "parameters": {
        "operation": "extractText",
        "binaryPropertyName": "data"
      },
      "id": "2",
      "name": "Extract Transcript",
      "type": "n8n-nodes-base.pdf",
      "typeVersion": 1,
      "position": [
        500,
        300
      ]
    },
    {
      "parameters": {
        "model": "gpt-4",
        "prompt": "Analyze the meeting transcript and extract: 1) List of tasks with deadlines, 2) Next meeting date, 3) Short summary. Format as JSON with keys tasks, meeting_date, summary."
      },
      "id": "3",
      "name": "OpenAI Analyze",
      "type": "n8n-nodes-base.openAi",
      "typeVersion": 1,
      "position": [
        750,
        300
      ],
      "credentials": {
        "openAiApi": "<your credential>"
      }
    },
    {
      "parameters": {
        "calendar": "primary",
        "start": "={{$json[\"meeting_date\"]}}",
        "end": "={{$json[\"meeting_date\"]}}",
        "summary": "Next Meeting",
        "description": "Auto-scheduled from meeting transcript."
      },
      "id": "4",
      "name": "Google Calendar Event",
      "type": "n8n-nodes-base.googleCalendar",
      "typeVersion": 1,
      "position": [
        1000,
        200
      ],
      "credentials": {
        "googleCalendarOAuth2Api": "<your credential>"
      }
    },
    {
      "parameters": {
        "resource": "databasePage",
        "operation": "create",
        "databaseId": "NOTION_DATABASE_ID_PLACEHOLDER",
        "properties": {
          "Name": {
            "title": [
              {
                "text": {
                  "content": "={{$json[\"tasks\"]}}"
                }
              }
            ]
          },
          "Date": {
            "date": {
              "start": "={{$json[\"meeting_date\"]}}"
            }
          }
        }
      },
      "id": "5",
      "name": "Notion Add Tasks",
      "type": "n8n-nodes-base.notion",
      "typeVersion": 1,
      "position": [
        1000,
        400
      ],
      "credentials": {
        "notionApi": "<your credential>"
      }
    },
    {
      "parameters": {
        "channel": "SLACK_CHANNEL_ID_PLACEHOLDER",
        "text": "New tasks and next meeting scheduled: {{$json[\"summary\"]}}"
      },
      "id": "6",
      "name": "Slack Notify",
      "type": "n8n-nodes-base.slack",
      "typeVersion": 1,
      "position": [
        1250,
        300
      ],
      "credentials": {
        "slackApi": "<your credential>"
      }
    },
    {
      "parameters": {
        "operation": "createDraft",
        "to": "team@example.com",
        "subject": "Meeting Summary & Next Steps",
        "body": "{{$json[\"summary\"]}}"
      },
      "id": "7",
      "name": "Gmail Draft",
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 1,
      "position": [
        1500,
        300
      ],
      "credentials": {
        "gmailOAuth2": "<your credential>"
      }
    }
  ],
  "connections": {
    "Google Drive Trigger": {
      "main": [
        [
          {
            "node": "Extract Transcript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Transcript": {
      "main": [
        [
          {
            "node": "OpenAI Analyze",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Analyze": {
      "main": [
        [
          {
            "node": "Google Calendar Event",
            "type": "main",
            "index": 0
          },
          {
            "node": "Notion Add Tasks",
            "type": "main",
            "index": 0
          },
          {
            "node": "Slack Notify",
            "type": "main",
            "index": 0
          },
          {
            "node": "Gmail Draft",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}