Use this powerful n8n workflow to scrape LinkedIn profiles based on position, industry, and region using Google Custom Search, automatically saving all structured data directly to Google Sheets. Find the best n8n templates for lead generation.
Download this n8n workflow template and start using it instantly.
Manually searching and compiling LinkedIn profile data is time-consuming and error-prone. This specialized n8n workflow addresses this challenge by automating the entire process. Utilizing the Google Custom Search API with specific search parameters (position, industry, region), this n8n automation template efficiently extracts public profile links, names, titles, and descriptions.
The key value of this n8n workflow lies in its robust pagination handling and data cleaning capabilities. It ensures that up to the maximum limit allowed by the Google API (100 results) are collected and securely saved to a dedicated Google Sheet, providing a clean, organized, and scalable solution for competitive analysis or lead list building. This is an essential n8n node combination for data-intensive operations.
This automation begins with the On form submission n8n trigger. The user defines the position, industry, and region criteria required for the search.
currentStartIndex to 1.site:linkedin.com/in. The start parameter ensures the n8n workflow fetches the correct page of results during each iteration of the loop.nextStartIndex and a hasMoreResults boolean.startIndex and hasMoreResults) in the Edit Fields1 node and refined in Code in JavaScript1. This information feeds into the Pagination Check n8n node, an If statement. If continueLoop is true, the n8n workflow automatically returns to the HTTP Request node to fetch the next set of results; otherwise, the automation completes.To deploy this n8n template successfully, follow these steps:
cx query parameter within the HTTP Request n8n node.Name, Position, Profile Links, Description, Image Link, Searched Position, Searched Industry, and Searched Region. On form submission (n8n trigger): The starting point of this n8n workflow. Collects initial user inputs: postion, industry, and region to formulate the search query.
HTTP Request (n8n node): Connects to the googleapis.com/customsearch/v1. It executes the specialized search query targeting LinkedIn and manages pagination by adjusting the start parameter based on previous loop results.
Code in JavaScript (n8n node): Functions as the primary data processor. It parses the complex JSON structure from the Google API, cleans up metadata (like profile titles), and calculates the necessary parameters (startIndex, hasMoreResults) for the subsequent pagination logic in the n8n workflow.
Append or update row in sheet (Google Sheets n8n node): Handles data persistence. It takes the cleaned profile data and maps it precisely to the structured columns in the connected Google Sheet document.
Code in JavaScript1 (n8n node): A utility node used specifically to bundle the pagination control variables (continueLoop and startIndex) into a format suitable for the Pagination Check n8n node.
Pagination Check (n8n node): An If condition that controls the workflow's loop. If the hasMoreResults flag (aliased as continueLoop) is true, the n8n workflow iterates back to the HTTP Request n8n node to fetch the next 10 results.
Use this advanced n8n workflow to scrape job postings via RSS, extract deep HTML data, summarize key details using Gemini AI, and automatically log results in Google Sheets.

Automate competitive hiring intelligence by scraping LinkedIn job data via Phantombuster and storing structured results in Google Sheets using this recurring n8n workflow.

Automate LinkedIn job data extraction using Bright Data and an n8n workflow. Clean scraped job posts and save key hiring signals directly to Google Sheets for fresh sales leads or job hunting.

Use this powerful n8n workflow to automatically scrape Yelp business details using Bright Data and OpenAI, then instantly send personalized partnership proposals via Gmail. Save time on lead generation with this advanced n8n template.

Leverage this n8n workflow to automate product data scraping from website URLs listed in Google Sheets. It uses a Google Sheets n8n trigger and Dumpling AI for structured data extraction.

Pixcels Themes is a modern AI Automation Agency helping businesses streamline time-consuming tasks through intelligent automation. We build practical AI solutions—from automated workflows and Shopify integrations to custom chatbots and tailored AI agents—that replace manual work with smart, self-running systems. Our focus is simple: make businesses faster, more efficient, and ready for the AI-powered future







































