This workflow corresponds to n8n.io template #6257 — we link there as the canonical source.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"id": "lK0J8tz7PLZUwg6e",
"name": "My workflow",
"tags": [],
"nodes": [
{
"id": "7189a1d6-61f0-4c5d-9744-c0d66506ffd6",
"name": "When clicking \u2018Test workflow\u2019",
"type": "n8n-nodes-base.manualTrigger",
"position": [
0,
0
],
"parameters": {},
"typeVersion": 1
},
{
"id": "a92e299a-282f-4dbf-b3fe-50a078d1a098",
"name": "Loop Over Items",
"type": "n8n-nodes-base.splitInBatches",
"position": [
672,
0
],
"parameters": {
"options": {},
"batchSize": "=1"
},
"typeVersion": 3
},
{
"id": "ee95db18-73bc-4655-b197-9e5068107280",
"name": "Split Out",
"type": "n8n-nodes-base.splitOut",
"position": [
448,
0
],
"parameters": {
"options": {},
"fieldToSplitOut": "data"
},
"typeVersion": 1
},
{
"id": "c312a13e-2176-4c50-b1d6-f172213f2ec2",
"name": "Check if person is a connection",
"type": "n8n-nodes-browserflow.browserflow",
"position": [
928,
48
],
"parameters": {
"requestOptions": {}
},
"typeVersion": 1
},
{
"id": "bee26d5d-ed98-43e7-8ec3-c3cb23f1cd42",
"name": "Send Connection invite",
"type": "n8n-nodes-browserflow.browserflow",
"position": [
1344,
112
],
"parameters": {
"requestOptions": {}
},
"typeVersion": 1
},
{
"id": "79dca4f2-e677-4344-ab3c-f56ff4dd628e",
"name": "Scrape profiles from a linked in search",
"type": "n8n-nodes-browserflow.browserflow",
"position": [
208,
0
],
"parameters": {
"city": "Amsterdam",
"country": "Netherlands",
"operation": "scrapeProfilesFromSearch",
"searchTerm": "Content Marketeer",
"requestOptions": {}
},
"credentials": {
"browserflowApi": {
"name": "<your credential>"
}
},
"typeVersion": 1
},
{
"id": "c89f0d55-7cf9-4862-8590-99c6ded8d9ba",
"name": "Check Connection Status",
"type": "n8n-nodes-base.if",
"position": [
1136,
80
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "70827b04-15cf-4415-bcd8-51dad92f200e",
"operator": {
"type": "boolean",
"operation": "false",
"singleValue": true
},
"leftValue": "={{ $json.is_connection }}",
"rightValue": "true"
},
{
"id": "b9632671-e23e-4873-8308-486d2fda9a7e",
"operator": {
"type": "boolean",
"operation": "false",
"singleValue": true
},
"leftValue": "={{ $json.is_pending }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2
}
],
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "ea5acef1-e5b2-41e5-b31e-e28a2a9ea257",
"connections": {
"Split Out": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Items": {
"main": [
[],
[
{
"node": "Check if person is a connection",
"type": "main",
"index": 0
}
]
]
},
"Send Connection invite": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Check Connection Status": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
],
[
{
"node": "Send Connection invite",
"type": "main",
"index": 0
}
]
]
},
"Check if person is a connection": {
"main": [
[
{
"node": "Check Connection Status",
"type": "main",
"index": 0
}
]
]
},
"When clicking \u2018Test workflow\u2019": {
"main": [
[
{
"node": "Scrape profiles from a linked in search",
"type": "main",
"index": 0
}
]
]
},
"Scrape profiles from a linked in search": {
"main": [
[
{
"node": "Split Out",
"type": "main",
"index": 0
}
]
]
}
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
browserflowApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
This n8n template automates LinkedIn lead generation by scraping profiles, filtering out existing connections, and sending connection requests — all in a controlled, looped workflow. Ideal for outreach campaigns, recruitment, or lead gen efforts.
Source: https://n8n.io/workflows/6257/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This workflow lets you quickly extract all comments and reactions from any public LinkedIn post using Browserflow, then automatically saves the results into two separate Google Sheets tabs. Perfect fo
Maximize your conversion rates with this end-to-end automated outreach and lead nurturing system. This workflow manages the entire sales lifecycle—from instant contact enrollment via WhatsApp to AI-pe
This workflow is designed to take user inputs in order to generate an image using the Riverflow 2.0 model through the Replicate API. It can handle both image generation as well as image editing. Addit
Run professional email campaigns with A/B testing, Google Sheets tracking, and Slack analytics. FEATURES:
This workflow allows you to send multi-step email campaigns using n8n, Gmail and Google Sheets.