How to automate Instagram carousel posts using Supabase uploads?

Hi everyone,
I’m trying to build a workflow that automatically creates an Instagram carousel post when I upload multiple image files to a Supabase storage folder. The idea is:

1. Detect when new files are uploaded to a specific Supabase folder
2. Collect those files (usually 2–10 images at a time)
3. Upload them to Instagram as a single carousel post using the Facebook Graph API
4. Use the same caption I attach at upload (or store it somehow)
5. Delete the files from Supabase after successful posting

I’m using n8n.cloud, and I’m stuck on how to:

• Detect grouped file uploads as one carousel
• Send multiple images correctly through the Graph API
• Handle access tokens and permissions

Has anyone done something similar or can help with the JSON setup or modules I need?

Thanks in advance!

Hello! Did it work? I’m having the same problem you described.