Scrape Instagram profiles with Apify and log results to Google Sheets
Ready for 3.0What this workflow does
This workflow has 9 nodes and runs when someone submits an n8n form (“Instagram profile scraper”). Along the way it connects Google Sheets.
How it runs
Trigger: When someone submits an n8n form (“Instagram profile scraper”).
- Configuration (Edit Fields (Set)): sets 4 fields: apify_actor_endpoint, max_posts_to_analyze, min_followers_highlight…
- Scrape Instagram Profiles via Apify (HTTP Request): calls an HTTP API (POST)
- Has Profile Data (If): checks a condition and branches into true / false
- Format Scrape Error (Edit Fields (Set)): sets 17 fields: username, fullName, followersCount…
- Format Scraped Profile (Edit Fields (Set)): sets 17 fields: username, fullName, followersCount…
- Format Unavailable Profile (Edit Fields (Set)): sets 17 fields: username, fullName, followersCount…
- Combine Results (Merge): merges the data from its input branches
- Save Profile to Google Sheet (Google Sheets): append or update
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 (6)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets
From the author
Quick overview This workflow collects public Instagram usernames through an n8n form, scrapes profile and recent post metrics using Apify’s Instagram Profile Scraper, then upserts the results (including engagement rate and a high-profile flag) into a Google…