{
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "e8bf8576-4cc1-4c4d-acda-7d6e2ebd5274",
      "name": "Create or update a contact in HighLevel",
      "type": "n8n-nodes-base.highLevelTool",
      "position": [
        16,
        272
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "1b49ce53-6218-4bbd-a305-d30a0948f5d5",
      "name": "Get many contacts in HighLevel",
      "type": "n8n-nodes-base.highLevelTool",
      "position": [
        208,
        272
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "6ed45615-277e-41f0-ab71-b9964f199645",
      "name": "Update a contact in HighLevel",
      "type": "n8n-nodes-base.highLevelTool",
      "position": [
        384,
        272
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "856d3be2-62dd-45ec-a2fb-0c38c25f5b09",
      "name": "Delete a contact in HighLevel",
      "type": "n8n-nodes-base.highLevelTool",
      "position": [
        560,
        272
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "6707ae40-24bb-4b04-9514-59ead88e991c",
      "name": "Get many opportunities in HighLevel",
      "type": "n8n-nodes-base.highLevelTool",
      "position": [
        -32,
        512
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "2edcfaa3-f510-4ba7-8692-173dea728cab",
      "name": "Create an opportunity in HighLevel",
      "type": "n8n-nodes-base.highLevelTool",
      "position": [
        208,
        512
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "6a8e9d72-18f2-4315-b774-759708d41419",
      "name": "Get an opportunity in HighLevel",
      "type": "n8n-nodes-base.highLevelTool",
      "position": [
        384,
        512
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "14764c44-5e29-42ec-9c98-d28f5b6bf593",
      "name": "Update an opportunity in HighLevel",
      "type": "n8n-nodes-base.highLevelTool",
      "position": [
        576,
        512
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "4c2f8136-ebfe-4c4d-b13a-1d472620c4f9",
      "name": "Book appointment in a calendar in HighLevel",
      "type": "n8n-nodes-base.highLevelTool",
      "position": [
        1168,
        272
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "b4cf2d42-5935-4c95-8b19-c5101430d7ca",
      "name": "Get free slots of a calendar in HighLevel",
      "type": "n8n-nodes-base.highLevelTool",
      "position": [
        1152,
        496
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "d35a5127-dad1-43cc-a956-a37ebb57042c",
      "name": "Create a task in HighLevel",
      "type": "n8n-nodes-base.highLevelTool",
      "position": [
        768,
        272
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "c70c896b-768d-4dce-98ad-337902272d90",
      "name": "Delete a task in HighLevel",
      "type": "n8n-nodes-base.highLevelTool",
      "position": [
        960,
        272
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "447aca82-25cd-4750-b264-af569e986636",
      "name": "Get a task in HighLevel",
      "type": "n8n-nodes-base.highLevelTool",
      "position": [
        784,
        528
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "946160d9-9dd0-40e6-82f1-6daaaa258b78",
      "name": "Update a task in HighLevel",
      "type": "n8n-nodes-base.highLevelTool",
      "position": [
        976,
        512
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "fec45473-1d54-4040-b2de-cd033f28f33a",
      "name": "GHL MCP server",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        0,
        0
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "912343d1-853a-4fae-a2f1-feedac117cdc",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -704,
        16
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "103ddd7c-bfde-4850-9775-062811e94660",
      "name": "AI Agent1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        48,
        -448
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "da2088bb-8223-48b0-bb02-353a5ac53602",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -256,
        -224
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "1749e189-8375-4a7b-824e-394ee3eef096",
      "name": "Postgres Chat Memory1",
      "type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
      "position": [
        -112,
        -224
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "44aeb70a-ba22-4138-98ae-3a2238da6d65",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -48,
        -544
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a87d2ed0-ff4e-48d7-9931-e0baf8b4efdb",
      "name": "MCP Client GHL",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        592,
        -320
      ],
      "parameters": {},
      "typeVersion": 1.1
    }
  ],
  "connections": {
    "MCP Client GHL": {
      "ai_tool": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Postgres Chat Memory1": {
      "ai_memory": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Get a task in HighLevel": {
      "ai_tool": [
        [
          {
            "node": "GHL MCP server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create a task in HighLevel": {
      "ai_tool": [
        [
          {
            "node": "GHL MCP server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Delete a task in HighLevel": {
      "ai_tool": [
        [
          {
            "node": "GHL MCP server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Update a task in HighLevel": {
      "ai_tool": [
        [
          {
            "node": "GHL MCP server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Delete a contact in HighLevel": {
      "ai_tool": [
        [
          {
            "node": "GHL MCP server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Update a contact in HighLevel": {
      "ai_tool": [
        [
          {
            "node": "GHL MCP server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get many contacts in HighLevel": {
      "ai_tool": [
        [
          {
            "node": "GHL MCP server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create an opportunity in HighLevel": {
      "ai_tool": [
        [
          {
            "node": "GHL MCP server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Update an opportunity in HighLevel": {
      "ai_tool": [
        [
          {
            "node": "GHL MCP server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get many opportunities in HighLevel": {
      "ai_tool": [
        [
          {
            "node": "GHL MCP server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create or update a contact in HighLevel": {
      "ai_tool": [
        [
          {
            "node": "GHL MCP server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get free slots of a calendar in HighLevel": {
      "ai_tool": [
        [
          {
            "node": "GHL MCP server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Book appointment in a calendar in HighLevel": {
      "ai_tool": [
        [
          {
            "node": "GHL MCP server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}