Skip to main content

Instagram full profile scraper with Apify and Google Sheets

Workflow preview

Workflow preview
100%
Instagram full profile scraper with Apify and Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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](https://apify.com/mohamedgb00...

Best for

  • Market Research automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.aggregate, n8n-nodes-base.googlesheets, n8n-nodes-base.httprequest, n8n-nodes-base.limit, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Msaid Mohamed el hadi.

Original n8n.io source

1.1 Workflow description

Title
Instagram full profile scraper with Apify and Google Sheets
Workflow name
Instagram full profile scraper with Apify and Google Sheets

๐Ÿ“ธ 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

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 apify_api_your 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]

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 2 - Aggregate

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 3 - get usernames

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 4 - call apify actor

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 5 - Limit

Type / Role
n8n-nodes-base.limit - limit
Config choices
Version 1

Block 6 - Append full profiles on sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 7 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - mark user name as scraped

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

3. Summary Table

Workflow Instagram full profile scraper with Apify and Google Sheets
Complexity intermediate
Nodes 9
Categories Market Research
Author Msaid Mohamed el hadi
Published 19 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6187/6187.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Instagram full profile scraper with Apify and Google Sheets do?

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](https://apify.com/mohamedgb00...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research use case.