Brave Search to Telegram, answers right in your chat
Research shouldn’t feel like a browser scavenger hunt. But it often turns into one: switching tabs, losing the thread, copying links into chat, then repeating the same search again an hour later.
Brave Telegram search fixes that. It hits marketers doing quick competitive checks, founders answering “can you find…?” messages, and operators who just need facts without breaking focus.
This workflow lets you run Brave Search from Telegram with a simple /brave command, then get the result back in the same conversation. Below, you’ll see what it solves, what changes day-to-day, and what you need to set it up cleanly.
How This Automation Works
See how this solves the problem:
n8n Workflow Template: Brave Search to Telegram, answers right in your chat
flowchart LR
subgraph sg0["Get Message Flow"]
direction LR
n0@{ icon: "mdi:cog", form: "rounded", label: "List Brave Tools", pos: "b", h: 48 }
n1@{ icon: "mdi:cog", form: "rounded", label: "Exec Brave tool", pos: "b", h: 48 }
n2["<div style='background:#f5f5f5;padding:10px;border-radius:8px;display:inline-block;border:1px solid #e0e0e0'><img src='https://flowpast.com/wp-content/uploads/n8n-workflow-icons/code.svg' width='40' height='40' /></div><br/>Clean query"]
n3["<div style='background:#f5f5f5;padding:10px;border-radius:8px;display:inline-block;border:1px solid #e0e0e0'><img src='https://flowpast.com/wp-content/uploads/n8n-workflow-icons/telegram.svg' width='40' height='40' /></div><br/>Send message"]
n4["<div style='background:#f5f5f5;padding:10px;border-radius:8px;display:inline-block;border:1px solid #e0e0e0'><img src='https://flowpast.com/wp-content/uploads/n8n-workflow-icons/telegram.svg' width='40' height='40' /></div><br/>Get Message"]
n5@{ icon: "mdi:swap-horizontal", form: "rounded", label: "Search with Brave?", pos: "b", h: 48 }
n6@{ icon: "mdi:swap-vertical", form: "rounded", label: "Get Text", pos: "b", h: 48 }
n6 --> n2
n2 --> n0
n4 --> n5
n1 --> n3
n0 --> n1
n5 --> n6
end
%% Styling
classDef trigger fill:#e8f5e9,stroke:#388e3c,stroke-width:2px
classDef ai fill:#e3f2fd,stroke:#1976d2,stroke-width:2px
classDef aiModel fill:#e8eaf6,stroke:#3f51b5,stroke-width:2px
classDef decision fill:#fff8e1,stroke:#f9a825,stroke-width:2px
classDef database fill:#fce4ec,stroke:#c2185b,stroke-width:2px
classDef api fill:#fff3e0,stroke:#e65100,stroke-width:2px
classDef code fill:#f3e5f5,stroke:#7b1fa2,stroke-width:2px
classDef disabled stroke-dasharray: 5 5,opacity: 0.5
class n4 trigger
class n5 decision
class n2 code
classDef customIcon fill:none,stroke:none
class n2,n3,n4 customIcon
The Challenge: Fast research that doesn’t break your flow
When a question pops up in chat, you either ignore it (and look unreliable) or you go searching (and lose momentum). The annoying part isn’t the search itself. It’s everything around it: switching apps, retyping the query, copying results back to Telegram, then trying to remember what you already checked. If you’re doing this several times a day, it quietly steals about an hour of real work time, plus the mental load of constantly context-switching. And frankly, that’s where mistakes creep in too: wrong link, wrong query, or a rushed summary that misses the key detail.
It adds up fast. Here’s where it usually breaks down.
- You end up repeating the same searches because nothing is captured where the conversation is happening.
- Copying results into Telegram is tedious, so updates come late or not at all.
- “Quick research” turns into tab overload, and you lose track of what you were doing before the request came in.
- Private searches can become less private when you rely on ad-heavy engines or shared browser sessions.
The Fix: Brave Search results delivered straight to Telegram
This workflow turns Telegram into your search console. You send a message that starts with /brave and your query. n8n listens for new Telegram messages, checks that the command is present, then extracts the message text and cleans it by stripping out the /brave prefix. Next, it connects to Brave through an MCP Client (via the community node n8n-nodes-mcp), retrieves the available Brave tools, and runs the search tool using your cleaned query. The output is then sent back as a Telegram reply, right in the same chat where the question started. No tab hopping. No “hang on, let me look.” Just an answer that’s easy to share and easy to find later in the conversation.
The workflow starts with a Telegram message intake, then filters for /brave. From there, it prepares the query, executes Brave Search via MCP, and posts the results back to Telegram automatically.
What Changes: Before vs. After
| What This Eliminates | Impact You’ll See |
|---|---|
|
|
Real-World Impact
Say you get 10 “can you look this up?” messages in a day. Manually, each one is maybe 5 minutes: open a browser, search, skim, copy a link, then explain it in Telegram. That’s roughly 50 minutes, and it’s scattered across the day so it feels worse. With this workflow, you type /brave your query in Telegram (about 30 seconds), wait for the automation to return results, and you’re done. You still read the answer, but the busywork disappears.
Requirements
- n8n instance (try n8n Cloud free)
- Self-hosting option if you prefer (Hostinger works well)
- Telegram for the command and reply messages.
- Brave Search (via MCP Client) to run searches through Brave tools.
- Brave Search API key (get it from brave.com/search/api/).
Skill level: Intermediate. You’ll paste API keys, connect a Telegram bot, and set an environment variable for the MCP credential.
Need help implementing this? Talk to an automation expert (free 15-minute consultation).
The Workflow Flow
A Telegram message triggers it. The Telegram Trigger listens for new messages in your chosen chat, then passes the message into the workflow.
Only /brave commands go through. An If check filters messages so normal conversation doesn’t accidentally run searches (and doesn’t burn API calls).
The query is cleaned up. The workflow extracts the message text and strips the /brave prefix, leaving only what you actually want to search.
Brave Search runs and replies. n8n asks the MCP Client for available Brave tools, executes the search tool with your query, then sends the returned result back through Telegram.
You can easily modify the command format (for example, /news or /sources) to route to different tools or reply templates based on your needs. See the full implementation guide below for customization options.
Step-by-Step Implementation Guide
Step 1: Configure the Telegram Trigger
Set up the Telegram trigger to capture incoming messages and pass them into the workflow.
- Add and open Telegram Message Intake.
- Set Updates to
message(already configured). - Credential Required: Connect your telegramApi credentials.
- Save the node to generate the webhook for your Telegram bot.
Tip: Make sure your Telegram bot is started by the user; otherwise, it won’t receive messages.
Step 2: Connect the Brave Search Service
Authenticate the MCP client nodes that will fetch the available Brave tools and execute the search.
- Open Retrieve Brave Tools and connect credentials.
- Credential Required: Connect your mcpClientApi credentials.
- Open Run Brave Search and confirm it uses the same mcpClientApi credentials.
Step 3: Set Up the Command Filter and Message Extraction
Filter for the /brave command and extract the search text from Telegram messages.
- Open Brave Command Check and verify the condition checks if
={{ $json.message.text }}starts with/brave. - Open Extract Message Text and set the assignment text to
={{ $json.message.text }}. - Confirm the connection flow is Telegram Message Intake → Brave Command Check → Extract Message Text.
⚠️ Common Pitfall: The command check is case-sensitive. Users must type /brave exactly or the workflow won’t proceed.
Step 4: Set Up the Query Processing and Search Execution
Remove the command prefix, then run the Brave search using the MCP tool configuration.
- Open Strip Command Prefix and confirm the JavaScript code removes
/braveand setsitem.json.query. - Open Run Brave Search and set Operation to
executeTool. - Set Tool Name to
={{ $json.tools[0].name }}. - Set Tool Parameters to
={ "query":"{{ $('Strip Command Prefix').item.json.query }}" }. - Confirm the execution flow is Extract Message Text → Strip Command Prefix → Retrieve Brave Tools → Run Brave Search.
Step 5: Configure the Telegram Response
Send the Brave search result back to the original Telegram user.
- Open Send Telegram Reply.
- Set Text to
={{ $json.result.content[0].text }}. - Set Chat ID to
={{ $('Telegram Message Intake').item.json.message.from.id }}. - Keep Parse Mode as
HTMLin Additional Fields. - Credential Required: Connect your telegramApi credentials.
Step 6: Test and Activate Your Workflow
Run a manual test to confirm the workflow processes the command and returns a Brave search result.
- Click Execute Workflow and send a Telegram message like
/brave latest n8n features. - Verify that Send Telegram Reply returns a response to the same chat.
- If successful, toggle the workflow to Active to enable production usage.
Watch Out For
- Telegram bot permissions matter more than people expect. If replies don’t show up, check the bot is allowed to read messages and post in that specific chat.
- MCP Client credentials usually fail because the environment value is wrong. In the MCP credential, confirm the Environment field includes
BRAVE_API_KEY=...exactly, then re-test. - The output can feel “too raw” if you send it straight back to chat. If you want cleaner summaries, add an OpenAI Chat Model (already available in many stacks) to format results in your brand voice before the Telegram reply.
Common Questions
About 30 minutes if you already have your Telegram bot and Brave API key.
Yes, but you will need someone comfortable pasting API keys and testing a bot. No coding is required unless you want to change the command parsing.
Yes. n8n has a free self-hosted option and a free trial on n8n Cloud. Cloud plans start at $20/month for higher volume. You’ll also need to factor in Brave Search API usage, which depends on how often you query.
Two options: n8n Cloud (managed, easiest setup) or self-hosting on a VPS. For self-hosting, Hostinger VPS is affordable and handles n8n well. Self-hosting gives you unlimited executions but requires basic server management.
You can change the command handling in the “Strip Command Prefix” code node to support multiple commands like /brave, /news, or /sources. Many teams also swap the Telegram reply formatting in “Send Telegram Reply” to include a cleaner snippet, top 3 links only, or a short summary generated by an OpenAI Chat Model. If you want different Brave tools, adjust the selection logic between “Retrieve Brave Tools” and “Run Brave Search” so the workflow runs a specific tool instead of the first one returned.
Usually it’s the bot not having permission in the chat, or the wrong chat being targeted in your Telegram credentials. Regenerate or re-check your Telegram bot token, then confirm the bot is added to the chat and allowed to read and send messages. If the trigger works but replies fail, the issue is often the Send Message node pointing at a different chat ID than you expect.
On most setups, it comfortably handles dozens of searches a day.
Often, yes. This workflow relies on an MCP community node and a bit of message parsing, which is simpler to run and customize in n8n than in many “plug-and-play” tools. n8n also gives you more control over filtering (so only /brave runs) and how results are formatted before they hit Telegram. If you self-host, you’re not paying per tiny step, which matters once people start using it all day. Zapier or Make can still be fine for lightweight use, but they tend to get clunky when you add tool discovery, branching, and formatting. Talk to an automation expert if you want a quick recommendation for your setup.
Once this is running, “quick search” becomes a one-line message in Telegram. The workflow handles the repetitive part, so you can stay focused and keep the conversation moving.
Need Help Setting This Up?
Our automation experts can build and customize this workflow for your specific needs. Free 15-minute consultation—no commitment required.