Skip to main content

Extract LinkedIn profiles with Apify & auto-generate lead data for Google Sheets CRM

Workflow preview

Workflow preview
100%
Extract LinkedIn profiles with Apify & auto-generate lead data for Google Sheets CRM preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This professional n8n automation suite transforms LinkedIn prospecting from manual drudgery into intelligent automation. Instead of spending hours copying profile data into spreadsheets, simply pas...

Best for

  • Lead Generation automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.manualtrigger, n8n-nodes-base.scheduletrigger, n8n-nodes-base.webhook, n8n-nodes-base.googlesheets, n8n-nodes-base.code, n8n-nodes-base.set, n8n-nodes-base.if

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by David Olusola.

Original n8n.io source

1.1 Workflow description

Title
Extract LinkedIn profiles with Apify & auto-generate lead data for Google Sheets CRM
Workflow name
Extract LinkedIn profiles with Apify & auto-generate lead data for Google Sheets CRM

Overview

This professional n8n automation suite transforms LinkedIn prospecting from manual drudgery into intelligent automation. Instead of spending hours copying profile data into spreadsheets, simply paste LinkedIn URLs and get complete lead intelligence with email patterns, lead scoring, and CRM-ready data in minutes. The system supports multiple input methods from simple Google Sheets to advanced webhook integrations, making it perfect for individual sales reps, teams, or agencies. Built with enterprise-grade Apify integration and smart lead scoring algorithms, this replaces expensive tools like ZoomInfo while providing better customization and unlimited usage. Use cases: Sales prospecting, recruitment sourcing, business development research, networking event follow-up, competitive intelligence gathering, agency client prospecting.

How it works

The workflow supports three input methods and automatically processes LinkedIn profiles via Apify scraper. When you provide LinkedIn URLs through Google Sheets, manual trigger, or webhook, the system extracts complete profile data including name, company, position, and connections. It then generates multiple email pattern variations and calculates lead scores based on authority indicators like job title, connection count, and location. All processed data is automatically added to your Google Sheets CRM with lead quality ratings and email guesses ready for outreach.

Input Sources: Google Sheets monitoring, manual trigger, or webhook API
Processing: Apify LinkedIn scraper + intelligent data enrichment
Output: Complete CRM-ready lead profiles with email intelligence
Timing: Real-time processing or batch every 5 minutes

Set up instructions

  • Set up Apify account and get API token for LinkedIn profile scraper access
  • Copy the provided Google Sheets template to your Google Drive account
  • Configure Google Sheets credentials in n8n and update sheet IDs in workflow nodes
  • Replace "YOUR_APIFY_API_TOKEN" placeholder with your actual Apify API key
  • The schedule trigger checks for new entries every 5 minutes but feel free to adjust timing
  • Test the workflow by adding LinkedIn URLs to input sheet with Status set to "new"
  • For webhook usage, configure the endpoint URL and test with sample POST requests
  • Customize lead scoring criteria in the code node based on your target market

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Business Value

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Manual Trigger

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 3 - Check New Entries

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 4 - Webhook Input

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 5 - Read LinkedIn URLs

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 6 - Process All Input Sources

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Format Input Data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 8 - Check Batch Processing

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 9 - Split Batch URLs

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 10 - Scrape LinkedIn Profile

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 11 - Process Profile Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Route to Google Sheets

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 13 - Add to Google Sheets CRM

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 14 - Respond Success

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

Block 15 - Workflow Info

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Features & Config

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Scoring Logic

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Usage Examples

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Extract LinkedIn profiles with Apify & auto-generate lead data for Google Sheets CRM
Complexity advanced
Nodes 18
Categories Lead Generation
Author David Olusola
Published 18 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6116/6116.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Extract LinkedIn profiles with Apify & auto-generate lead data for Google Sheets CRM do?

This professional n8n automation suite transforms LinkedIn prospecting from manual drudgery into intelligent automation. Instead of spending hours copying profile data into spreadsheets, simply pas...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Generation use case.