Collect social media leads from Instagram and Facebook with Apify and Google Sheets
Ready for 3.0What 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).
- Read Topics (Google Sheets): uses Google Sheets
- Only Pending Topics (Filter): keeps only the items that match a condition
- Pick Next Topic (Limit): keeps the first few items
- Scrape Social Posts (Apify) (HTTP Request): calls api.apify.com (POST)
- Scrape Facebook Posts (Apify) (HTTP Request): calls api.apify.com (POST)
- Shape Lead Fields (Edit Fields (Set)): sets 11 fields: Topic, Area, Platform…
- Only Real Facebook Posts (Filter): keeps only the items that match a condition
- Combine Instagram and Facebook (Merge): merges the data from its input branches
- Shape Facebook Lead Fields (Edit Fields (Set)): sets 11 fields: Topic, Area, Platform…
- Save New Leads (Google Sheets): append or update
…plus 1 more step. See the full node list below.
Services it uses
Other Apify + Google Sheets templates (402)
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)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Sheets
n8n-nodes-base.googleSheets - Filter
n8n-nodes-base.filter - Limit
n8n-nodes-base.limit - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge
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…