{
  "name": "Hubspot AI Manager - Automate your CRM!",
  "nodes": [
    {
      "id": "62cd6216-1bd6-4553-9684-c3a7b2df6fc6",
      "name": "When Chat Message Received from User",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "2f316528-ac2b-4106-a5a3-4a596ee96e98",
      "name": "HubSpot Contact Management Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        208,
        0
      ]
    },
    {
      "id": "7b189f06-6351-4cfc-9575-df8c283cc969",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        80,
        208
      ]
    },
    {
      "id": "0af6c915-73a7-4383-9c76-7fb16ffb82f3",
      "name": "Chat Conversation Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        224,
        208
      ]
    },
    {
      "id": "d672b884-00f9-41c1-9593-0a1281848350",
      "name": "Create or update a contact in HubSpot",
      "type": "n8n-nodes-base.hubspotTool",
      "position": [
        608,
        192
      ]
    },
    {
      "id": "3e76b70b-fed5-4437-9457-dca5a0a692f4",
      "name": "Find Contact by Company Name",
      "type": "n8n-nodes-base.hubspotTool",
      "position": [
        464,
        224
      ]
    },
    {
      "id": "a139f8ad-d7e3-4d84-b6ea-20f71308ece4",
      "name": "Search contacts in HubSpot",
      "type": "n8n-nodes-base.hubspotTool",
      "position": [
        368,
        208
      ]
    },
    {
      "id": "doc-note-1771263655471",
      "name": "Workflow Description",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -700,
        -150
      ],
      "parameters": {
        "width": 600,
        "height": 829,
        "content": "## Workflow Overview\n\nThis workflow creates an intelligent AI assistant that can manage your HubSpot contacts through natural conversation. Simply chat with the agent to search for contacts, add new l"
      }
    },
    {
      "id": "contact-note-1771263708644",
      "name": "Creator Contact Info",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -700,
        -610
      ],
      "parameters": {
        "width": 600,
        "height": 440,
        "content": "# Contact Us:\n## Milan @ SmoothWork - [Book a Free Consulting Call](https://smoothwork.ai/book-a-call/)\n![Milan](https://gravatar.com/avatar/95700d17ba300a9f14c1b8cacf933df7720027b3adda9cbe6183d891429"
      }
    },
    {
      "id": "video-note-1771324743907",
      "name": "Video Walkthrough",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -90,
        -610
      ],
      "parameters": {
        "width": 420,
        "height": 340,
        "content": "# Video Walkthrough\n[![image.png](https://vasarmilan-public.s3.us-east-1.amazonaws.com/blog_thumbnails/thumbnail_reczH8mtRj3GIIRiU.jpg)](https://youtu.be/GBKXYh2j74o)"
      }
    }
  ],
  "connections": {
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "HubSpot Contact Management Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Chat Conversation Memory": {
      "ai_memory": [
        [
          {
            "node": "HubSpot Contact Management Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Search contacts in HubSpot": {
      "ai_tool": [
        [
          {
            "node": "HubSpot Contact Management Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Find Contact by Company Name": {
      "ai_tool": [
        [
          {
            "node": "HubSpot Contact Management Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "When Chat Message Received from User": {
      "main": [
        [
          {
            "node": "HubSpot Contact Management Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create or update a contact in HubSpot": {
      "ai_tool": [
        [
          {
            "node": "HubSpot Contact Management Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}