{
  "name": "Send meeting summaries with Mailchimp and MongoDB",
  "nodes": [
    {
      "id": "d5ca58c0-3486-4f86-b6cc-862653466a4b",
      "name": "📒  Meeting Notes Distributor – Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2224,
        -608
      ],
      "parameters": {
        "width": 550,
        "height": 786,
        "content": "## How it works\nThe workflow looks for newly-available meeting recordings every 24 hours, automatically uploads each audio file to a third-party transcription API and polls until the transcript is fin"
      }
    },
    {
      "id": "ad4b08bb-4509-4a24-bc38-117be0432a5c",
      "name": "Trigger & Retrieval (Info)",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1600,
        -512
      ],
      "parameters": {
        "width": 914,
        "height": 350,
        "content": "## Trigger & Retrieval\nThis group kicks off the automation and pulls raw meeting data.  The **Schedule Trigger** fires once per day but can be shortened or lengthened to suit your needs.  Immediately "
      }
    },
    {
      "id": "e5634918-8d10-458f-89a0-bd190f4a4704",
      "name": "Transcription & Summary (Info)",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -688,
        -512
      ],
      "parameters": {
        "width": 706,
        "height": 350,
        "content": "## Transcription & Summary\nEvery batch begins by posting the recording URL to a cloud transcription service.  A short **Wait** node pauses just long enough for small-to-medium meetings; you can increa"
      }
    },
    {
      "id": "b33b38f7-7f96-4428-a00b-8a04c9b8e190",
      "name": "Database Storage (Info)",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        32,
        -512
      ],
      "parameters": {
        "width": 722,
        "height": 398,
        "content": "## Database Storage\nBefore any outbound communication happens, the workflow stores everything safely in MongoDB.  A **Set node** assembles a clean document that includes meeting metadata, the full tra"
      }
    },
    {
      "id": "1d781821-8e5a-4f13-85c5-9653e1ed8d8b",
      "name": "Mailchimp Notifications (Info)",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1168,
        -48
      ],
      "parameters": {
        "width": 1810,
        "height": 350,
        "content": "## Mailchimp Notifications\nParticipant email addresses are pulled out, deduplicated and piped into Mailchimp one by one.  New contacts are subscribed automatically, while existing contacts are simply "
      }
    },
    {
      "id": "9484492e-6c53-493c-b090-f8a5ca09848e",
      "name": "Daily Schedule",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1648,
        -256
      ]
    },
    {
      "id": "86fd271c-feeb-415b-ba1a-1a39ef4c3575",
      "name": "Fetch Meetings",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1456,
        -256
      ]
    },
    {
      "id": "c7c8fae7-ed40-48ae-b55b-dd7e152e117c",
      "name": "Any Meetings?",
      "type": "n8n-nodes-base.if",
      "position": [
        -1248,
        -256
      ]
    },
    {
      "id": "8d02c83d-362a-445d-8280-560b3171ad96",
      "name": "Split Meetings",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -1056,
        -256
      ]
    },
    {
      "id": "18f98440-803e-4027-8873-05c3e6dcb9ee",
      "name": "Initiate Transcription",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -848,
        -256
      ]
    },
    {
      "id": "888f1892-4c4d-4c24-9b5d-bf827f995494",
      "name": "Wait 2 min",
      "type": "n8n-nodes-base.wait",
      "position": [
        -656,
        -256
      ]
    },
    {
      "id": "ea9501f8-bf91-41bb-a4f1-886ad991d233",
      "name": "Get Transcript",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -448,
        -256
      ]
    },
    {
      "id": "e7276ac7-e959-49f9-8061-a39029d6ff9e",
      "name": "Transcript Ready?",
      "type": "n8n-nodes-base.if",
      "position": [
        -256,
        -256
      ]
    },
    {
      "id": "97cd9d5a-be0a-49d4-b415-f9e0d4a86bb8",
      "name": "Summarise Transcript",
      "type": "n8n-nodes-base.code",
      "position": [
        -48,
        -256
      ]
    },
    {
      "id": "72764ce0-7075-4c52-9871-12dfc809bf29",
      "name": "Format Email",
      "type": "n8n-nodes-base.code",
      "position": [
        160,
        -256
      ]
    },
    {
      "id": "86d06771-0bb7-48f8-ad0d-5c67f2ebca2c",
      "name": "Prepare Mongo Document",
      "type": "n8n-nodes-base.set",
      "position": [
        352,
        -256
      ]
    },
    {
      "id": "9182c460-d2a1-4e4e-8a18-f434c0a34bda",
      "name": "Insert into MongoDB",
      "type": "n8n-nodes-base.mongoDb",
      "position": [
        560,
        -256
      ]
    },
    {
      "id": "0d8a5e28-ae71-41ad-9a97-46e5cacb5c58",
      "name": "Extract Participant Emails",
      "type": "n8n-nodes-base.code",
      "position": [
        384,
        64
      ]
    },
    {
      "id": "46b0e294-8f4f-4989-b278-72b88693df6a",
      "name": "Split Participants",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        192,
        64
      ]
    },
    {
      "id": "92682f05-138f-406e-8aff-03f8fd464246",
      "name": "Upsert Member",
      "type": "n8n-nodes-base.mailchimp",
      "position": [
        -16,
        64
      ]
    },
    {
      "id": "d01d3ded-bbd7-477d-b88a-f17281fcb57b",
      "name": "Merge For Campaign",
      "type": "n8n-nodes-base.merge",
      "position": [
        -224,
        64
      ]
    },
    {
      "id": "33ea6b4d-01ba-4230-9207-8e93e2fe44c4",
      "name": "Create Campaign",
      "type": "n8n-nodes-base.mailchimp",
      "position": [
        -416,
        64
      ]
    },
    {
      "id": "f17995e7-0324-43f4-8d41-b1073ecb6313",
      "name": "Set Campaign Content",
      "type": "n8n-nodes-base.mailchimp",
      "position": [
        -624,
        64
      ]
    },
    {
      "id": "d0a6c200-4163-4dc0-bb46-4b20da5af6aa",
      "name": "Send Campaign",
      "type": "n8n-nodes-base.mailchimp",
      "position": [
        -816,
        64
      ]
    },
    {
      "id": "6da40248-eda2-469c-af76-8dd1694b4c85",
      "name": "Mail Sent?",
      "type": "n8n-nodes-base.if",
      "position": [
        -1024,
        64
      ]
    }
  ],
  "connections": {
    "Wait 2 min": {
      "main": [
        [
          {
            "node": "Get Transcript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Email": {
      "main": [
        [
          {
            "node": "Prepare Mongo Document",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Any Meetings?": {
      "main": [
        [
          {
            "node": "Split Meetings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Campaign": {
      "main": [
        [
          {
            "node": "Mail Sent?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upsert Member": {
      "main": [
        [
          {
            "node": "Merge For Campaign",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Daily Schedule": {
      "main": [
        [
          {
            "node": "Fetch Meetings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Meetings": {
      "main": [
        [
          {
            "node": "Any Meetings?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Transcript": {
      "main": [
        [
          {
            "node": "Transcript Ready?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Meetings": {
      "main": [
        [
          {
            "node": "Initiate Transcription",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Campaign": {
      "main": [
        [
          {
            "node": "Set Campaign Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transcript Ready?": {
      "main": [
        [
          {
            "node": "Summarise Transcript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge For Campaign": {
      "main": [
        [
          {
            "node": "Create Campaign",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Participants": {
      "main": [
        [
          {
            "node": "Upsert Member",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Insert into MongoDB": {
      "main": [
        [
          {
            "node": "Extract Participant Emails",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Campaign Content": {
      "main": [
        [
          {
            "node": "Send Campaign",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summarise Transcript": {
      "main": [
        [
          {
            "node": "Format Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Initiate Transcription": {
      "main": [
        [
          {
            "node": "Wait 2 min",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Mongo Document": {
      "main": [
        [
          {
            "node": "Insert into MongoDB",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Participant Emails": {
      "main": [
        [
          {
            "node": "Split Participants",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}