Automate LinkedIn Profile Discovery with n8n & Google Sheets

Discover how to automate LinkedIn profile lookup using n8n and Google Sheets. This workflow fetches LinkedIn URLs from names in a sheet, saving hours of manual searching and avoiding errors.
manualTrigger
googleSheets
airtop
+1
Workflow Identifier: 1787
NODES in Use: Manual Trigger, Google Sheets, Airtop, Code

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What this workflow does

This workflow finds LinkedIn profile URLs from names listed in a Google Sheets document automatically.
It stops the need to search manually on the web for each person.
The output is the exact LinkedIn URLs added back to the right rows in Google Sheets.
This saves time and reduces mistakes in copying links.


Who should use this workflow

This workflow helps anyone who keeps a list of names and wants their LinkedIn URLs added quickly.
It works best for recruiters, HR staff, and teams with large spreadsheets of people.


Tools and services used

  • n8n: The automation platform where the workflow runs.
  • Google Sheets: Holds the list of names and updates profile URLs.
  • Google Drive OAuth2 credentials: To allow n8n to read and edit Sheets.
  • Airtop API: AI-powered web search to find LinkedIn URLs from names.

Inputs, processing, and outputs

Inputs

The workflow takes rows from a Google Sheet.
Each row must include a name to search LinkedIn for.

Processing steps

  • The workflow fetches all names from the Google Sheets document.
  • An Airtop node sends a Google search query using AI to find LinkedIn profile URLs.
  • A code node parses results to pick the correct LinkedIn URL, only URLs starting with “https://www.linkedin.com/in/” are kept.
  • The workflow updates original Google Sheets rows, writing back the found LinkedIn URLs next to each name.
  • Error checks happen for cases when no URL is found or when Google limits API calls.

Outputs

The output is the same Google Sheets document with new “LinkedIn URL” data filled in for each name.
This makes outreach easier and data more accurate.


Beginner step-by-step: How to use this workflow in n8n production

Import and setup

  1. Download the workflow file using the Download button on this page.
  2. Inside the n8n editor, click the top menu and select “Import from File”.
  3. Choose the downloaded workflow file to add it to n8n.
  4. After importing, you must configure credentials:
    • Add Google Drive OAuth2 credentials for Google Sheets access.
    • Enter Airtop API Key in the Airtop node settings.
  5. Update the Google Sheets Document ID and Sheet name fields:
    • Use your own Google Sheets document ID.
    • Make sure the sheet name matches your document (usually “Sheet1”).
  6. Ensure the Airtop node URL expression and prompt exactly match:
=https://www.google.com/search?q={{ encodeURI($json['Person Info']) }}

This is Google Search results. the first results should be the Linkedin Page of {{ $json['Person Info'] }}
Return the Linkedin URL and nothing else.
If you cannot find the Linkedin URL, return an empty string.
A valid Linkedin profile URL starts with "https://www.linkedin.com/in/"
  1. Check the code node runs “once for each item” and uses this code to attach the LinkedIn URL:
const linkedInProfile = $json.data.modelResponse;
const rowData = $('Person info').item.json;

return { json: {
  ...rowData,
  'LinkedIn URL': linkedInProfile
}};
  1. Test the workflow by clicking “Execute Workflow”.
  2. Check Google Sheets updates correct rows with LinkedIn URLs.
  3. If tests pass, activate the workflow for automated or scheduled runs.

For users running self-host n8n, make sure your server has internet access for Google and Airtop APIs.


Customizations and improvement ideas

  • Change the search query in Airtop node to include company or location for better match.
  • Add a validation filter node to confirm LinkedIn URLs start with the correct prefix before writing.
  • Batch process multiple names per API call to speed up large lists.
  • Change the AI prompt to extract job titles or company info alongside LinkedIn URLs.

Edge cases and errors

  • No data from Google Sheets: Check you used correct Document ID and Sheet name.
  • Empty LinkedIn URL from AI: The search terms may be unclear or Google may block scraping.
    Try refining prompts and watching rate limits.
  • Google Sheets update fails: OAuth2 credential may lack edit permissions.
    Reauthorize with full edit access.

Summary of results

✓ Automates LinkedIn profile URL retrieval from names in Google Sheets.
✓ Saves hours of manual searching and copying links.
✓ Updates Google Sheets accurately and automatically.
✓ Reduces human error and improves data quality.
✓ Can be run repeatedly and on large data sets.


Frequently Asked Questions

The workflow needs a valid Google Sheets document ID, Google Drive OAuth2 credentials for access, and an Airtop API key for AI-powered search.
The Airtop node runs an AI-driven Google search with a prompt to return only LinkedIn profile URLs starting with https://www.linkedin.com/in/ using the person’s name from the sheet.
Refine the Airtop AI prompt or check for Google scraping restrictions. Also confirm the name search term is correct and try again later if API limits are reached.
Back up the Google Sheets document before running. Ensure OAuth2 credentials have edit permissions. Test the workflow with few rows first to confirm correct updates.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free