Automate web searches directly from Telegram using this powerful n8n workflow. Integrate the Brave Search API via the specialized MCP n8n node for instant, private search results delivered to your chat.
Download this n8n workflow template and start using it instantly.
Users needing instant web search capabilities within Telegram.
Developers utilizing the MCP (Microservice Client Protocol) within n8n.
n8n users looking for advanced community n8n templates and custom n8n node integrations.
Automation specialists who want to build custom chat-based search agents using n8n workflow.
This solution solves the need for integrating external, high-quality web search context directly within a chat environment. By deploying this specific n8n workflow, you transform a Telegram bot into a sophisticated search agent powered by Brave Search. The key to this functionality is the custom n8n-nodes-mcp n8n node, which securely interfaces with the Brave Search API. This specific n8n template is ideal for users looking to leverage powerful external APIs directly within their automation logic, ensuring highly relevant and privacy-focused search results delivered instantly via a simple Telegram command. Setting up this n8n workflow requires configuring the Brave API key within the MCP credentials.
The n8n workflow is initiated by a specific command structure within Telegram.
Get Message n8n trigger waits for new messages in the configured Telegram chat.Search with Brave? n8n node checks if the message text starts with the specific command /brave . If this condition is met, the flow continues, filtering out irrelevant messages.Get Text n8n node and then processed by the Clean query n8n node (a Code node) to remove the initial /brave command, isolating the pure search term.List Brave Tools and Exec Brave tool MCP n8n nodes are called in sequence. These specialized n8n nodes use the provided Brave API key configured in the MCP credential to access the search functionality, executing the search query.Send message Telegram n8n node takes the content of the search results (usually formatted as HTML) and sends it back to the original user's Telegram chat ID, completing the loop of this powerful n8n workflow.n8n-nodes-mcp. Obtain a Brave Search API Key and a Telegram Bot Access Token.Get Message n8n trigger and Send message n8n node using your Bot Token.BRAVEAPIKEY environment variable within the Environment field, setting its value to your acquired Brave Search API Key./brave your search term to your configured Telegram bot to execute the n8n node logic. Get Message (Telegram Trigger n8n trigger):
Function: Initiates the n8n workflow upon receiving a new Telegram message, acting as the starting point (n8n trigger).
Key Configuration: Listens for message updates.
Search with Brave? (If n8n node):
Function: Filters incoming messages, ensuring the flow continues only if the message starts with the /brave command, a core logic piece of this n8n workflow.
Key Configuration: Checks if $json.message.text starts with /brave .
Clean query (Code n8n node):
Function: Uses custom JavaScript to process the message text, stripping the /brave command to prepare the clean search query for the Brave API.
Key Configuration: Defines a new JSON field query derived from the original text.
Exec Brave tool (mcpClient n8n node):
Function: Executes the actual Brave search function using the MCP protocol and the cleaned search query, relying on the appropriate MCP n8n node configuration.
Key Configuration: Passes the cleaned query from the Clean query n8n node to the toolParameters.
Send message (Telegram n8n node):
Function: Sends the compiled Brave search results back to the user via Telegram.
* Key Configuration: text is dynamically populated by the search result content ($json.result.content[0].text).
Use this advanced n8n workflow to automatically search for torrents via custom code and initiate downloads directly in your Transmission daemon, handling session ID security automatically.

Use this robust n8n workflow to expose eBay Catalog API search and retrieval endpoints as callable tools for any connected AI Agent. Easily deploy this custom n8n template for seamless product data extraction.

Use this interactive n8n workflow template to deploy a conversational AI agent powered by DeepSeek and SerpApi for real-time flight searching, comparing, and booking recommendations.

Use this robust n8n workflow template to integrate the Listen API for comprehensive podcast search, metadata management, and audience insights directly into your n8n AI agent architecture.

Full-stack Web Developer based in Italy specialising in Marketing & AI-powered automations. For business enquiries, send me an email at [email protected] or add me on Linkedin.com/in/davideboizza







































