workflows.fit
Back to n8n workflows
n8n templateFreeBy Robert Breen

Instagram visual analysis with Apify scraping, OpenAI GPT-5 & Google Sheets

Pull recent Instagram post media for any username, fetch the image binaries, and run automated visual analysis with OpenAI — all orchestrated inside n8n. This workflow uses a Google Sheet to supply target usernames, c...

Data & StorageProductivityDevelopmentCore NodesAILangchainManual TriggerHttp Request
Loading interactive preview...

Template notes

Pull recent Instagram post media for any username, fetch the image binaries, and run automated visual analysis with OpenAI — all orchestrated inside n8n. This workflow uses a Google Sheet to supply target usernames, calls Apify’s Instagram Profile Scraper to fetch recent posts, downloads the images, and passes them to an OpenAI vision-capable model for structured analysis. Results can then be logged, stored, or routed onward depending on your use case.

---

🧑‍💻 Who’s it for - Social media managers analyzing competitor or brand posts - Marketing teams tracking visual trends and campaign content - Researchers collecting structured insights from Instagram images

---

⚙️ How it works 1. Google Sheets – Supplies Instagram usernames (one per row). 2. Apify Scraper – Fetches latest posts (images and metadata). 3. HTTP Request – Downloads each image binary. 4. OpenAI Vision Model – Analyzes visuals and outputs structured summaries. 5. Filter & Split Nodes – Ensure only the right rows and posts are processed.

---

🔑 Setup Instructions

1) Connect Google Sheets (OAuth2) 1. Go to n8n → Credentials → New → Google Sheets (OAuth2) 2. Sign in with your Google account and grant access 3. In the Get Google Sheet node, select your spreadsheet + worksheet (must contain a User column with Instagram usernames)