8
n8n ํ•œ๊ตญ์–ดamn8n.com

๐Ÿ’ฅ๐Ÿ› ๏ธ GPT-4o์™€ MCP Brave Search๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋„คํŠธ์›Œํฌ ๊ฒ€์ƒ‰ ์ฑ„ํŒ… ๋กœ๋ด‡์„ ๊ตฌ์ถ•

์ค‘๊ธ‰

์ด๊ฒƒ์€์ž๋™ํ™” ์›Œํฌํ”Œ๋กœ์šฐ๋กœ, 15๊ฐœ์˜ ๋…ธ๋“œ๋ฅผ ํฌํ•จํ•ฉ๋‹ˆ๋‹ค.์ฃผ๋กœ McpClientTool, Agent, ChatTrigger, LmChatOpenAi, MemoryBufferWindow ๋“ฑ์˜ ๋…ธ๋“œ๋ฅผ ์‚ฌ์šฉํ•˜๋ฉฐ. ๐Ÿ’ฅ๐Ÿ› ๏ธ GPT-4o์™€ MCP Brave Search๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋„คํŠธ์›Œํฌ ๊ฒ€์ƒ‰ ์ฑ„ํŒ… ๋กœ๋ด‡ ๊ตฌ์ถ•

์‚ฌ์ „ ์š”๊ตฌ์‚ฌํ•ญ
  • โ€ขOpenAI API Key

์นดํ…Œ๊ณ ๋ฆฌ

