Automate targeted B2B lead generation using an expert AI Prospector Agent. This n8n workflow uses Bright Data and OpenAI to search, scrape, and summarize LinkedIn profiles based on user queries.
Download this n8n workflow template and start using it instantly.
Marketing and Sales teams needing automated lead lists.
Growth Hackers utilizing custom AI tools.
Users looking for advanced examples of n8n templates utilizing the LangChain agent n8n node.
Businesses requiring reliable, large-scale web scraping capabilities via Bright Data integration in an n8n workflow.
The Precision Prospecting Agent is a sophisticated n8n workflow designed to streamline B2B lead generation. Instead of manually searching Google and then visiting LinkedIn profiles, this solution leverages an expert AI Agent. The agent interprets natural language queries (like "CMO at Bright Data") and orchestrates the necessary steps: constructing a highly specific Google search query (site:linkedin.com/in...), executing the search using the Bright Data n8n node (Web Unlocker), filtering the resulting links, and finally using another Bright Data n8n node (Web Scraper) to pull structured data from the identified LinkedIn profile. This fully automated n8n workflow ensures high efficiency and accurate targeting, making it a powerful addition to any modern sales stack.
This robust n8n workflow operates in two main phases: the AI Orchestration phase and the Sub-Workflow Execution phase.
When chat message received n8n trigger or manual execution. The input is passed to the AI Prospector Agent.AI Prospector Agent (using the OpenAI Chat Model and Simple Memory for context) analyzes the user's request (e.g., searching by company/first name or company/position).Search LinkedIn URI, passing the generated, targeted Google query.When Executed by Another Workflow n8n trigger starts. It uses the Get 1 Google Result Bright Data n8n node (Web Unlocker) to perform the search safely and reliably.Get Links from Body n8n node, and links are extracted. The Filter only LinkedIn Profiles n8n node ensures that only legitimate https://linkedin.com/in/ URLs are retained, followed by a Limit n8n node to select the first relevant result.Get LinkedIn Profile Data n8n tool.OpenAI Chat Model n8n node.Get 1 Google Result and Get LinkedIn Profile Data n8n nodes.Search LinkedIn URI n8n node is configured as a workflow tool. After importing, you must update its Workflow ID parameter to match the ID of the current newly imported n8n workflow. This is crucial for the internal tool execution structure.When chat message received n8n trigger to start utilizing your AI Prospector Agent. When chat message received (n8n trigger): Starts the main execution flow, receiving input messages which contain the prospecting request.
AI Prospector Agent (n8n node): The core intelligence. It uses a detailed systemMessage to guide its behavior, ensuring it correctly constructs targeted Google searches and selects the appropriate Bright Data scraping tool. It relies on the OpenAI Chat Model n8n node for processing.
OpenAI Chat Model (n8n node): The large language model (GPT-4o Mini) that powers the agent's decision-making and summarization capabilities.
Search LinkedIn URI (n8n node - Tool Workflow): An internal tool definition used by the agent to find the relevant LinkedIn URL via a sub-workflow call. Users must ensure the correct workflow ID is configured for this n8n node.
Get 1 Google Result (Bright Data n8n node): Executes the Google search query constructed by the AI Agent using Bright Data's Web Unlocker. Key configuration uses the input query: ={{ $json.query }}&num=1 to limit the results.
Get Links from Body (HTML n8n node): Parses the HTML response from the Google search result to extract all potential links (a tags).
Filter only LinkedIn Profiles (Filter n8n node): Ensures data quality by verifying that the extracted URL contains linkedin.com/ and is securely formatted (https://), refining the lead data within the n8n workflow.
Get LinkedIn Profile Data (Bright Data n8n node - Tool): Scrapes the final, validated LinkedIn URL using a dedicated Bright Data Web Scraper dataset, retrieving structured prospect details. This is a critical final step in the n8n workflow.
Automate the entire YouTube Shorts creation process using this powerful n8n workflow. From initial chat input, AI scripting, image generation, video editing, and final asset retrieval.

Learn how to build a powerful interactive web application using n8n to perform AI inpainting via the FLUX-Fill API. This n8n workflow features custom HTML UI generation and asynchronous polling logic.

Use this comprehensive n8n workflow to automate AI image generation with Ideogram, critically review the outputs using GPT-4o, and automatically trigger remixes with enhanced prompts. A powerful n8n template for design iteration.

Automate a daily report of high-value US Congress stock trades using a scheduled n8n workflow, Firecrawl web extraction, and OpenAI GPT-4o formatting, delivered via Gmail. Use this n8n templates solution for actionable insights.

Build an expert AI Real Estate Agent using a sophisticated n8n workflow. This automation integrates Langchain nodes with Bright Data to perform real-time property searches and data extraction based on conversational input. Deploy powerful n8n templates for advanced agent functionality.

Automate European Union event data collection using this powerful n8n workflow. Scrape website content, handle pagination, and store only unique records in Google Sheets daily. Use this n8n template for reliable data extraction.

As a passionate developer and AI agent creator, I’ve been at the forefront of automation, pioneering workflows and training AI to handle complex tasks seamlessly. I’m an early adopter and expert of n8n, having worked with its powerful capabilities to create automation solutions for diverse industries. I founded n8nhackers, the first AI-powered agency focused on n8n, where we help businesses transform their workflows with cutting-edge automation.







































