Build a powerful AI chatbot with this advanced n8n workflow. Integrate Bright Data MCP and OpenRouter LLMs for real-time web data extraction via a responsive Telegram messenger interface.
Download this n8n workflow template and start using it instantly.
Technical users needing robust web scraping capabilities via a chat interface.
Developers looking for sophisticated n8n templates integrating LLMs and external tools.
Teams who require real-time data lookups powered by an n8n workflow and Bright Data MCP.
Automation specialists building custom AI agents within n8n.
This comprehensive n8n workflow addresses the challenge of creating responsive AI chat agents that perform heavy computational tasks like web scraping or data extraction. By leveraging an asynchronous sub-workflow, this primary n8n trigger ensures the user always sees a 'typing...' indicator in Telegram while the main AI Agent is busy processing the request.
The central component is the LangChain AI Agent n8n node, which uses the Bright Data Mobile Collector Proxy (MCP) tool alongside an OpenRouter language model. This powerful combination allows the agent to execute real-time web searches and structured data extraction based on user queries received through the Telegram webhook n8n trigger. This structure showcases advanced usage of n8n templates for tool-augmented AI operations and complex flow control within n8n.
The entire process is initiated by the Receive Message Trigger from Telegram n8n trigger, which acts as a webhook.
Sub-workflow to trigger Typing Action n8n node asynchronously.Execute Workflow Trigger n8n node, receiving the chat ID and execution ID. It sends a Typing action via Telegram, waits 10 seconds, and then uses the n8n node to check the status of the main execution. If the main n8n workflow is still running, it loops back to send the 'Typing action' again, providing continuous feedback.AI Agent n8n node. This agent uses the OpenRouter Chat Model for reasoning and the Simple Memory n8n node for context retention.MCP Client n8n node, which utilizes the Bright Data tool to perform the necessary web search or scraping.AI Agent finishes processing, the final output is routed to the Send AI’s output to the user via Telegram n8n node, delivering the result back to the user.Reply Error Message n8n node to notify the user of the failure.Receive Message Trigger from Telegram n8n trigger and copy the generated webhook URL. Manually run the Set Telegram Webhook HTTP Request n8n node, replacing the API token and URL placeholders with your specific Telegram bot token and the copied webhook URL.OpenRouter Chat Model n8n node.Telegram n8n node instances.Check if the execution in N8N is finished n8n node to enable internal status polling.MCP Client n8n node if it differs from the default http://localhost:8000.Sub-workflow to trigger Typing Action n8n node correctly references the necessary secondary n8n template for the typing loop logic. Receive Message Trigger from Telegram (Webhook n8n trigger): The entry point for this n8n workflow, configured to listen for new Telegram messages.
AI Agent (LangChain Agent n8n node): The core intelligence, configured to use OpenRouter as the LLM, Simple Memory for conversational context, and the MCP Client tool for data retrieval.
OpenRouter Chat Model (LangChain LLM n8n node): Provides LLM capabilities, specified using the high-performance anthropic/claude-3.7-sonnet model.
MCP Client (LangChain Tool n8n node): Integrates Bright Data’s Mobile Collector Proxy capabilities, allowing the AI agent to initiate real-time, high-quality web data extraction via a specified SSE endpoint.
Sub-workflow to trigger Typing Action (Execute Workflow n8n node): Executes an asynchronous n8n workflow to send continuous 'typing' feedback, essential when processing time-consuming tasks like those initiated by the n8n trigger.
Check if the execution in N8N is finished (n8n node): Used within the sub-workflow loop to check the completion status of the parent n8n workflow using its execution ID, governing when the 'typing' action stops.
Deploy a powerful multichannel AI agent using this n8n workflow. Connect Telegram and WhatsApp to OpenAI for automated customer service, logging interactions and escalating complex queries via Google Sheets. Find the best n8n templates here.

Deploy a powerful n8n workflow that functions as an AI Technical Analyst. This n8n template uses LangChain agents, Perplexity research, and Tradingview data via dedicated n8n node components.

Deploy this powerful n8n workflow to create an AI-powered Mystic Tarot Reader. Automatically interpret iMessage text queries or card images using GPT and Blooio.

Automate task creation, listing, and completion directly from Telegram using this advanced n8n workflow. It leverages OpenAI Agents, memory, and Notion integration for seamless productivity management.

Automate Google Tasks via Telegram using an advanced n8n workflow. Includes voice note transcription, AI agent decision-making, and conversation memory.








































