AutomationMart
Home/Browse/AI-powered Telegram bot for data extraction with Bright Data MCP
n8n

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

n8nn8n16 modulesv1.0
agentexecuteWorkflowexecuteWorkflowTriggerhttpRequestiflmChatOpenRoutermanualTriggermcpClientToolmemoryBufferWindown8ntelegramwaitwebhook

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 languag

At a glance

AI-powered Telegram bot for data extraction with Bright Data MCP is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects agent, executeWorkflow, executeWorkflowTrigger, httpRequest. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
agent, executeWorkflow, executeWorkflowTrigger, httpRequest, if, lmChatOpenRouter
Modules
16
Price
Free
Version
v1.0
AI-powered Telegram bot for data extraction with Bright Data MCP workflow diagram

About this workflow

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 --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: 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: For more installation guides, please refer to 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: b. Run Supergateway in Background 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: For more installation guides, please refer to Method 3: Configure via Smithery.ai (Easiest) If you don't want additional setup and want to test it right away, follow these instructions: Visit to: Signup (if you are new to Smithery) Create an API key Define environment variables via a profile Retrieve your SSE server HTTP URL 3. Import the Workflow Open N8N. Import the JSON workflow file included with this template. Update any nodes referencing external services (e.g., OpenRouter, Telegram). 4. Setup Telegram Integration If you haven't setup a bot in Telegram, below is the instruction how to create one using BotFather: - Search for @BotFather in Telegram and start a conversation with it. - Send the command /newbot to create a new bot. You'll be prompted to enter a name and a unique username for your bot. - BotFather will provide you with an access token, which you'll need to use to interact with the bot's API. Edit the HTTP Request node in the workflow. Configure the URL as follows: Replace +yourtelegrambottoken+ with your actual Telegram bot token. Replace +yourwebhookurl+ with the URL from the Webhook Trigger node in the workflow. This will set up Telegram to forward messages to your n8n agent. --- 🔄 Workflow Functionality (Summary) The user submits a message via chat. Memory nodes retain context for multi-turn conversations. The mapped tool is executed and results are returned contextually. 🧠 Optional memory buffers and memory manager nodes keep the interaction context-aware. --- 🧩 Use Cases Data Scraping on Demand: Launch scraping tasks via chat. Lead Generation Bots: Enrich or validate leads with MCP tools. AI-Powered Customer Support: Classify and answer queries with real-time data tools. Workflow Assistants: Let teams run backend processes like lookups or report generation using plain language. --- 🛠️ Customization Classifier Prompt & Logic: Tweak the AI’s prompt and tool-matching schema to better fit your use case. Memory Configuration: Adjust retention policies and context depth. Tool Execution Sub-Workflow: Extend for retries, logging, or chaining actions. Omni-Channel Support: Connect via webhooks to chat interfaces like Slack, WhatsApp, Telegram, or custom UIs. --- ✅ Summary This template equips you with a powerful no-code/low-code AI agent that translates conversation into real-world action. Using Bright Data’s MCP tools through natural language, it enables teams to automate and scale data-driven tasks effortlessly.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Automate LinkedIn profile search & cold email outreach with OpenAI and Hunter

Problem 🚨 LinkedIn search is BROKEN. I waste hours on LinkedIn manually filtering profiles, reading summaries, hoping they’d reply—tedious, frustrating, inefficient. I wish LinkedIn had built an agent that would get me to the right profile with one click! If only I could just type: "Product managers working on YouTube Shorts' generative AI features." and seconds later, have LinkedIn URLs, names, emails, and full context about them. Introducing LinkGPT, a LinkedIn Agent, an automated agentic wor

Free

Analyze brand visibility in AI SERPs with SE Ranking and OpenAI GPT-4.1 mini

This workflow automates brand intelligence analysis across AI-powered search results by combining SE Ranking’s AI Search data with structured processing in n8n. It retrieves real AI-generated prompts, answers, and cited sources where a brand appears, then normalizes and consolidates this data into a clean, structured format. The workflow eliminates manual review of AI SERPs and makes it easy to understand how AI search engines describe, reference, and position a brand. Who this is for

Free

🛠️ State Management System for Long-Running Workflows with Wait Nodes

How it works This template is a powerful, reusable utility for managing stateful, long-running processes. It allows a main workflow to be paused indefinitely at "checkpoints" and then be resumed by external, asynchronous events. This pattern is essential for complex automations and I often call it the "Async Portal" or "Teleport" pattern. The template consists of two distinct parts: 1. The Main Process (Top Flow): This represents your primary business logic. It starts, performs some actions, and

Free

Amazon product search scraper with BrightData, GPT-4, and Google Sheets

This workflow automates web scraping of Amazon search result pages by retrieving raw HTML, cleaning it to retain only the relevant product elements, and then using an LLM to extract structured product data (name, description, rating, reviews, and price), before saving the results back to Google Sheets. It integrates Google Sheets to supply and collect URLs, BrightData to fetch page HTML, a custom n8n Function node to sanitize the HTML, LangChain (OpenRouter GPT-4) to parse product details, and G

Free

AI content creation and publishing engine with Mistral, Creatomate, and YouTube

Description This n8n workflow automates the entire process of creating and publishing AI-generated videos, triggered by a simple message from a Telegram bot (YTAdmin). It transforms a text prompt into a structured video with scenes, visuals, and voiceover, stores assets in MongoDB, renders the final output using Creatomate, and uploads the video to YouTube. Throughout the process, YTAdmin receives real-time updates on the workflow’s progress. This is ideal for content creators, marketers, or bus

Free

Get exchange rates from ČNB for Telegram messages

Whenever your Telegram bot receives a message with a valid currency code, Make will retrieve relevant exchange rate for it relative to Czech koruna and send it to your Telegram.

Free

Automate Etsy data mining with Bright Data Scrape & Google Gemini

Who this is for? The Automate Etsy Data Mining with Bright Data Scrape & Google Gemini workflow is designed for eCommerce analysts, product researchers, and AI developers seeking to extract actionable insights from Etsy listings at scale. It is ideal for: - eCommerce Entrepreneurs - Researching product demand and competition. - Market Analysts - Tracking pricing, reviews, and trends across Etsy categories. - Product Managers - Identifying niche opportunities and design inspirations. - Data Scie

Free

Build your own Qdrant vector store MCP server

This n8n demonstrates how to build your own Qdrant MCP server to extend its functionality beyond that of the official implementation. This n8n implementation exposes other cool API features from Qdrant such as facet search, grouped search and recommendations APIs. With this, we can build an easily customisable and maintainable Qdrant MCP server for business intelligence. This MCP example is based off an official MCP reference implementation which can be found here - How it works A MCP server t

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free