{
  "name": "Enhance Chat Responses with Real-Time Search via Bright Data MCP & Gemini AI",
  "nodes": [
    {
      "id": "7294b048-5804-4620-a53e-52df293c3df1",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -460,
        160
      ]
    },
    {
      "id": "8ff09a26-ffa4-451d-9452-35b8f2936cab",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -140,
        60
      ]
    },
    {
      "id": "92352366-7fe5-407d-aa34-96ac19b13284",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -240,
        280
      ]
    },
    {
      "id": "b6d947d1-9752-4aff-834c-de99ff1ad903",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -60,
        280
      ]
    },
    {
      "id": "73273d82-2a2f-41a2-ad1c-369f7a05ebe1",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -480,
        -200
      ]
    },
    {
      "id": "39464933-03e0-46a2-ba3b-ab96aa14461e",
      "name": "MCP Client list all tools for Bright Data",
      "type": "n8n-nodes-mcp.mcpClient",
      "position": [
        -260,
        -200
      ]
    },
    {
      "id": "9d0d498f-10da-4a66-9e59-1773089d5d7c",
      "name": "MCP Client Bright Data Search Tool",
      "type": "n8n-nodes-mcp.mcpClient",
      "position": [
        160,
        -200
      ]
    },
    {
      "id": "346fd1f7-be97-47b6-b767-74382dc90979",
      "name": "Set search query",
      "type": "n8n-nodes-base.set",
      "position": [
        -60,
        -200
      ]
    },
    {
      "id": "1dc4dabe-d651-4b43-b561-4528be14e578",
      "name": "Google Search Engine for Bright Data",
      "type": "n8n-nodes-mcp.mcpClientTool",
      "position": [
        240,
        540
      ]
    },
    {
      "id": "029f5e0e-070f-47a7-8c77-2b59ca01ada4",
      "name": "Bing Search Engine for Bright Data",
      "type": "n8n-nodes-mcp.mcpClientTool",
      "position": [
        40,
        540
      ]
    },
    {
      "id": "580d37de-deb9-49cf-b9b8-4d14edca28f2",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -40,
        460
      ],
      "parameters": {
        "width": 640,
        "height": 240,
        "content": "## Bright Data Search Engines"
      }
    },
    {
      "id": "bb77ba7c-c70e-4912-96f6-4f63b966c7a9",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -100,
        -260
      ],
      "parameters": {
        "width": 460,
        "height": 260,
        "content": "## Bright Data Google Search"
      }
    },
    {
      "id": "ecdd9f42-f56c-4bdb-b778-cd3b7545bb37",
      "name": "MCP Client List all tools",
      "type": "n8n-nodes-mcp.mcpClientTool",
      "position": [
        260,
        280
      ]
    },
    {
      "id": "a1adfa84-6e1a-4b5c-9148-feddb1e6ab72",
      "name": "HTTP Request for Webhook Notification",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        500,
        240
      ]
    },
    {
      "id": "ae88bb19-170f-443f-b777-561cf2e3be25",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -100,
        -400
      ],
      "parameters": {
        "width": 440,
        "height": 120,
        "content": "## Disclaimer\nThis template is only available on n8n self-hosted as it's making use of the community node for MCP Client."
      }
    },
    {
      "id": "80ac697d-2c4a-4f97-82aa-edcabbf7ef6f",
      "name": "Yandex Search Engine for Bright Data",
      "type": "n8n-nodes-mcp.mcpClientTool",
      "position": [
        460,
        540
      ]
    },
    {
      "id": "dfb2117d-782f-44d9-baca-1ee4b0fef863",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -940,
        -40
      ],
      "parameters": {
        "width": 400,
        "height": 220,
        "content": "## Note\nUse Bright Data MCP Search Engine assistant tools to perform Google, Bing or Yandex Search.\n\nThe AI Agent will make use of suitable search engine-based tools, returns the response to Chat and "
      }
    },
    {
      "id": "694b3381-8ebe-4afb-be93-019715c0c2cf",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -440,
        460
      ],
      "parameters": {
        "width": 300,
        "height": 180,
        "content": "## LLM Usage\nGoogle Gemini is employed by the AI agent to understand and interpret user queries. Based on this interpretation, the agent initiates a call to the appropriate MCP client to perform the r"
      }
    }
  ],
  "connections": {
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Set search query": {
      "main": [
        [
          {
            "node": "MCP Client Bright Data Search Tool",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "MCP Client List all tools": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "MCP Client list all tools for Bright Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Bing Search Engine for Bright Data": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Google Search Engine for Bright Data": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Yandex Search Engine for Bright Data": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request for Webhook Notification": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "MCP Client list all tools for Bright Data": {
      "main": [
        [
          {
            "node": "Set search query",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}