Analyze Instagram profiles with Apify, Google Gemini, and Supabase
UnknownWhat this workflow does
This AI workflow has 17 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Supabase, Google Gemini and Apify (community).
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Check Cache (<24h) (Supabase): get many
- If: checks a condition and branches into true / false
- Return Cached Report (Respond to Webhook): sends the response back to the webhook caller
- Aggregate: combines items into one
- Run an Actor and get dataset (Apify): run actor and get dataset
- JS Prune Payload (Code): runs custom JavaScript code
- AI Niche & Frequency (Google Gemini): uses Google Gemini
- AI Content & Strategy (Google Gemini): uses Google Gemini
- AI Engagement & Actions (Google Gemini): uses Google Gemini
- Merge: merges the data from its input branches
…plus 6 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @apify/n8n-nodes-apify is verified or supports 3.0 (used in Run an Actor and get dataset).
Nodes used (9)
- Webhook
n8n-nodes-base.webhook - Supabase
n8n-nodes-base.supabase - Respond to Webhook
n8n-nodes-base.respondToWebhook - Code
n8n-nodes-base.code - Merge
n8n-nodes-base.merge - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - If
n8n-nodes-base.if - Apify
@apify/n8n-nodes-apify.apify - Aggregate
n8n-nodes-base.aggregate
From the author
Quick overview This workflow receives an Instagram username via webhook, checks Supabase for a recent cached analysis, and if needed scrapes recent posts with Apify and generates niche, content, and engagement insights using Google Gemini before storing and…