Instagram full profile scraper with Apify and Google Sheets
Ready for 3.0Ready 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-10-19.
Nodes used (5)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Aggregate
n8n-nodes-base.aggregate - Google Sheets
n8n-nodes-base.googleSheets - HTTP Request
n8n-nodes-base.httpRequest - Limit
n8n-nodes-base.limit
What it does
๐ธ Instagram Full Profile Scraper with Apify and Google Sheets This n8n workflow automates the process of scraping full Instagram profiles using a custom Apify actor, and logs the results into a Google Sheet. It is designed to run at scheduled intervals and process a list of usernames by calling the API, appending the results, and marking them as processed. --- ๐ Features โฑ Scheduled Execution โ Runs automatically every few minutes. ๐ Google Sheets Integration โ Reads a list of Instagram usernames and updates the same sheet. ๐ง Apify Actor โ Fetches full public Instagram profile data. ๐งฎ Aggregation โ Batches usernames for bulk scraping. โ๏ธ Data Logging โ Appends scraped data to a second sheet. โ
Tracking โ Marks usernames as processed once scraped. --- ๐ Workflow Structure mermaid graph TD; ScheduleTrigger --> GetUsernames; GetUsernames --> LimitItems; LimitItems --> AggregateUsernames; AggregateUsernames --> CallApifyActor; CallApifyActor --> AppendToSheet; CallApifyActor --> MarkAsScraped; --- ๐ Setup 1. Google Sheet Create a Google Sheet with: Sheet 1 named Usernames (GID: 0) Columns: username, scraped Sheet 2 named fullprofiles (GID: 458127000) Sample sheet: ๐ Instagram Profile Sheet 2. n8n Configuration Import this workflow into your n8n instance. Set up your Google Sheets credentials (googleSheetsOAuth2Api). Replace apifyapiyour token in the HTTP Request node with your Apify API token. --- ๐ฆ Required Credentials Google Sheets OAuth2 โ For reading and writing sheet data. Apify API Token โ To call the custom actor for profile scraping. --- ๐ Sheets Used | Sheet Name | Purpose | | -------------- | -------------------------------- | | Usernames | Source of usernames to scrape | | fullprofiles | Destination of full profile data | --- ๐ Apify Actor Info > Instagram Full Profile Scraper > This actor fetches extended profile information from public Instagram profiles. ๐ View on Apify --- ๐ Workflow Nodes Overview | Node | Purpose | | ------------------------ | ----------------------------------------------------------------- | | Schedule Trigger | Triggers the workflow periodically. | | Get Usernames | Reads usernames from the Usernames sheet. | | Limit | Limits processing to 20 usernames per run. | | Aggregate | Groups usernames into a batch for the API call. | | Call Apify Actor | Sends the usernames to the Apify actor and receives profile data. | | Append Full Profiles | Appends the scraped data to the fullprofiles sheet. | | Mark Username as Scraped | Marks the processed usernames as scraped = TRUE. | | Sticky Note | Provides a reference link to the Apify actor used. | --- ๐ Example Sheet Structure Usernames Sheet | username | scraped | | ------------ | ------- | | exampleuser1 | | | exampleuser2 | TRUE | fullprofiles Sheet | username | full\name | biography | follower\count | ... | | -------- | ---------- | --------- | --------------- | --- | --- ๐ Security & Notes This workflow does not bypass any Instagram privacy restrictions. It works only with public Instagram profiles. You are responsible for ensuring that scraping complies with Instagramโs terms of service and any applicable laws. --- ๐ฌ Support For any issues, feel free to reach out: ๐ค @mohamedgb00714 ๐ง [email protected](mailto:[email protected])