🎣 Automated LinkedIn lead generation, scoring & communication with AI-Agent

⚡ 16,706 views · 🎣 Lead Generation & Enrichment

💡 Pro Tip — If you’re pulling LinkedIn data through HTTP requests or dealing with API restrictions, there’s a community node called ScraperNode that handles this natively. It has dedicated scrapers for profiles, companies, jobs, and people search — you just pass a URL and get structured data back.

View All Scrapers

Description

Screenshot 20250411 at 00.36.29.png

⚠️ DISCLAIMER: This workflow uses the AnySite LinkedIn community node, which is only available on self-hosted n8n instances. It will not work on n8n.cloud.

Overview

This workflow automates the entire LinkedIn lead generation process from finding prospects that match your Ideal Customer Profile (ICP) to sending personalized messages. It uses AI to analyze lead data, score potential clients, and prioritize your outreach efforts.

Key Features

Requirements

  1. Self-hosted n8n instance with the AnySite LinkedIn community node installed
  2. OpenAI API access (for GPT-4o)
  3. Google Sheets access
  4. AnySite API key (available at anysite.io)
  5. LinkedIn account

Setup Instructions

1. Install Required Nodes

2. Configure Credentials

3. Set Up Google Sheet

4. Customize Your ICP

5. Adjust Scoring Criteria

6. Configure Message Templates

How It Works

  1. ICP Translation: AI converts your ICP description into LinkedIn search parameters
  2. Lead Discovery: Workflow searches LinkedIn using these parameters
  3. Data Collection: Results are saved to Google Sheets
  4. Enrichment: System collects additional data about each lead:
    • Company website analysis
    • Lead’s LinkedIn posts
    • Company’s LinkedIn posts
    • Recent company news
  5. Intent Analysis: AI analyzes all data to identify buying signals
  6. Lead Scoring: Leads are scored on a 1-10 scale based on likelihood of interest
  7. Connection Requests: Top-scoring leads receive connection requests
  8. Follow-Up: When connections are accepted, automated messages are sent

Customization

Rate Limits & Best Practices

Note: Always use automation tools responsibly and in accordance with LinkedIn’s terms of service.

đź”— Nodes Used

Google Sheets, Schedule Trigger, AI Agent, Basic LLM Chain, OpenAI Chat Model, Simple Memory

📥 Import

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

📖 Importing guide · 🔑 Credential setup