{
  "name": "Summarize calls & notify teams via HubSpot, Slack, Email, WhatsApp",
  "nodes": [
    {
      "id": "3d621f41-b73a-406a-bfda-fac0d2ed1499",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        800,
        340
      ],
      "parameters": {
        "width": 540,
        "height": 560,
        "content": "## Router agent\nMakes decisions with the help of an LLM  \n- Analyzes the content\n- Decides which part of the transcript is relevant to the different departments\n- Sends the emails to the departments\n"
      }
    },
    {
      "id": "249c22aa-58ca-40df-9157-7a00fbfd3dff",
      "name": "Router Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        960,
        540
      ]
    },
    {
      "id": "cffeafac-75e0-4a60-91d3-0a7d3bdb7371",
      "name": "Summarization",
      "type": "@n8n/n8n-nodes-langchain.chainSummarization",
      "position": [
        360,
        140
      ]
    },
    {
      "id": "ac5a16de-efb5-4603-bb52-2d85b007bf86",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        460,
        420
      ]
    },
    {
      "id": "8644b46e-b64c-415b-acfc-103ef5c71903",
      "name": "Gmail",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        1040,
        760
      ]
    },
    {
      "id": "b02e1dad-6f07-4215-a89b-fb0763232bcb",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -20,
        40
      ],
      "parameters": {
        "width": 260,
        "height": 260,
        "content": "## Set emails here\nFor each responsible person"
      }
    },
    {
      "id": "fec711e6-837a-4722-83b9-dc838770fcb3",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -300,
        40
      ],
      "parameters": {
        "width": 260,
        "height": 260,
        "content": "## Webhook \nTo be used to send the transcription."
      }
    },
    {
      "id": "2af225aa-95b9-4578-9c8c-0c49bb5e8510",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        800,
        40
      ],
      "parameters": {
        "width": 540,
        "height": 280,
        "content": "## Save transcription to Hubspot\n- Search for the client ID based on his email\n- Upload the summarized conversation as meeting notes"
      }
    },
    {
      "id": "fb226ebf-b62f-48ef-b291-17b4beb30ebc",
      "name": "Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        880,
        -160
      ]
    },
    {
      "id": "5622a2af-726d-468c-88b2-22d66a449128",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        800,
        -280
      ],
      "parameters": {
        "width": 540,
        "height": 300,
        "content": "## Send the summary to Slack and WhatsApp\n- Configure Slack Channel\n- Configure WhatsApp Recepient"
      }
    },
    {
      "id": "d8b2181f-1c52-417b-9fdd-776e64a920ab",
      "name": "WhatsApp Business Cloud",
      "type": "n8n-nodes-base.whatsApp",
      "position": [
        1120,
        -160
      ]
    },
    {
      "id": "039c62d8-3a33-4436-9577-e2dc45f9e694",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -220,
        140
      ]
    },
    {
      "id": "941ea710-68a5-46c7-b622-bf88b96430a7",
      "name": "Define routing emails",
      "type": "n8n-nodes-base.set",
      "position": [
        60,
        140
      ]
    },
    {
      "id": "8af03b9d-b647-4d4c-8903-dd32e4b6a434",
      "name": "HubSpot Search Client",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        880,
        160
      ]
    },
    {
      "id": "cb2bb828-ca8c-473a-a485-c8cde6116388",
      "name": "HubSpot Save Notes",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        1120,
        160
      ]
    }
  ],
  "connections": {
    "Gmail": {
      "ai_tool": [
        [
          {
            "node": "Router Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Slack": {
      "main": [
        [
          {
            "node": "WhatsApp Business Cloud",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook": {
      "main": [
        [
          {
            "node": "Define routing emails",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Router Agent": {
      "main": [
        []
      ]
    },
    "Summarization": {
      "main": [
        [
          {
            "node": "Router Agent",
            "type": "main",
            "index": 0
          },
          {
            "node": "HubSpot Search Client",
            "type": "main",
            "index": 0
          },
          {
            "node": "Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Summarization",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Router Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Define routing emails": {
      "main": [
        [
          {
            "node": "Summarization",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HubSpot Search Client": {
      "main": [
        [
          {
            "node": "HubSpot Save Notes",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}