⚒️ Query-to-action automation with Bright Data MCP & OpenAI GPT

823 views · ⚒️ Engineering

💡 Pro Tip — HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it — it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

📌 AI Agent Template with Bright Data MCP Tool Integration

This template obtains all the possible tools from Bright Data MCP, process this through chatbot, then run any tool based on the user’s query


❓ Problem It Solves

The problem that the MCP solves is the complexity and difficulty of traditional automation, where users need to have specific knowledge of APIs or interfaces to trigger backend processes. By allowing interaction through natural language, automatically classifying and routing queries, and managing context and memory effectively, MCP simplifies complex data operations, customer support, and workflow orchestration scenarios where inputs and responses change dynamically.


🧰 Pre-requisites

Before deploying this template, ensure you have:


⚙️ Setup Instructions

  1. **Install the MCP Community Node in N8N

    • In your N8N self-hosted instance, go to Settings → Community Nodes.
    • Search and install n8n-nodes-mcp.
  2. Configure Credentials:

    • Add your OpenAI API key or any AI mdeols to the relevant nodes. If you want other AI model, please replace all associated nodes of OpenAI in the workflow
    • Set up Bright Data MCP client credentials in the installed community node (STDIO)
    • Obtain your API in Bright Data and put it in Environment field in the credentials window. It should be written as API_Key=<your api key from Bright Data> Screenshot 20250516 at 1.52.24 AM.png

🔄 Workflow Functionality (Summary)

> 🧠 Optional memory buffer and chat memory manager nodes keep conversations context-aware across multiple messages.


🧩 Use Cases


🛠️ Customization


✅ Summary

This template delivers a powerful no-code/low-code agent that turns chat into automation, combining AI intelligence with real-world tool execution. With minimal setup, you can build contextual, dynamic assistants that drive backend operations using natural language.

🔗 Nodes Used

Execute Workflow Trigger, AI Agent, OpenAI Chat Model, Simple Memory, Call n8n Workflow Tool, Chat Memory Manager

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup