Templates / Extract ICP-targeted LinkedIn leads from post comments using Apify

Extract ICP-targeted LinkedIn leads from post comments using Apify

Ready for 3.0

by Kidlat · 314 views · created 2026-01-11 · Lead Generation, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 14 nodes and runs when someone submits an n8n form (“LinkedIn ICP Lead Extractor”). It uses only n8n's built-in nodes. It also calls api.apify.com over HTTP.

How it runs

Trigger: When someone submits an n8n form (“LinkedIn ICP Lead Extractor”).

  1. Prepare Pagination Requests (Code): runs custom JavaScript code
  2. Loop Through Pages (Loop Over Items (Split in Batches)): loops over the items in batches
  3. Remove Duplicate Commenters (Code): runs custom JavaScript code
  4. Scrape LinkedIn Comments (HTTP Request): calls api.apify.com (POST)
  5. Attach ICP Criteria to Profiles (Code): runs custom JavaScript code
  6. Check for More Pages (Code): runs custom JavaScript code
  7. Loop Through Profiles (Loop Over Items (Split in Batches)): loops over the items in batches
  8. Filter by ICP Criteria (Code): runs custom JavaScript code
  9. Enrich LinkedIn Profile (HTTP Request): calls api.apify.com (POST)
  10. Aggregate: combines items into one

…plus 3 more steps. See the full node list below.

HTTP calls to: api.apify.com

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (6)

From the author

This workflow automates the process of extracting and qualifying leads from LinkedIn post comments based on your Ideal Customer Profile (ICP) criteria. It turns LinkedIn engagement into a structured, downloadable list of qualified leads—without manual review.…

Excerpt from Kidlat's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.