Find and Enrich LinkedIn Leads

OpenAIGoogle Mail

Search for LinkedIn profiles based on a query, enrich them with detailed company and personal information, and deliver a formatted leads report via email.

LinkedInLead GenerationEmail ReportsData Enrichment

LinkedIn Lead Finder & Enrichment Pipeline

This workflow helps you find LinkedIn profiles based on a search query and enriches the profile data with detailed company and personal information. It automates the full process of searching, extracting, cleaning, enriching, and delivering leads — all in one pipeline.

What It Does

  1. Accepts a manual trigger with a search query.
  2. Cleans and optimizes the user search query for finding LinkedIn profiles.
  3. Searches the internet for LinkedIn profiles matching the refined query.
  4. Uses an AI model to extract structured profile data from raw search results.
  5. Cleans and parses the extracted data to ensure valid JSON objects.
  6. Enriches each LinkedIn profile by gathering additional information about the person and their company.
  7. Deduplicates profiles based on LinkedIn URLs and removes metadata.
  8. Formats the enriched leads into a styled HTML email report.
  9. Sends the enriched leads report via email to your specified address.

What You Need

  • A Needle account to access the workflow and nodes.
  • Access to Needle's AI models.
  • A Gmail account with a Pipedream connector configured to send emails.

How the Flow Works

NodeDescription
Manual TriggerStarts the workflow manually with your search query input.
Code (Create Search Query)Cleans and prepares the raw user input into a polished Google search query targeting LinkedIn.
AI Agent (Fix & Optimize Query)Uses an AI model to fix typos and optimize the query for LinkedIn profile search.
Needle Search InternetPerforms the actual internet search based on the optimized query.
AI Agent (Extract Profiles)Parses the raw search results and extracts LinkedIn profile info as structured JSON.
Code (Parse & Cleanup Profiles)Converts JSON strings into objects, handles errors, and prepares data for enrichment.
AI Agent (Enrich Profiles)Enhances each LinkedIn profile by searching the web for more details like company industry and bio summary.
Code (Deduplicate & Clean Data)Removes duplicate profiles by LinkedIn URL and strips out unnecessary metadata.
Code (Format Email)Generates a styled HTML email with profile cards for each enriched lead.
Gmail Send EmailSends the formatted email with enriched lead profiles to the recipient.

Output

At the end of this workflow, you receive an email containing a clean, enriched list of LinkedIn leads matching your search criteria. Each lead includes:

  • Full name
  • Job title
  • Company name and industry
  • Company size (approximate employee count)
  • Location
  • A brief bio summary
  • A direct link to their LinkedIn profile

Notes

  • The initial search query can contain typos or imperfect phrasing — the AI model will refine it for you.
  • The enrichment step gathers data via web search, but some fields may be incomplete depending on available information.
  • The email body is styled for easy readability with profile cards.
  • You can customize the email recipient address in the Gmail node.
  • Make sure your Gmail connector has sufficient permissions to send emails through Needle.
  • The workflow handles common data parsing issues gracefully, but complex or unexpected data formats might require further handling.
  • Running this flow too frequently or with very broad search queries may hit rate limits on the AI or search nodes.
  • Feel free to customize the search query in the initial code node to fit your target lead criteria. This pipeline works well for recruiters, sales teams, or anyone looking to automate lead generation from LinkedIn profiles.

Want to showcase your own workflows?

Become a Needle workflow partner and turn your expertise into recurring revenue.

Ready to vibe automate?

Join thousands of people who have transformed their workflows.

Workflows

Automations with AI agents

Collections

All your data, searchable

Chat Widget

Drop-in widget for your website

Developer API

Build AI-powered apps with ease

    We use cookies to enhance your experience on Needle and keep your data secure. Privacy Policy