Automated LinkedIn Lead Generation, Scoring & Communication with AI-Agent | n8n workflow template

Screenshot 20250411 at 00.36.29.png

⚠️ DISCLAIMER: This workflow uses the HDW 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

  • AI-Driven Lead Generation: Convert ICP descriptions into LinkedIn search parameters
  • Comprehensive Data Enrichment: Analyze company websites, LinkedIn posts, and news
  • Intelligent Lead Scoring: Prioritize leads based on AI analysis of intent signals
  • Automated Outreach: Connect with prospects and send personalized messages

Requirements

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

Setup Instructions

1. Install Required Nodes

  • Ensure the HDW LinkedIn community node is installed on your n8n instance
  • Command: npm install n8n-nodes-hdw
    (or use this instruction)

2. Configure Credentials

3. Set Up Google Sheet

  • Create a new Google Sheet with the following columns (or copy template):
    • Name, URN, URL, Headline, Location, Current company, Industry, etc.
    • The workflow will populate these columns automatically

4. Customize Your ICP

  • Use chat to provide the AI Agent with your Ideal Customer Profile
  • Example: “Target marketing directors at SaaS companies with 50-200 employees”

5. Adjust Scoring Criteria

  • Modify the lead scoring prompt in the “Company Score Analysis” node to match your specific product/service
  • Tune the evaluation criteria based on your unique business needs

6. Configure Message Templates

  • Update the HDW LinkedIn Send Message node with your custom message

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

  • Search Parameters: Adjust the AI Agent prompt to refine your target audience
  • Scoring Criteria: Modify scoring prompts to highlight indicators relevant to your product
  • Message Content: Update message templates for personalized outreach
  • Schedule: Configure when connection requests and messages are sent

Rate Limits & Best Practices

  • LinkedIn has connection request limits (approximately 100-200 per week)
  • The workflow includes safeguards to avoid exceeding these limits
  • Consider spacing your outreach for better response rates

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

About the Author

Leave a Reply

Your email address will not be published. Required fields are marked *

You may also like these