🎣 Extract LinkedIn Sales Navigator contacts to Google Sheets with auto pagination

⚡ 971 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

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

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

  1. Click the “Scrape LinkedIn Contacts API” node
  2. Under Authentication, select “Header Auth”
  3. Create new credential with Name: x-api-key and your received API key as the Value
  4. Save the credential

Step 3: Extract LinkedIn Cookies

  1. Install the EditThisCookie extension
  2. Navigate to LinkedIn Sales Navigator
  3. Click the cookie icon in your browser toolbar
  4. Click “Export” and copy the cookie data
  5. Paste into the cookies field in the “Set Search Parameters” node

Step 4: Configure Your Search In the “Set Search Parameters” node, update:

Step 5: Set Up Google Sheets

  1. Make a copy of the template Google Sheet (or create your own with matching column headers)
  2. In the “Save Contacts to Google Sheets” node, connect your Google Sheets account
  3. 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

đź”— Nodes Used

Google Sheets, HTTP Request

📥 Import

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

📖 Importing guide · 🔑 Credential setup