Extract & enrich LinkedIn comments to leads with Apify → Google Sheets/CSV
Ready for 3.0What this workflow does
This workflow has 28 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Sheets.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Set manual fields (Edit Fields (Set)): sets 2 fields: postIds, limit
- Set fields from the form (Edit Fields (Set)): sets 2 fields: postIds, limit
- Set APIFY Token (Edit Fields (Set)): sets 3 fields: APIFY_TOKEN, limit, postIds
- Run Apify Comments Scraper (HTTP Request): calls an HTTP API (POST)
- Aggregate: combines items into one
- More runs needed? (If): checks a condition and branches into true / false
- Set pagination (Code): runs custom JavaScript code
- Create Unique List of Leads (Code): runs custom JavaScript code
- Split Out: splits a list into separate items
- Split in batches (Code): runs custom JavaScript code
…plus 15 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (12)
- Manual Trigger
n8n-nodes-base.manualTrigger - n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Split Out
n8n-nodes-base.splitOut - Aggregate
n8n-nodes-base.aggregate - HTTP Request
n8n-nodes-base.httpRequest - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Convert to File
n8n-nodes-base.convertToFile - Google Sheets
n8n-nodes-base.googleSheets - No Operation, do nothing
n8n-nodes-base.noOp
From the author
🚀 LinkedIn Comments to Leads Extractor & Enricher (Apify) → Google Sheets / CSV Overview Automate LinkedIn lead generation by scraping comments from targeted posts and enriching profiles with detailed data This n8n workflow automatically extracts leads from…