{
  "name": "Create meeting minutes from Telegram messages with GPT-5 to Airtable Slack Gmail",
  "nodes": [
    {
      "id": "af08414c-6227-4af0-831a-5832d7a2833c",
      "name": "GPT-4 Email Generator Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -560,
        1552
      ]
    },
    {
      "id": "98f24854-770a-45c7-b2b4-4be331d64ecc",
      "name": "Send Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        752,
        1456
      ]
    },
    {
      "id": "dfd67f2c-f977-4ef6-98c2-1433eca110dc",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        -1888,
        1280
      ]
    },
    {
      "id": "118fc989-2485-4e53-b2d3-17dfed0afe2a",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        -1472,
        1184
      ]
    },
    {
      "id": "b1c2fa2b-2d71-40c4-a36f-a086cce865ff",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -2304,
        1280
      ]
    },
    {
      "id": "dbc0240b-13ef-49ba-8da4-4677a27b8a0a",
      "name": "Voice note",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -1696,
        1184
      ]
    },
    {
      "id": "5ba230a3-bebe-4ee8-b160-8d0108adb6a8",
      "name": "Voice note download",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -1280,
        1184
      ]
    },
    {
      "id": "8cfbe3e0-aad3-4ca8-95cd-654b9ad29605",
      "name": "Transcription of voice notes to text",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -1072,
        1184
      ]
    },
    {
      "id": "0ec4455b-d8c7-433d-abb6-9767fdc0f0b4",
      "name": "WAIT",
      "type": "n8n-nodes-base.wait",
      "position": [
        -880,
        1184
      ]
    },
    {
      "id": "7b77efa8-1a8b-48f5-a821-e0e7a6d57a41",
      "name": "Content",
      "type": "n8n-nodes-base.code",
      "position": [
        -1696,
        1376
      ]
    },
    {
      "id": "9626d70e-4123-4f13-b77c-dadb936669e5",
      "name": "Message or Voice ?",
      "type": "n8n-nodes-base.code",
      "position": [
        -2096,
        1280
      ]
    },
    {
      "id": "8cbf2f84-adfa-4877-b59d-31dad7a4a23d",
      "name": "Generate Meeting Message",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -480,
        1264
      ]
    },
    {
      "id": "70d6a4e6-3197-4f9b-9fd5-dea831e0dc21",
      "name": "Create a record",
      "type": "n8n-nodes-base.airtable",
      "position": [
        256,
        1456
      ]
    },
    {
      "id": "bb193e7c-6511-453f-a782-5ab19119d3b7",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        16,
        1504
      ]
    },
    {
      "id": "45d090e1-1ba9-4324-bf34-3f3fe1a1b0a3",
      "name": "Send a message",
      "type": "n8n-nodes-base.slack",
      "position": [
        496,
        1424
      ]
    },
    {
      "id": "830ff5e8-0dd7-4167-9878-b0c4826f5b56",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2368,
        896
      ],
      "parameters": {
        "width": 1792,
        "height": 864,
        "content": "## Message sent to Telegram as voice note or text?  "
      }
    },
    {
      "id": "fbe9a6e9-f37f-4099-9795-320d96bea14d",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2384,
        1504
      ],
      "parameters": {
        "width": 336,
        "height": 288,
        "content": "![Alt text](https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExaXpjaWY5ajhyN3Zvc3U2aDhqOGkzOWg4M3hvdjl1ZHRzMGxwYTVrNCZlcD12MV9naWZzX3NlYXJjaCZjdD1n/ya4eevXU490Iw/giphy.gif)\n"
      }
    },
    {
      "id": "7aa66a3d-6731-4e4f-9145-2ca40b4240d1",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -592,
        1072
      ],
      "parameters": {
        "width": 544,
        "height": 688,
        "content": "## Generate meeting minutes\n- **Node**: Agent (“Generate Meeting Message”)  \n- **Prompt**: specialized for “meeting minutes”  \n- **Model**: GPT-4.1-mini  \n- **Output**: `{ email, subject, body }`  \n👉 "
      }
    },
    {
      "id": "dc3f7261-2467-403a-be7c-11c5b696f209",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -432,
        1504
      ],
      "parameters": {
        "width": 384,
        "height": 256,
        "content": "## Enforce clean JSON\n\n- **Node**: Output Parser Structured  \n- **JSON Example**:  \njson {\"email\": \"address@gmail.com\",\"subject\":\"Subject\",\"body\":Email\"}\n\n👉 Ensures the output is always valid JSON."
      }
    },
    {
      "id": "3901f82e-b400-424a-9a51-bff0212e0a04",
      "name": "Enforce Email JSON",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -176,
        1536
      ]
    },
    {
      "id": "ab43f248-cef7-4591-8b15-37faa102f8bd",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -48,
        1216
      ],
      "parameters": {
        "width": null,
        "height": 544,
        "content": "## Cleanup / Airtable mapping\n- **Node**: Code  \n- **Return**: `{ Email, subject, Report }`  \n👉 Prepares the correct fields aligned with your Airtable table.  "
      }
    },
    {
      "id": "076f6b32-e788-4bb7-85c4-0afb0caff168",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        192,
        1136
      ],
      "parameters": {
        "width": null,
        "height": 624,
        "content": "## Store in Airtable\n- **Node**: Airtable (Create Record)  \n- **Mapping**:  \n  - Email = `{{$json.Email}}`  \n  - subject = `{{$json.subject}}`  \n  - Report = `{{$json.Report}}`  \n👉 Archives each meeti"
      }
    },
    {
      "id": "e8bd763c-58de-458a-961b-96d66536dff0",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        432,
        1232
      ],
      "parameters": {
        "width": null,
        "height": 528,
        "content": "## Notify in Slack\n- **Node**: Slack (Send Message)  \n- **Channel**: your team channel  \n- **Message**:  {{$json.fields.subject}}{{$json.fields.Report}}"
      }
    },
    {
      "id": "3e97aa2f-e270-4896-842d-f0db6bdf713e",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        672,
        1120
      ],
      "parameters": {
        "width": null,
        "height": 640,
        "content": "## Send the email\n- **Node**: Gmail (Send Email)  \n- **sendTo**: `{{$('Create a record').item.json.fields.Email}}`  \n- **subject**: `{{$('Create a record').item.json.fields.subject}}`  \n- **message**:"
      }
    },
    {
      "id": "2d6d9fdf-9473-42ea-ab9e-4ac1993e9648",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -592,
        912
      ],
      "parameters": {
        "width": 182,
        "height": null,
        "content": "![Alt text](https://media1.tenor.com/m/y98Q1SkqLCAAAAAd/chat-gpt.gif)\n"
      }
    },
    {
      "id": "46a6e02b-bc0e-43fa-925c-7165a0153d42",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        192,
        1600
      ],
      "parameters": {
        "width": 246,
        "height": null,
        "content": "![Alt text](https://media1.tenor.com/m/WW0Y9Urm5yoAAAAC/airtable-project-management.gif)\n"
      }
    },
    {
      "id": "3a92f0d9-8221-4c53-931a-0745bd76eef7",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        448,
        1600
      ],
      "parameters": {
        "width": 198,
        "height": 192,
        "content": "![Alt text](https://media.tenor.com/go-I8u5XWoAAAAAi/slack-slackhq.gif)\n"
      }
    },
    {
      "id": "f934e87f-2486-4701-b3f3-38fd1fa37c2f",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        736,
        1616
      ],
      "parameters": {
        "width": 150,
        "height": 144,
        "content": "![Alt text](https://media0.giphy.com/media/v1.Y2lkPTc5MGI3NjExOGk3YThucTEycGtvZ3piaWlheW41aXlwYWo0MTllMWpqaWs0c2tnbCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/aOften89vRbG/giphy.gif)\n"
      }
    },
    {
      "id": "2f570729-0e5a-4b3a-aaff-4fd182ad5b2f",
      "name": "Code structure",
      "type": "n8n-nodes-base.code",
      "position": [
        -768,
        1376
      ]
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Voice note",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code": {
      "main": [
        [
          {
            "node": "Create a record",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "WAIT": {
      "main": [
        [
          {
            "node": "Code structure",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Voice note download",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Content": {
      "main": [
        [
          {
            "node": "Code structure",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Voice note": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code structure": {
      "main": [
        [
          {
            "node": "Generate Meeting Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send a message": {
      "main": [
        [
          {
            "node": "Send Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create a record": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Message or Voice ?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Enforce Email JSON": {
      "ai_outputParser": [
        [
          {
            "node": "Generate Meeting Message",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Message or Voice ?": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Voice note download": {
      "main": [
        [
          {
            "node": "Transcription of voice notes to text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Meeting Message": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GPT-4 Email Generator Model": {
      "ai_languageModel": [
        [
          {
            "node": "Generate Meeting Message",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Transcription of voice notes to text": {
      "main": [
        [
          {
            "node": "WAIT",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}