Templates / Collect social media leads from Instagram and Facebook with Apify and Google Sheets

Collect social media leads from Instagram and Facebook with Apify and Google Sheets

Ready for 3.0

by Saif · 1 views · created 2026-11-14 · Lead Generation

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 12 nodes and runs on a schedule (every 6 hours). Along the way it connects Google Sheets. It also calls api.apify.com over HTTP.

How it runs

Trigger: On a schedule (every 6 hours).

  1. Read Topics (Google Sheets): uses Google Sheets
  2. Only Pending Topics (Filter): keeps only the items that match a condition
  3. Pick Next Topic (Limit): keeps the first few items
  4. Scrape Social Posts (Apify) (HTTP Request): calls api.apify.com (POST)
  5. Scrape Facebook Posts (Apify) (HTTP Request): calls api.apify.com (POST)
  6. Shape Lead Fields (Edit Fields (Set)): sets 11 fields: Topic, Area, Platform…
  7. Only Real Facebook Posts (Filter): keeps only the items that match a condition
  8. Combine Instagram and Facebook (Merge): merges the data from its input branches
  9. Shape Facebook Lead Fields (Edit Fields (Set)): sets 11 fields: Topic, Area, Platform…
  10. Save New Leads (Google Sheets): append or update

…plus 1 more step. See the full node list below.

Services it uses

Google Sheets

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.

Nodes used (7)

From the author

Quick overview This workflow runs every 6 hours to read pending keyword topics from Google Sheets, scrape related Instagram hashtags and Facebook posts via Apify, extract basic lead details (profile, post link, email, phone), and save deduplicated results…

Excerpt from Saif'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.