{
  "name": "💥🛠️Build a web search chatbot with GPT-4o and MCP Brave Search",
  "nodes": [
    {
      "id": "b6e5eaa8-ddb3-4c13-8069-ce360bf4a945",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        240,
        -180
      ]
    },
    {
      "id": "dde0154e-f7c2-4778-abcc-f79406db5e6b",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -260,
        -180
      ]
    },
    {
      "id": "877ce640-4d08-4ba7-b1d3-bcfc79600d2c",
      "name": "MCP Get Brave Tools",
      "type": "n8n-nodes-mcp.mcpClientTool",
      "position": [
        200,
        280
      ]
    },
    {
      "id": "fb3ce3c2-a809-43e5-92d0-82db0d78a971",
      "name": "MCP Execute Brave Search",
      "type": "n8n-nodes-mcp.mcpClientTool",
      "position": [
        460,
        280
      ]
    },
    {
      "id": "357bde6a-66d0-48dc-972d-d0b35e3868ed",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -120,
        280
      ]
    },
    {
      "id": "3eba14c5-e4ed-4c4f-8f1d-2b5671b462cc",
      "name": "gpt-4o",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -380,
        280
      ]
    },
    {
      "id": "781e5d92-6e9d-4874-93fc-5ea17d11f67f",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        120,
        160
      ],
      "parameters": {
        "width": null,
        "height": 280,
        "content": "## 1️⃣ MCP Get Brave Tools"
      }
    },
    {
      "id": "78a52697-352f-47ed-a7d2-3a65c9641fd7",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        380,
        160
      ],
      "parameters": {
        "width": null,
        "height": 280,
        "content": "## 2️⃣ MCP Execute Brave Search"
      }
    },
    {
      "id": "876003d5-7d90-4865-af36-3c0e504b02e7",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -200,
        160
      ],
      "parameters": {
        "width": null,
        "height": 280,
        "content": "## Short Term Chat Memory"
      }
    },
    {
      "id": "9f64f499-73d7-414f-a3d3-02c0417368a6",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -460,
        160
      ],
      "parameters": {
        "width": null,
        "height": 280,
        "content": "## Cloud LLM"
      }
    },
    {
      "id": "fc423452-832c-4377-9bde-04ab6d5c89aa",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -500,
        -400
      ],
      "parameters": {
        "width": 1200,
        "height": 920,
        "content": "# 💥🛠️Your First Simple MCP AI Chatbot using Brave Search\nhttps://github.com/nerding-io/n8n-nodes-mcp\nhttps://brave.com/search/api/"
      }
    },
    {
      "id": "5c6c7307-3283-4698-9104-c80df8a62888",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        40
      ],
      "parameters": {
        "width": 580,
        "height": 440,
        "content": "## 🛠️ MCP Toolbox\nhttps://github.com/nerding-io/n8n-nodes-mcp\nhttps://brave.com/search/api/"
      }
    },
    {
      "id": "9d1bb515-f8fa-4d48-bbf5-c083f5efd89d",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -360,
        -240
      ],
      "parameters": {
        "width": 300,
        "height": 240,
        "content": "## 👍Try Me!"
      }
    },
    {
      "id": "b093a455-aee7-4822-b079-7d9cbac783c2",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1060,
        -400
      ],
      "parameters": {
        "width": 520,
        "height": 1040,
        "content": "### **Who is this for?**\nThis workflow is ideal for developers, automation enthusiasts, and businesses looking to integrate AI-powered chat capabilities into their workflows. It's particularly useful "
      }
    },
    {
      "id": "8fb4f215-da26-43ad-b187-9b52ed6485ba",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        -280
      ],
      "parameters": {
        "width": 580,
        "height": 280,
        "content": "## 🤖 AI Agent with Tools"
      }
    }
  ],
  "connections": {
    "gpt-4o": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "MCP Get Brave Tools": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "MCP Execute Brave Search": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}