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
Automate LinkedIn profiles with n8n and Google Sheets

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

Learn how to Build this Workflow with AI:

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.


Automate LinkedIn profiles with n8n and Google Sheets

Visit through Desktop to Interact with the Workflow.

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 Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.