n8n

How to Automate Bright Data LinkedIn Lead Research?

Collect LinkedIn person and company data, turn it into a simple story, and save clean JSON files for your team. Great for marketers who need quick research and content drafts from public LinkedIn pages. Useful for sales teams that want richer profiles without copy and paste work.

The run starts on click, pulls a person profile and a company page through Bright Data tools, and returns clean text. An AI step powered by Google Gemini turns the company info into a JSON story. The flow merges company About details with the AI story, posts the result to a webhook, and writes both person and company JSON files to disk. Code, Merge, and Aggregate nodes keep the data tidy. Tool discovery nodes check available Bright Data tools before calls.

To set this up, add your Bright Data access and Google Gemini API key. Replace the sample LinkedIn URLs and add a valid webhook URL if you want to push the story to another app. Update the file paths to a folder your n8n host can write to. Expect faster research, fewer errors, and ready to use briefs for landing pages, outreach, and partner profiles.

What are the key features?

  • Manual start for safe testing using a Manual Trigger node
  • Pull person and company pages with Bright Data MCP tools using the page URL
  • AI information extractor powered by Google Gemini creates a clear JSON story
  • Merge and Aggregate nodes combine About text with the AI story for a complete view
  • HTTP Request posts company details to a webhook for downstream apps
  • Code node parses AI output into clean JSON before merging
  • File writer saves person and company JSON to disk in your chosen folder
  • Tool discovery nodes list available Bright Data tools to validate setup

What are the benefits?

  • Reduce manual LinkedIn research from 2 hours to 10 minutes per lead
  • Automate up to 80 percent of profile summarizing and story writing
  • Cut copy and paste errors by 90 percent with structured JSON output
  • Connect Bright Data and Google Gemini in one repeatable workflow
  • Save results to files so teams can share and reuse the same source of truth

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Bright Data and Google Gemini. See the Tools Required section above for links to create accounts with these services.
  3. In the n8n credentials manager, double click the Bright Data MCP Client nodes, then on the Credential to connect with dropdown, click Create new credential and follow the on screen instructions to integrate Bright Data.
  4. In the n8n credentials manager, open the Google Gemini Chat Model node, choose Create new credential, and paste your API key from the Google AI Studio API page.
  5. Open the Set the URLs node and replace the person LinkedIn URL with a public profile you want to process.
  6. Open the Set the LinkedIn Company URL node and replace the company LinkedIn URL with a public company page. If you need to push data to another system, paste your webhook URL into the webhook_url field.
  7. Open the LinkedIn Data Extractor node and review the prompt. Keep the JSON output request so the Code node can parse it correctly.
  8. Open the Write the LinkedIn person info to disk and Write the LinkedIn company info to disk nodes and change the file paths to a folder that exists on your n8n server or Docker volume.
  9. Click Test workflow. Confirm the Bright Data nodes return data, the Code node parses JSON without errors, and the Merge and Aggregate nodes show about and company_story fields.
  10. Check your webhook endpoint for a 200 response and verify the posted JSON includes about and the story fields.
  11. If you see permission errors when writing files, point the file paths to a writable directory and test again.
  12. If parsing fails, confirm the AI output is valid JSON and simplify the prompt to ensure well formed JSON.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Bright Data

Sign up

Pay as you go: $1.5 per 1K records (Web/LinkedIn Scraper API)

Google Gemini

Sign up

Free tier: $0 via Gemini API; e.g., Gemini 2.5 Flash-Lite free limits 1,000 requests/day (15 RPM, 250k TPM). Paid from $0.10/1M input tokens and $0.40/1M output tokens.

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.