This workflow is built for sales professionals, recruiters, founders, and growth marketers who need to build targeted prospect lists from LinkedIn without risking their accounts. Perfect for anyone who wants to find decision-makers, build lead lists, or research target audiences at scale.
If you're running outbound campaigns, building ABM lists, sourcing candidates, or doing competitive research, this automation handles LinkedIn searches and exports results directly to your Google Sheet—no browser cookies, no session hijacking, no ban risk.
The workflow automates LinkedIn people searches by leveraging ConnectSafely.ai's compliant API, then exports structured results to Google Sheets or JSON files.
The process flow:
No LinkedIn cookies required. No browser automation. Platform-compliant searches that won't get your account restricted.
Watch the complete step-by-step implementation guide:
LinkedIn Search Export Automation Tutorial
Obtain API Key:
Add Bearer Auth Credential in n8n:
Open the Set Search Parameters node and customize your search:
| Parameter | Description | Example |
|---|---|---|
| keywords | Search terms for profiles | CEO SaaS, Marketing Director |
| location | Geographic filter | United States, San Francisco Bay Area |
| title | Job title filter | Head of Growth, VP Sales |
| limit | Maximum results to return | 100 (max varies by plan) |
Pro Tips:
3.1 Connect Google Sheets Account
3.2 Prepare Your Google Sheet
Create a new Google Sheet with the following columns (the workflow will auto-populate these):
| Column Name | Description |
|---|---|
| profileUrl | LinkedIn profile URL |
| fullName | Contact's full name |
| firstName | First name |
| lastName | Last name |
| headline | LinkedIn headline/tagline |
| currentPosition | Current job title |
| company | Company name (extracted from headline) |
| location | Geographic location |
| connectionDegree | 1st, 2nd, or 3rd degree connection |
| isPremium | LinkedIn Premium member (true/false) |
| isOpenToWork | Open to work badge (true/false) |
| profilePicture | Profile image URL |
| extractedAt | Timestamp of extraction |
3.3 Configure the Export Node
Sales Prospecting:
keywords: "B2B SaaS"
location: "United States"
title: "VP of Sales"
limit: 100
Recruiting:
keywords: "Python Machine Learning"
location: "San Francisco Bay Area"
title: "Senior Engineer"
limit: 50
Founder Networking:
keywords: "Seed Series A"
location: "New York City"
title: "Founder CEO"
limit: 100
Add to CRM: Connect the Format Results output to HubSpot, Salesforce, or Pipedrive nodes
Enrich Data: Add a loop to fetch full profile details for each result using the /linkedin/profile endpoint
Chain with Outreach: Connect to the LinkedIn Connection Request Workflow to automatically send personalized invites to your search results
Schedule Searches: Replace Manual Trigger with a Schedule Trigger to run daily/weekly searches
Each result includes:
{
"profileUrl": "https://www.linkedin.com/in/johndoe",
"profileId": "johndoe",
"profileUrn": "urn:li:member:123456789",
"fullName": "John Doe",
"firstName": "John",
"lastName": "Doe",
"headline": "VP of Sales at TechCorp | B2B SaaS",
"currentPosition": "VP of Sales",
"company": "TechCorp",
"location": "San Francisco, California",
"connectionDegree": "2nd",
"isPremium": true,
"isOpenToWork": false,
"profilePicture": "https://media.licdn.com/...",
"extractedAt": "2024-01-15T10:30:00.000Z"
}
Sales Prospecting: Build targeted lead lists of decision-makers at companies matching your ICP
Recruiting & Talent Sourcing: Find passive candidates with specific skills and experience levels
Market Research: Analyze competitor employee profiles and organizational structures
Event Planning: Build invite lists for webinars, conferences, or virtual events
Partnership Development: Identify potential partners and integration opportunities
Investor Research: Find founders and executives at companies in specific stages/verticals
Issue: "No results found" error
Issue: Empty company field in results
Issue: API authentication errors
Issue: Google Sheets not updating
Issue: Fewer results than expected
Issue: Rate limit errors
Stay updated with the latest automation tips, LinkedIn strategies, and platform updates:
Looking to build sophisticated LinkedIn automation workflows tailored to your business needs?
Contact our team for custom automation development, strategy consulting, and enterprise solutions.
We specialize in: