AutomationMart
Home/Browse/Collect LinkedIn profiles with SerpAPI Google Search and Sheets
n8n

Collect LinkedIn profiles with SerpAPI Google Search and Sheets

n8nn8n11 modulesv1.0
codeformformTriggergoogleSheetsserpApisetsplitInBatchessplitOutswitch

LI] – Search Profiles > ⚠️ Self-hosted disclaimer: > This workflow uses the SerpAPI community node, which is available only on self-hosted n8n instances. > For n8n Cloud, you may need to use an HTTP Request node with the SerpAPI REST API instead. --- --- Who’s it for Recruiters, talent sourcers, SDRs, and anyone who wants to automatically gather public LinkedIn profiles from Google search results based on keywords — across multiple pages — and log them to a Google Sheet for further an

At a glance

Collect LinkedIn profiles with SerpAPI Google Search and Sheets is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects code, form, formTrigger, googleSheets. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
code, form, formTrigger, googleSheets, serpApi, set
Modules
11
Price
Free
Version
v1.0
Collect LinkedIn profiles with SerpAPI Google Search and Sheets workflow diagram

About this workflow

LI] – Search Profiles > ⚠️ Self-hosted disclaimer: > This workflow uses the SerpAPI community node, which is available only on self-hosted n8n instances. > For n8n Cloud, you may need to use an HTTP Request node with the SerpAPI REST API instead. --- --- Who’s it for Recruiters, talent sourcers, SDRs, and anyone who wants to automatically gather public LinkedIn profiles from Google search results based on keywords — across multiple pages — and log them to a Google Sheet for further analysis. --- What it does / How it works This workflow extends the standard LinkedIn profile search to include pagination, allowing you to fetch results from multiple Google result pages in one go. Here’s the step-by-step process: 1. Form Trigger – “LinkedIn Search” - Collects: - Keywords (comma separated) – e.g., python, fintech, warsaw - Pages to fetch – number of Google pages to scrape (each page ≈ 10 results) - Triggers the workflow when submitted. 2. Format Keywords (Set) - Converts the keywords into a Google-ready query string: - These parentheses improve relevance in Google searches. 3. Build Page List (Code) - Creates a list of pages to iterate through. - For example, if “Pages to fetch” = 3, it generates 3 search batches with proper start offsets (0, 10, 20). - Keeps track of: - Grouped keywords (keywordsGrouped) - Raw keywords - Submission timestamp 4. Loop Over Items (Split In Batches) - Loops through the page list one batch at a time. - Sends each batch to SerpAPI Search and continues until all pages are processed. 5. SerpAPI Search - Queries Google with: - Fixed to the Warsaw, Masovian Voivodeship, Poland location. - The start parameter controls pagination. 6. Check how many results are returned (Switch) - If no results → Triggers No profiles found. - If results found → Passes data forward. 7. Split Out - Extracts each LinkedIn result from the organicresults array. 8. Get Full Name to property of object (Code) - Extracts a clean full name from the search result title (text before “–” or “|”). 9. Append profile in sheet (Google Sheets) - Saves the following fields into your connected sheet: | Column | Description | |---------|-------------| | Date | Submission timestamp | | Profile | Public LinkedIn profile URL | | Full name | Extracted candidate name | | Keywords | Original keywords from the form | 10. Loop Over Items (continue) - After writing each batch, it loops to the next Google page until all pages are complete. 11. Form Response (final step) - Sends a confirmation back to the user after all pages are processed: --- 🧾 Google Sheets Setup Before using the workflow, prepare your Google Sheet with these columns in row 1: | Column Name | Description | |--------------|-------------| | Date | Automatically filled with the form submission time | | Profile | LinkedIn profile link | | Full name | Extracted name from search results | | Keywords | Original search input | > You can expand the sheet to include optional fields like Snippet, Job Title, or Notes if you modify the mapping in the Append profile in sheet node. --- Requirements - SerpAPI account – with API key stored securely in n8n Credentials. - Google Sheets OAuth2 credentials – connected to your target sheet with edit access. - n8n instance (Cloud or self-hosted) > Note: SerpAPI node is part of the Community package and may require self-hosted n8n. --- How to set up 1. Import the [LI] - Search profiles workflow into n8n. 2. Connect your credentials: - SerpAPI – use your API key. - Google Sheets OAuth2 – ensure you have write permissions. 3. Update the Google Sheets node to point to your own spreadsheet and worksheet. 4. (Optional) Edit the location field in SerpAPI Search for different regions. 5. Activate the workflow and open the public form (via webhook URL). 6. Enter your keywords and specify the number of pages to fetch. --- How to customize the workflow - Change search region: Modify the location in the SerpAPI node or change the domain to site:linkedin.com/in/ for global searches. - Add pagination beyond 3–4 pages: Increase “Pages to fetch” — but note that excessive pages may trigger Google rate limits. - Avoid duplicates: Add a Google Sheets → Read + IF node before appending new URLs. - Add notifications: Add Slack, Discord, or Email nodes after Google Sheets to alert your team when new data arrives. - Capture more data: Map additional fields like title, snippet, or position into your Sheet. --- Security notes - Never store API keys directly in nodes — always use n8n Credentials. - Keep your Google Sheet private and limit edit access. - Remove identifying data before sharing your workflow publicly. --- 💡 Improvement suggestions | Area | Recommendation | Benefit | |-------|----------------|----------| | Dynamic location | Add a “Location” field to the form and feed it to SerpAPI dynamically. | Broader and location-specific searches | | Rate limiting | Add a short Wait node (e.g., 1–2s) between page fetches. | Prevents API throttling | | De-duplication | Check for existing URLs before appending. | Prevents duplicates | | Logging | Add a second sheet or log file with timestamps per run. | Easier debugging and tracking | | Data enrichment | Add a LinkedIn or People Data API enrichment step. | Collect richer candidate data | --- ✅ Summary: This workflow automates the process of searching public LinkedIn profiles from Google across multiple pages. It formats user-entered keywords into advanced Google queries, iterates through paginated SerpAPI results, extracts profile data, and stores it neatly in a Google Sheet — all through a single, user-friendly form.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

AI-powered HR screening automation via Jotform

Who's it for - HR professionals and recruitment teams handling high application volumes - Startup founders and hiring managers seeking to scale hiring efficiently - Companies wanting consistent, objective candidate evaluation - Teams spending 20+ hours per week on manual resume screening What it does - Receives job applications automatically via Jotform webhook - Downloads and parses resume PDFs using LlamaParse AI extraction - Analyzes candidate qualifications with OpenAI GPT-4 (compatibility s

Free

Automatically save & organize Outlook email attachments in OneDrive folders

Outlook to OneDrive This workflow automates the process of saving binary attachments from Outlook emails into newly created folders in OneDrive. It's ideal for users who regularly receive files and need them organized into separate folders without manual intervention. Each folder is automatically named based on the email subject and the current timestamp, allowing all attachments from that email to be stored inside the corresponding folder. This is particularly useful for streamlining document

Free

Generate AI videos with Google Veo3, save to Google Drive and upload to YouTube

This workflow allows users to generate AI videos using Google Veo3, save them to Google Drive, generate optimized YouTube titles with GPT-4o, and automatically upload them to YouTube with Upload-Post. The entire process is triggered from a Google Sheet that acts as the central interface for input and output. IT automates video creation, uploading, and tracking, ensuring seamless integrat

Free

Backup your workflows to GitHub

Based on Jonathan's work. Check out his templates. How it works This workflow will backup your workflows to GitHub. It uses the n8n API node to export all workflows. It then loops over the data, checks in GitHub to see if a file exists that uses the credential's ID. Once checked it will: - update the file on GitHub if it exists; - create a new file if it doesn't exist; - ignore if it's the same. Who is this for? People wanting to backup their workflows outside the server for safety purposes or t

Free

Centralized n8n error management system with automated email alerts via Gmail

Advanced n8n Error Handling: Automated Email Alerts & Global Error Workflow Configuration In any automated environment, n8n workflows, while powerful, can sometimes encounter unexpected issues or fail during execution. Without a dedicated error handling strategy, these failures might go unnoticed, leading to incomplete processes, data inconsistencies, or critical operational disruptions. Manually monitoring every workflow execution or sifting through logs for error details is inefficient and can

Free

Weather forecast email - receive automated weather forecasts daily

Video Introduction []( Want to automate your inbox or need a custom workflow? 📞 Book a Call | 💬 DM me on Linkedin --- Workflow Overview This workflow automatically delivers a daily weather forecast to your email inbox every morning at 7:00 AM. It demonstrates practical API-to-API integration by connecting the Meteosource weather API directly to Gmail using n8n's HTTP Request node, without requiring a pre-built Meteosource integration. Why This Workflow is Valuable Instead of manually checking we

Free

Summarize sales calls and update CRM using WayinVideo and GPT-4o-mini

Description Paste any sales call recording URL into a form — this n8n workflow automatically transcribes the call using WayinVideo, extracts structured CRM data with AI, and saves a complete report directly to your shared Google Doc. No manual note-taking, no missed action items, no forgotten follow-ups. Just submit the recording and your CRM notes write themselves. Built for sales teams, digital marketing agencies, and freelancers who want to turn every client call into structured, searchable C

Free

Track Forex Factory news releases with MyFxBook, Telegram & Google Sheets

Get Forex Factory News Release to Telegram, Google Sheets. Record News Data and Live Price from MyFxBook for Affected Currency Pairs. This n8n template demonstrates how to capture Actual Data Releases as quickly as possible for trading decisions. Use cases: 1. Get notified if the actual data release is positive or negative for the relevant currency. 2. Use the Telegram chat message about the news release as a trigger to open a trading position in MetaTrader 4. 3. Record news data and live price

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free