{
  "name": "Turn Gmail meeting summaries into HubSpot CRM records with OpenAI",
  "nodes": [
    {
      "id": "6b041fb7-dfe3-44be-9440-e943c80c358c",
      "name": "Gmail Trigger",
      "type": "n8n-nodes-base.gmailTrigger",
      "position": [
        128,
        -1152
      ]
    },
    {
      "id": "2abc8171-865e-40ed-8b30-5af017eaf015",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -416,
        -1664
      ],
      "parameters": {
        "width": 448,
        "height": 704,
        "content": "## Meeting Debrief → HubSpot CRM Automation\n\nThis workflow automatically converts meeting summary emails into structured HubSpot CRM updates using AI. It is designed for teams that use meeting recordi"
      }
    },
    {
      "id": "350b54cd-806b-4d4b-9264-2c3a2f6fec69",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        48,
        -1664
      ],
      "parameters": {
        "width": null,
        "height": 704,
        "content": "## Step:1 Gmail Trigger — Meeting Summary Intake\n\nTriggers the workflow when a new meeting summary email is received in Gmail.\n"
      }
    },
    {
      "id": "71a0750b-ecef-490b-bc0e-2a0eafe69f64",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        304,
        -1664
      ],
      "parameters": {
        "width": 224,
        "height": 704,
        "content": "## Step:2 Prepare & Normalize Summary\n\nExtracts and prepares the meeting summary text from the email for AI processing.\n"
      }
    },
    {
      "id": "19e518b9-fe26-4cc3-9017-f12e8d1ea54c",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        544,
        -1664
      ],
      "parameters": {
        "width": 304,
        "height": 704,
        "content": "## Step:3 AI Extraction — Structured Sales Data\n\nUses OpenAI to extract structured sales insights from the meeting summary.\n"
      }
    },
    {
      "id": "f532d0db-b6ef-44df-9f45-55300e75e125",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        880,
        -1664
      ],
      "parameters": {
        "width": 192,
        "height": 704,
        "content": "## Step:4 Parse AI JSON Output\n\nCleans and parses the AI response into valid JSON fields for CRM usage.\n"
      }
    },
    {
      "id": "1faa593f-4d7d-4c2f-a9c5-c5321e9e6e3a",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1088,
        -1664
      ],
      "parameters": {
        "width": 624,
        "height": 704,
        "content": "## Step:5 HubSpot CRM Updates\n\nCreates or updates HubSpot contact, deal, and meeting engagement automatically.\n"
      }
    },
    {
      "id": "a9ee7b9e-c970-48cb-acb6-58a4a2a55dc0",
      "name": "Prepare Meeting Summary",
      "type": "n8n-nodes-base.set",
      "position": [
        368,
        -1152
      ]
    },
    {
      "id": "1a7099fe-6db1-4082-8d56-0a1348201e84",
      "name": "Parse AI JSON Output",
      "type": "n8n-nodes-base.function",
      "position": [
        912,
        -1152
      ]
    },
    {
      "id": "c4e22869-7c4a-4e44-b927-b1385da499e6",
      "name": "Create Meeting Engagement",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        1520,
        -1152
      ]
    },
    {
      "id": "980f3f23-a396-4f94-a12c-1c6f58f25988",
      "name": "AI Extraction",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        592,
        -1152
      ]
    },
    {
      "id": "587f24da-f3c2-4686-af6f-904dc3d7e817",
      "name": "Update Deal",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        1344,
        -1152
      ]
    },
    {
      "id": "bc47d572-c59f-4bdd-bd14-9921339f9cf8",
      "name": "Create or Update Contact",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        1152,
        -1152
      ]
    }
  ],
  "connections": {
    "Update Deal": {
      "main": [
        [
          {
            "node": "Create Meeting Engagement",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Extraction": {
      "main": [
        [
          {
            "node": "Parse AI JSON Output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail Trigger": {
      "main": [
        [
          {
            "node": "Prepare Meeting Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse AI JSON Output": {
      "main": [
        [
          {
            "node": "Create or Update Contact",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Meeting Summary": {
      "main": [
        [
          {
            "node": "AI Extraction",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create or Update Contact": {
      "main": [
        [
          {
            "node": "Update Deal",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}