💥🛠️Build a Web Search Chatbot with GPT-4o and MCP Brave Search
Configured with Agent, Chat Trigger, OpenAI Chat Model, Mcp Client Tool, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- AI & models
- Trigger
- Integration
- Data store
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| AI Agent | AI & models | Agent | See node parameters |
| When chat message received | Trigger | Chat Trigger | See node parameters |
| MCP Get Brave Tools | Integration | Mcp Client Tool | See node parameters |
| MCP Execute Brave Search | Integration | Mcp Client Tool | executeTool |
| Simple Memory | Data store | Memory Buffer Window | See node parameters |
| gpt-4o | AI & models | OpenAI Chat Model | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
mcpClientApiopenAiApi
Workflow notes
💥🛠️Your First Simple MCP AI Chatbot using Brave Search
💥🛠️Your First Simple MCP AI Chatbot using Brave Search
https://github.com/nerding-io/n8n-nodes-mcp https://brave.com/search/api/
🛠️ MCP Toolbox
🛠️ MCP Toolbox
https://github.com/nerding-io/n8n-nodes-mcp https://brave.com/search/api/
**Who is this for?**
Who is this for?
This 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.
What problem is this workflow solving?
This 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.
What this workflow does
- Listens for incoming chat messages using the Chat Trigger node.
- Processes user input with an AI Agent powered by GPT-4o.
- Retrieves relevant tools using the MCP Get Brave Tools node.
- Executes specific search queries via the MCP Execute Brave Search node.
- Maintains short-term memory of conversations with the Simple Memory node.
Setup
-
Prerequisites:
- Access to an n8n instance (self-hosted).
- API credentials for OpenAI and MCP Client Tools.
- Brave Search API key.
-
Steps:
- Import the workflow JSON into your n8n instance.
- Configure the API credentials for OpenAI and MCP Client Tools in their respective nodes.
- Set up your Brave Search API key in the MCP nodes. https://brave.com/search/api/
-
Testing:
- Use the built-in chat interface to send test messages.
- Verify that the chatbot processes queries and returns results as expected.
How to customize this workflow to your needs
- Modify the AI Agent's prompt settings to tailor responses to your specific use case.
- Adjust the memory buffer in the Simple Memory node to retain more or less conversational context.
- Replace or add additional tools in the MCP nodes to expand functionality.
💥🛠️Build a Web Search Chatbot with GPT-4o and MCP Brave Search
💥🛠️Build a Web Search Chatbot with GPT-4o and MCP Brave Search
Purpose and structure
This folder contains the 💥🛠️Build a Web Search Chatbot with GPT-4o and MCP Brave Search workflow. Its executable nodes use agent, chatTrigger, lmChatOpenAi, mcpClientTool, memoryBufferWindow. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
When chat message received
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Stickynote/1104_Stickynote_Create_Triggered.json MIT; preserve source notices.
Canvas section labels
These name areas of the original canvas; they do not include explanatory instructions.
- 1️⃣ MCP Get Brave Tools
- 2️⃣ MCP Execute Brave Search
- Short Term Chat Memory
- Cloud LLM
- 👍Try Me!
- 🤖 AI Agent with Tools