Extract LinkedIn Sales Navigator Contacts to Google Sheets with Auto Pagination

Go to Workflow
0 views
Built by Naveen Choudhary Naveen Choudhary
Created on June 05, 2026

Description

Complete Template Description

Automate LinkedIn Sales Navigator contact extraction to Google Sheets

This workflow scrapes LinkedIn Sales Navigator search results and automatically saves contact details to Google Sheets with pagination support and rate limiting protection.

Who's it for

Sales teams, recruiters, and business development professionals who need to extract and organize LinkedIn contact data at scale without manual copy-pasting.

What it does

The workflow connects to a LinkedIn scraping API to fetch contact information from Sales Navigator search results. It handles pagination automatically, extracts contact details (name, title, company, location, profile URL), and appends them to a Google Sheet. Built-in rate limiting (30-60 second delays) prevents API blocks and mimics natural browsing behavior.

Requirements

Self-hosted n8n instance** (this workflow will NOT work on n8n Cloud due to cookie requirements and third-party API usage)
LinkedIn Sales Navigator account
Google Sheets account
EditThisCookie browser extension
API access from the creator (1 month free trial available)

How to set up

Step 1: Get API Access
Email the creator to request 1 month of free API access using the link in the workflow. You'll receive your API key within 24 hours.

Step 2: Configure API Authentication
Click the "Scrape LinkedIn Contacts API" node
Under Authentication, select "Header Auth"
Create new credential with Name: x-api-key and your received API key as the Value
Save the credential

Step 3: Extract LinkedIn Cookies
Install the EditThisCookie extension
Navigate to LinkedIn Sales Navigator
Click the cookie icon in your browser toolbar
Click "Export" and copy the cookie data
Paste into the cookies field in the "Set Search Parameters" node

Step 4: Configure Your Search
In the "Set Search Parameters" node, update:
cookies: Your exported LinkedIn cookies
url: Your LinkedIn Sales Navigator search URL
total_pages: Number of pages to scrape (default: 2, each page = ~25 contacts)

Step 5: Set Up Google Sheets
Make a copy of the template Google Sheet (or create your own with matching column headers)
In the "Save Contacts to Google Sheets" node, connect your Google Sheets account
Select your destination spreadsheet and sheet name

Important Security Note: Keep your LinkedIn cookies private. Never share them with others or commit them to public repositories.

Customization options

Adjust total_pages to control how many contacts you scrape
Modify the delay in "Rate Limit Delay Between Requests" node (default: 30-60 seconds random) - do not lower this to avoid API blocks
Customize which contact fields to save in the Google Sheets column mapping
Change the search URL to target different prospect segments or filters

Nodes Used (3)

Code
n8n-nodes-base.code
Google Sheets
n8n-nodes-base.googleSheets
HTTP Request
n8n-nodes-base.httpRequest