Skip to main content

Overview

The AnySite LinkedIn node provides comprehensive LinkedIn data extraction capabilities within your n8n workflows. Search for users, companies, posts, and extract detailed profile information.

Node Configuration

Authentication

credential
AnySite API Credentials
required
Select your AnySite API credentials from the dropdown or create new ones.

Available Operations

  • Search Users
  • Get User Profile
  • Search Companies
  • Get User Posts
Search for LinkedIn users and profiles.Parameters:
  • Query (required): Search terms for finding users
  • Filters: Location, industry, company filters
  • Limit: Maximum results to return (1-100)
Example Output:
{
  "users": [
    {
      "id": "user123",
      "name": "John Smith", 
      "headline": "Senior Software Engineer at Tech Corp",
      "location": "San Francisco, CA",
      "profileUrl": "https://linkedin.com/in/johnsmith",
      "followers": 2500,
      "connections": 500
    }
  ]
}

Workflow Examples

Lead Generation Workflow

1

Search for Prospects

Use the LinkedIn Search Users operation to find potential leads based on job titles, companies, or industries.
2

Extract Detailed Profiles

For each prospect found, use Get User Profile to gather comprehensive information including work history, skills, and recent activity.
3

Filter and Score

Use n8n’s built-in nodes to filter prospects based on criteria and assign lead scores.
4

Store Results

Save qualified leads to your CRM, database, or Google Sheets using n8n’s integration nodes.
Example Workflow:
{
  "nodes": [
    {
      "name": "LinkedIn Search",
      "type": "@horizondatawave/n8n-nodes-anysite.LinkedIn",
      "operation": "searchUsers",
      "parameters": {
        "query": "marketing manager",
        "filters": {
          "location": "New York",
          "industry": "Technology" 
        },
        "limit": 50
      }
    },
    {
      "name": "Get Full Profiles", 
      "type": "@horizondatawave/n8n-nodes-anysite.LinkedIn",
      "operation": "getUserProfile",
      "parameters": {
        "userId": "={{ $json.id }}",
        "includePosts": true,
        "postLimit": 5
      }
    },
    {
      "name": "Filter Qualified Leads",
      "type": "n8n-nodes-base.filter",
      "parameters": {
        "conditions": [
          {
            "field": "experience[0].company",
            "operation": "notEqual",
            "value": "Competitor Corp"
          }
        ]
      }
    },
    {
      "name": "Save to Google Sheets",
      "type": "n8n-nodes-base.googleSheets", 
      "parameters": {
        "operation": "append",
        "sheetId": "your-sheet-id",
        "values": [
          "={{ $json.name }}",
          "={{ $json.headline }}",
          "={{ $json.location }}",
          "={{ $json.profileUrl }}"
        ]
      }
    }
  ]
}

Content Research Workflow

Track what industry leaders are posting about:
  1. Search Industry Leaders - Find thought leaders in your industry
  2. Get Recent Posts - Extract their latest content and engagement metrics
  3. Analyze Trends - Use AI nodes to identify trending topics and themes
  4. Generate Content Ideas - Create content suggestions based on analysis
  5. Schedule Notifications - Alert your team about important trends

Competitor Analysis Workflow

Monitor competitor activity and employee movements:
  1. Track Competitor Employees - Search for employees at competitor companies
  2. Monitor Job Changes - Detect when key employees leave or join competitors
  3. Analyze Company Updates - Track competitor company page updates and announcements
  4. Sentiment Analysis - Analyze employee sentiment through their posts
  5. Generate Reports - Create weekly competitor intelligence reports

Error Handling

Common Errors

Error: 429 - Rate limit exceededSolution:
  • Add delay nodes between requests
  • Implement retry logic with exponential backoff
  • Consider upgrading your API plan
Error: 404 - User not foundSolution:
  • Verify the LinkedIn user ID is correct
  • Check if the profile is private or deactivated
  • Handle missing users gracefully in your workflow
Error: 400 - Invalid search parametersSolution:
  • Ensure search query is not empty
  • Verify filter parameters are valid
  • Check location and industry filter formats

Retry Logic Example

{
  "name": "LinkedIn with Retry",
  "type": "@horizondatawave/n8n-nodes-anysite.LinkedIn",
  "retryOnFail": true,
  "maxTries": 3,
  "waitBetweenTries": 2000,
  "parameters": {
    "operation": "searchUsers",
    "query": "software engineer"
  }
}

Rate Limiting Best Practices

Request Spacing

Add delays between bulk operations:
{
  "name": "Delay Between Requests",
  "type": "n8n-nodes-base.wait",
  "parameters": {
    "amount": 1,
    "unit": "seconds"
  }
}

Batch Processing

Process large datasets in smaller batches:
{
  "name": "Split Into Batches",
  "type": "n8n-nodes-base.splitInBatches", 
  "parameters": {
    "batchSize": 10
  }
}

Advanced Features

Dynamic Filtering

Use expressions to create dynamic search filters:
// Dynamic location filter based on previous data
{
  "location": "={{ $json.companyHeadquarters }}",
  "industry": "={{ $json.targetIndustry }}"
}

Data Enrichment

Combine LinkedIn data with other sources:
{
  "workflow": [
    "LinkedIn Search → Get Profiles",
    "Email Finder → Enrich with Contacts", 
    "Company Data → Add Firmographic Info",
    "CRM Integration → Update Lead Records"
  ]
}

Content Analysis

Use AI nodes to analyze LinkedIn posts:
// Sentiment analysis of LinkedIn posts
{
  "name": "Analyze Post Sentiment",
  "type": "n8n-nodes-base.openAi",
  "parameters": {
    "operation": "analyze",
    "prompt": "Analyze the sentiment of this LinkedIn post: {{ $json.postText }}"
  }
}

Integration Examples

CRM Integration

Automatically create leads in your CRM:
{
  "name": "Create Salesforce Lead",
  "type": "n8n-nodes-base.salesforce",
  "parameters": {
    "operation": "create",
    "resource": "lead",
    "data": {
      "FirstName": "={{ $json.firstName }}",
      "LastName": "={{ $json.lastName }}", 
      "Company": "={{ $json.currentCompany }}",
      "Title": "={{ $json.headline }}",
      "LinkedIn__c": "={{ $json.profileUrl }}"
    }
  }
}

Slack Notifications

Send alerts about important prospects:
{
  "name": "Slack Alert",
  "type": "n8n-nodes-base.slack",
  "parameters": {
    "operation": "postMessage",
    "channel": "#sales-leads",
    "text": "🎯 High-value prospect found: {{ $json.name }} at {{ $json.company }}\n📍 Location: {{ $json.location }}\n🔗 Profile: {{ $json.profileUrl }}"
  }
}

Next Steps

I