-
์›Œํฌํ”Œ๋กœ์šฐ ๋ฏธ๋ฆฌ๋ณด๊ธฐ
๋…ธ๋“œ ์—ฐ๊ฒฐ ๊ด€๊ณ„๋ฅผ ์‹œ๊ฐ์ ์œผ๋กœ ํ‘œ์‹œํ•˜๋ฉฐ, ํ™•๋Œ€/์ถ•์†Œ ๋ฐ ์ด๋™์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค
์›Œํฌํ”Œ๋กœ์šฐ ๋‚ด๋ณด๋‚ด๊ธฐ
๋‹ค์Œ JSON ๊ตฌ์„ฑ์„ ๋ณต์‚ฌํ•˜์—ฌ n8n์— ๊ฐ€์ ธ์˜ค๋ฉด ์ด ์›Œํฌํ”Œ๋กœ์šฐ๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค
{
  "id": "6MRJ2tfl8c2f3AuE",
  "meta": {
    "instanceId": "31e69f7f4a77bf465b805824e303232f0227212ae922d12133a0f96ffeab4fef"
  },
  "name": "๐Ÿ’ฅ๐Ÿ› ๏ธBuild a Web Search Chatbot with GPT-4o and MCP Brave Search",
  "tags": [],
  "nodes": [
    {
      "id": "b6e5eaa8-ddb3-4c13-8069-ce360bf4a945",
      "name": "AI ์—์ด์ „ํŠธ",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        240,
        -180
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.8
    },
    {
      "id": "dde0154e-f7c2-4778-abcc-f79406db5e6b",
      "name": "์ฑ„ํŒ… ๋ฉ”์‹œ์ง€ ์ˆ˜์‹  ์‹œ",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -260,
        -180
      ],
      "webhookId": "68e54e15-548a-44df-ad06-7fb9e4e912a9",
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.1
    },
    {
      "id": "877ce640-4d08-4ba7-b1d3-bcfc79600d2c",
      "name": "MCP Brave ๋„๊ตฌ ๊ฐ€์ ธ์˜ค๊ธฐ",
      "type": "n8n-nodes-mcp.mcpClientTool",
      "position": [
        200,
        280
      ],
      "parameters": {},
      "credentials": {
        "mcpClientApi": {
          "id": "t2IDYWq0EcqBWvMA",
          "name": "MCP Client (STDIO) account 2"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "fb3ce3c2-a809-43e5-92d0-82db0d78a971",
      "name": "MCP Brave ๊ฒ€์ƒ‰ ์‹คํ–‰",
      "type": "n8n-nodes-mcp.mcpClientTool",
      "position": [
        460,
        280
      ],
      "parameters": {
        "toolName": "={{ $fromAI('tool', 'Set this with the specific tool name') }}",
        "operation": "executeTool",
        "toolParameters": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Tool_Parameters', ``, 'json') }}"
      },
      "credentials": {
        "mcpClientApi": {
          "id": "t2IDYWq0EcqBWvMA",
          "name": "MCP Client (STDIO) account 2"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "357bde6a-66d0-48dc-972d-d0b35e3868ed",
      "name": "์‹ฌํ”Œ ๋ฉ”๋ชจ๋ฆฌ",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -120,
        280
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "3eba14c5-e4ed-4c4f-8f1d-2b5671b462cc",
      "name": "gpt-4o",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -380,
        280
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o",
          "cachedResultName": "gpt-4o"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "jEMSvKmtYfzAkhe6",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "781e5d92-6e9d-4874-93fc-5ea17d11f67f",
      "name": "์Šคํ‹ฐ์ปค ๋…ธํŠธ",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        120,
        160
      ],
      "parameters": {
        "color": 4,
        "height": 280,
        "content": "## 1๏ธโƒฃ MCP Get Brave Tools"
      },
      "typeVersion": 1
    },
    {
      "id": "78a52697-352f-47ed-a7d2-3a65c9641fd7",
      "name": "์Šคํ‹ฐ์ปค ๋…ธํŠธ3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        380,
        160
      ],
      "parameters": {
        "color": 4,
        "height": 280,
        "content": "## 2๏ธโƒฃ MCP Execute Brave Search"
      },
      "typeVersion": 1
    },
    {
      "id": "876003d5-7d90-4865-af36-3c0e504b02e7",
      "name": "์Šคํ‹ฐ์ปค ๋…ธํŠธ4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -200,
        160
      ],
      "parameters": {
        "color": 3,
        "height": 280,
        "content": "## Short Term Chat Memory"
      },
      "typeVersion": 1
    },
    {
      "id": "9f64f499-73d7-414f-a3d3-02c0417368a6",
      "name": "์Šคํ‹ฐ์ปค ๋…ธํŠธ5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -460,
        160
      ],
      "parameters": {
        "color": 5,
        "height": 280,
        "content": "## Cloud LLM"
      },
      "typeVersion": 1
    },
    {
      "id": "fc423452-832c-4377-9bde-04ab6d5c89aa",
      "name": "์Šคํ‹ฐ์ปค ๋…ธํŠธ6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -500,
        -400
      ],
      "parameters": {
        "color": 7,
        "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/"
      },
      "typeVersion": 1
    },
    {
      "id": "5c6c7307-3283-4698-9104-c80df8a62888",
      "name": "์Šคํ‹ฐ์ปค ๋…ธํŠธ7",
      "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/"
      },
      "typeVersion": 1
    },
    {
      "id": "9d1bb515-f8fa-4d48-bbf5-c083f5efd89d",
      "name": "์Šคํ‹ฐ์ปค ๋…ธํŠธ8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -360,
        -240
      ],
      "parameters": {
        "color": 4,
        "width": 300,
        "height": 240,
        "content": "## ๐Ÿ‘Try Me!"
      },
      "typeVersion": 1
    },
    {
      "id": "b093a455-aee7-4822-b079-7d9cbac783c2",
      "name": "์Šคํ‹ฐ์ปค ๋…ธํŠธ1",
      "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 for those leveraging Brave Search and MCP tools to enhance user interactions and streamline data retrieval.\n\n### **What problem is this workflow solving?**\nThis workflow addresses the challenge of creating an intelligent chatbot that can process user queries, execute searches using Brave Search, and provide responses enriched by AI. It simplifies the integration of multiple tools into a cohesive system, saving time and effort for users who need a robust conversational AI solution.\n\n### **What this workflow does**\n- Listens for incoming chat messages using the **Chat Trigger** node.\n- Processes user input with an **AI Agent** powered by GPT-4o.\n- Retrieves relevant tools using the **MCP Get Brave Tools** node.\n- Executes specific search queries via the **MCP Execute Brave Search** node.\n- Maintains short-term memory of conversations with the **Simple Memory** node.\n\n### **Setup**\n1. **Prerequisites**:\n   - Access to an n8n instance (self-hosted).\n   - API credentials for OpenAI and MCP Client Tools.\n   - Brave Search API key.\n\n2. **Steps**:\n   - Import the workflow JSON into your n8n instance.\n   - Configure the API credentials for OpenAI and MCP Client Tools in their respective nodes.\n   - Set up your Brave Search API key in the MCP nodes. https://brave.com/search/api/\n\n3. **Testing**:\n   - Use the built-in chat interface to send test messages.\n   - Verify that the chatbot processes queries and returns results as expected.\n\n### **How to customize this workflow to your needs**\n- Modify the AI Agent's prompt settings to tailor responses to your specific use case.\n- Adjust the memory buffer in the Simple Memory node to retain more or less conversational context.\n- Replace or add additional tools in the MCP nodes to expand functionality.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "8fb4f215-da26-43ad-b187-9b52ed6485ba",
      "name": "์Šคํ‹ฐ์ปค ๋…ธํŠธ2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        -280
      ],
      "parameters": {
        "width": 580,
        "height": 280,
        "content": "## ๐Ÿค– AI Agent with Tools"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "a555f325-abd3-44bd-ac48-8b0f6910824e",
  "connections": {
    "3eba14c5-e4ed-4c4f-8f1d-2b5671b462cc": {
      "ai_languageModel": [
        [
          {
            "node": "b6e5eaa8-ddb3-4c13-8069-ce360bf4a945",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "357bde6a-66d0-48dc-972d-d0b35e3868ed": {
      "ai_memory": [
        [
          {
            "node": "b6e5eaa8-ddb3-4c13-8069-ce360bf4a945",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "877ce640-4d08-4ba7-b1d3-bcfc79600d2c": {
      "ai_tool": [
        [
          {
            "node": "b6e5eaa8-ddb3-4c13-8069-ce360bf4a945",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "fb3ce3c2-a809-43e5-92d0-82db0d78a971": {
      "ai_tool": [
        [
          {
            "node": "b6e5eaa8-ddb3-4c13-8069-ce360bf4a945",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "dde0154e-f7c2-4778-abcc-f79406db5e6b": {
      "main": [
        [
          {
            "node": "b6e5eaa8-ddb3-4c13-8069-ce360bf4a945",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
์ž์ฃผ ๋ฌป๋Š” ์งˆ๋ฌธ

์ด ์›Œํฌํ”Œ๋กœ์šฐ๋ฅผ ์–ด๋–ป๊ฒŒ ์‚ฌ์šฉํ•˜๋‚˜์š”?

์œ„์˜ JSON ๊ตฌ์„ฑ ์ฝ”๋“œ๋ฅผ ๋ณต์‚ฌํ•˜์—ฌ n8n ์ธ์Šคํ„ด์Šค์—์„œ ์ƒˆ ์›Œํฌํ”Œ๋กœ์šฐ๋ฅผ ์ƒ์„ฑํ•˜๊ณ  "JSON์—์„œ ๊ฐ€์ ธ์˜ค๊ธฐ"๋ฅผ ์„ ํƒํ•œ ํ›„, ๊ตฌ์„ฑ์„ ๋ถ™์—ฌ๋„ฃ๊ณ  ํ•„์š”์— ๋”ฐ๋ผ ์ธ์ฆ ์„ค์ •์„ ์ˆ˜์ •ํ•˜์„ธ์š”.

์ด ์›Œํฌํ”Œ๋กœ์šฐ๋Š” ์–ด๋–ค ์‹œ๋‚˜๋ฆฌ์˜ค์— ์ ํ•ฉํ•œ๊ฐ€์š”?

์ค‘๊ธ‰

์œ ๋ฃŒ์ธ๊ฐ€์š”?

์ด ์›Œํฌํ”Œ๋กœ์šฐ๋Š” ์™„์ „ํžˆ ๋ฌด๋ฃŒ์ด๋ฉฐ ์ง์ ‘ ๊ฐ€์ ธ์™€ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋‹ค๋งŒ, ์›Œํฌํ”Œ๋กœ์šฐ์—์„œ ์‚ฌ์šฉํ•˜๋Š” ํƒ€์‚ฌ ์„œ๋น„์Šค(์˜ˆ: OpenAI API)๋Š” ์‚ฌ์šฉ์ž ์ง์ ‘ ๋น„์šฉ์„ ์ง€๋ถˆํ•ด์•ผ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๊ด€๋ จ ์›Œํฌํ”Œ๋กœ์šฐ ์ถ”์ฒœ

โšก๐Ÿ“ฝ๏ธ ์ตœ์ข… AI ์ถ”๋™ YouTube ์š”์•ฝ ๋ฐ ๋ถ„์„ ์ฑ—๋ด‡
โšก๐Ÿ“ฝ๏ธ YouTube ์š”์•ฝ ๋ฐ ๋ถ„์„์— ์‚ฌ์šฉ๋˜๋Š” ๋ชจ๋“  ๊ธฐ๋Šฅ์„ ๊ฐ–์ถ˜ AI ์ฑ„ํŒ… ๋กœ๋ด‡
Set
Code
Merge
+
Set
Code
Merge
29 ๋…ธ๋“œJoseph LePage
์ธ๊ณต์ง€๋Šฅ
โœจ๐Ÿฉท ์ž๋™ํ™” ์†Œ์…œ ๋ฏธ๋””์–ด ์ฝ˜ํ…์ธ  ๋ฐฐํฌ ๊ณต์žฅ + ์‹œ์Šคํ…œ ํŠœ๋‹ ์กฐํ•ฉ
โœจ๐Ÿฉท ์ž๋™ํ™” ์†Œ์…œ ๋ฏธ๋””์–ด ์ฝ˜ํ…์ธ  ๋ฐฐํฌ ๊ณต์žฅ + ์‹œ์Šคํ…œ ํŠœ๋ง ์กฐํ•ฉ
If
Set
Code
+
If
Set
Code
100 ๋…ธ๋“œJoseph LePage
๋งˆ์ผ€ํŒ…
๐ŸŒ๐Ÿช› Jina.ai ์›น ํฌ๋กค๋Ÿฌ๋ฅผ ํฌํ•จํ•œ AI ๋Œ€๋ฆฌ์ž ์ฑ—๋ด‡
๐ŸŒ๐Ÿช› Jina.ai ์›น ํฌ๋กค๋Ÿฌ๋ฅผ ํฌํ•จํ•œ AI ๋Œ€๋ฆฌ์ž ์ฑ„ํŒ… ๋กœ๋ด‡
Agent
Chat Trigger
Lm Chat Open Ai
+
Agent
Chat Trigger
Lm Chat Open Ai
9 ๋…ธ๋“œJoseph LePage
์ธ๊ณต์ง€๋Šฅ
๐Ÿ‹ DeepSeek V3 ์ฑ„ํŒ…๊ณผ R1 ์ถ”๋ก  ๋น ๋ฅธ ์‹œ์ž‘
๐Ÿ‹ DeepSeek V3 ์ฑ„ํŒ…๊ณผ R1 ์ถ”๋ก  ๋น ๋ฅธ ์‹œ์ž‘
Http Request
Agent
Chain Llm
+
Http Request
Agent
Chain Llm
15 ๋…ธ๋“œJoseph LePage
๋นŒ๋”ฉ ๋ธ”๋ก
๐Ÿ‹๐Ÿค– DeepSeek AI ๋Œ€๋ฆฌ์ž + Telegram + ์žฅ๊ธฐ ๊ธฐ์–ต ๐Ÿง 
๐Ÿ‹๐Ÿค– DeepSeek AI ๋Œ€๋ฆฌ์ž + Telegram + ์žฅ๊ธฐ ๊ธฐ์–ต ๐Ÿง 
If
Set
Merge
+
If
Set
Merge
23 ๋…ธ๋“œJoseph LePage
์ธ๊ณต์ง€๋Šฅ
๐Ÿ”ฅ๐Ÿ“ˆ๐Ÿค– n8n ์ž‘์„ฑ์ž ๋žญํ‚น์— ์ ํ•ฉํ•œ AI ๋Œ€๋ฆฌ์ธ - ์ธ๊ธฐ ์ž‘์—… ํ๋ฆ„ ์ฐพ๊ธฐ
๐Ÿ”ฅ๐Ÿ“ˆ๐Ÿค– n8n ํฌ๋ฆฌ์—์ดํ„ฐ ๋žญํ‚น AI ์—์ด์ „ํŠธ - ์ธ๊ธฐ ์›Œํฌํ”Œ๋กœ์šฐ ์ฐพ๊ธฐ
Set
Sort
Limit
+
Set
Sort
Limit
43 ๋…ธ๋“œJoseph LePage
๊ธฐํƒ€
์›Œํฌํ”Œ๋กœ์šฐ ์ •๋ณด
๋‚œ์ด๋„
์ค‘๊ธ‰
๋…ธ๋“œ ์ˆ˜15
์นดํ…Œ๊ณ ๋ฆฌ-
๋…ธ๋“œ ์œ ํ˜•6
๋‚œ์ด๋„ ์„ค๋ช…

์ผ์ • ๊ฒฝํ—˜์„ ๊ฐ€์ง„ ์‚ฌ์šฉ์ž๋ฅผ ์œ„ํ•œ 6-15๊ฐœ ๋…ธ๋“œ์˜ ์ค‘๊ฐ„ ๋ณต์žก๋„ ์›Œํฌํ”Œ๋กœ์šฐ

์ €์ž
Joseph LePage

Joseph LePage

@joe

As an AI Automation consultant based in Canada, I partner with forward-thinking organizations to implement AI solutions that streamline operations and drive growth.

์™ธ๋ถ€ ๋งํฌ
n8n.io์—์„œ ๋ณด๊ธฐ โ†’

์ด ์›Œํฌํ”Œ๋กœ์šฐ ๊ณต์œ 

์นดํ…Œ๊ณ ๋ฆฌ

์นดํ…Œ๊ณ ๋ฆฌ: 34