👉 n8n No Limits Access :

https://www.hostg.xyz/SHHAd

Hébergement VPS n8n | Automatisation sécurisée et évolutive

coupon -15% : DRFIRAS15

👉 Formation n8n en Français

Formation n8n en Français : Automatisation & Agents IA

coupon -20% : LANCEMENT : HERE


Scrape Instagram profiles and log them to Google Sheets

This workflow scrapes public Instagram profile data (followers, bio, latest post engagement) for a list of usernames using Apify, then upserts each profile into Google Sheets — no duplicates on rerun, and private/not-found profiles or Apify errors are logged instead of silently dropped.

This page is your build companion for filming: it lets you re-create the entire workflow manually, node by node, live with your community.

Flow overview

Form Trigger (Provide Instagram Usernames)
  -> Configuration
  -> Scrape Instagram Profiles via Apify (HTTP Request, batched call)
       |-> [success] Has Profile Data (IF)
       |      |-> [true]  Format Scraped Profile     --> Combine Results (input 0)
       |      |-> [false] Format Unavailable Profile  --> Combine Results (input 1)
       |-> [error] Format Scrape Error --> Combine Results (input 2)
  -> Combine Results (Merge, append, 3 inputs)
  -> Save Profile to Google Sheet (Google Sheets, appendOrUpdate)

Prerequisites & credentials

Credential Type Where to get it
Apify API Header Auth (httpHeaderAuth) apify.com → Settings → Integrations → copy your API token → create n8n credential "Apify API" with header Name: Authorization, Value: Bearer YOUR_TOKEN
Google Sheets account Google Sheets OAuth2 Connect your Google account in n8n; pick the spreadsheet you'll log profiles into

<aside> ⚠️

Never hardcode API keys inside HTTP Request nodes. Always create a proper n8n credential and select it from the node's Credential dropdown.

</aside>

Step-by-step: build it node by node

1. "Provide Instagram Usernames" (Form Trigger)