Collect LinkedIn profiles with SerpAPI Google Search and Sheets
UnknownWhat this workflow does
This workflow has 11 nodes and runs when someone submits an n8n form (“LinkedIn Search”). Along the way it connects Google Sheets and Serpapi (community).
How it runs
Trigger: When someone submits an n8n form (“LinkedIn Search”).
- Format Keywords (Edit Fields (Set)): sets 1 field: keywords
- Build Page List (Code): runs custom JavaScript code
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Form Response (n8n Form): shows the next form page
- Serp Api: uses Serp Api
- Check how many results are returned (Switch): routes items into 2 branches
- No profiles found (n8n Form): shows the next form page
- Split Out: splits a list into separate items
- Get Full Name to property of object (Code): runs custom JavaScript code
- Append profile in sheet (Google Sheets): append
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-serpapi is verified or supports 3.0 (used in SerpAPI Search).
Nodes used (9)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Serp Api
n8n-nodes-serpapi.serpApi - Switch
n8n-nodes-base.switch - n8n Form
n8n-nodes-base.form - Split Out
n8n-nodes-base.splitOut - Google Sheets
n8n-nodes-base.googleSheets - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches
From the author
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. ---…