Templates / AI-powered Telegram bot for data extraction with Bright Data MCP

AI-powered Telegram bot for data extraction with Bright Data MCP

Needs changes

by Cyril Nicko Gaspar ✓ · 1,871 views · created 2025-05-16 · Market Research, AI Chatbot

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What to replace before upgrading

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Agent (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (13)

AI AgentSimple MemoryOpenRouter Chat ModelTelegramMCP Client

What it does

!IMG0889.jpeg(fileId:1341) 📌 AI Agent Template with Bright Data MCP Tool Integration This template enables natural-language-driven automation using Bright Data MCP tools. It extracts all available tools from MCP, processes the user’s query through an AI agent, then dynamically selects and executes the appropriate tool. --- ❓ Problem It Solves Traditional automation often requires users to understand APIs, interfaces, or scripts to perform backend tasks. The Bright Data MCP integration solves this by allowing natural language interaction, intelligently classifying user intent, and managing context-aware execution of complex operations—ideal for data extraction, customer support, and workflow orchestration. --- 🧰 Pre-requisites Before deploying this template, make sure you have: An active N8N instance (self-hosted or cloud). A valid OpenRouter API key (or another compatible AI model). Telegram bot and its API token Access to the Bright Data MCP API with credentials. Basic familiarity with N8N workflows and nodes. --- ⚙️ Setup Instructions 1. Setup and obtain API token and other necessary information from Bright Data In your Bright Data account, obtain the following information: - API token - Web Unlocker zone name (optional) - Browser Zone name (optional) 2. Host SSE server from STDIO command The methods below will allow you to receive SSE (Server-Sent Events) from Bright Data MCP via a local Supergateway or Smithery Method 1: Run Supergateway in a separate web service (Recommended) This method will work for both cloud version and self-hosted N8N. Signup to any cloud services of your choice (DigitalOcean, Heroku, Hetzner, Render, etc.). For NPM based installation: - Create a new web service. - Choose Node.js as runtime environment and setup a custom server without repository. - In your server’s settings to define environment variables or .env file, add: APITOKEN=yourbrightdataapitoken WEBUNLOCKERZONE=optionalzonename BROWSERZONE=optionalbrowserzonename - Paste the following text as a start command: npx -y supergateway --stdio "npx -y @brightdata/mcp" --port 8000 --baseUrl http://localhost:8000 --ssePath /sse --messagePath /message - Deploy it and copy the web server URL, then append /sse into it. - Your SSE server should now be accessible at: https://yourserverurl/sse For Docker based installation: - Create a new web service. - Choose Docker as the runtime environment. - Set up your Docker environment by pulling the necessary images or creating a custom Dockerfile. - In your server’s settings to define environment variables or .env file, add: APITOKEN=yourbrightdataapitoken WEBUNLOCKERZONE=optionalzonename BROWSERAUTH=optionalbrowserauth - Use the following Docker command to run Supergateway: docker run -it --rm -p 8000:8000 supercorp/supergateway \ --stdio "npx -y @brightdata/mcp /" \ --port 8000 - Deploy it and copy the web server URL, then append /sse into it. - Your SSE server should now be accessible at: https://yourserverurl/sse For more installation guides, please refer to https://github.com/supercorp-ai/supergateway.git. Method 2: Run Supergateway in the same web service as the N8N instance This method will only work for self-hosted N8N. a. Set Required Environment Variables In your server's settings to define environment variables or .env file, add: APITOKEN=yourbrightdataapitoken WEBUNLOCKERZONE=optionalzonename BROWSERZONE=optionalbrowserzonename b. Run Supergateway in Background bash npx -y supergateway --stdio "npx -y @brightdata/mcp" --port 8000 --baseUrl http://localhost:8000 --ssePath /sse --messagePath /message Use the command above to execute it through the cloud shell or set it as a pre-deploy command. Your SSE server should now be accessible at: http://localhost:8000/sse For more installation guides, please refer to https://github.com/supercorp-ai/supergateway.git. Method 3: Configure via Smithery.ai (Easiest) If you don't want additional setup and want to test it right away, follow these instructions: Visi

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.