{
  "name": "AI call summary to HubSpot + follow-up task",
  "nodes": [
    {
      "id": "62aa0111-3390-474f-9779-1d389398d3a0",
      "name": "Find Contact by Email",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        528,
        224
      ]
    },
    {
      "id": "bc13ee93-f748-4058-9429-a25883e9c25e",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        848,
        448
      ]
    },
    {
      "id": "1dbedf6b-1427-4127-a0bf-ac745c386e6a",
      "name": "Form: Capture Transcript",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        304,
        224
      ]
    },
    {
      "id": "e4ce0bc0-eaef-4d12-80af-8be92a32c059",
      "name": "AI: Summarize Call & Draft Task",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        848,
        224
      ]
    },
    {
      "id": "4fdbc6bf-5cf9-4eb1-9951-f865ec218126",
      "name": "Log Call Summary",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        1200,
        224
      ]
    },
    {
      "id": "23a2c237-2a38-48c8-9c6b-3ca2f07e1816",
      "name": "Create Follow-Up Task",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        1424,
        224
      ]
    },
    {
      "id": "8fcb293d-d6b2-4553-af27-cc340208fa8d",
      "name": "Update Contact from Transcript",
      "type": "n8n-nodes-base.hubspotTool",
      "position": [
        1040,
        448
      ]
    },
    {
      "id": "affbd7c1-1970-417b-b9e3-80ddea9a77bd",
      "name": "Parse Structured Output",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1216,
        448
      ]
    },
    {
      "id": "f3513e1b-b8d2-45e6-a073-9ce960255765",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        128
      ],
      "parameters": {
        "width": 448,
        "height": 304,
        "content": "## Get call transcript and contact"
      }
    },
    {
      "id": "a287568d-b9ac-408a-b529-8705d5a7ea3a",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        752,
        128
      ],
      "parameters": {
        "width": 880,
        "height": 496,
        "content": "## Add call summary, follow-up task and contact properties"
      }
    },
    {
      "id": "d15dd7dd-df8e-4e07-a23a-cacf7a8f0173",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -368,
        80
      ],
      "parameters": {
        "width": 544,
        "height": 544,
        "content": "## AI Call Summary to HubSpot + Follow-Up Task\n\n### How it works\n1. Open the **Form** to enter the contact’s email and a raw **call transcript**.\n2. The flow **finds the HubSpot contact** by email and"
      }
    }
  ],
  "connections": {
    "Log Call Summary": {
      "main": [
        [
          {
            "node": "Create Follow-Up Task",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI: Summarize Call & Draft Task",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Find Contact by Email": {
      "main": [
        [
          {
            "node": "AI: Summarize Call & Draft Task",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Structured Output": {
      "ai_outputParser": [
        [
          {
            "node": "AI: Summarize Call & Draft Task",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Form: Capture Transcript": {
      "main": [
        [
          {
            "node": "Find Contact by Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Contact from Transcript": {
      "ai_tool": [
        [
          {
            "node": "AI: Summarize Call & Draft Task",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "AI: Summarize Call & Draft Task": {
      "main": [
        [
          {
            "node": "Log Call Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}