๐Ÿ“ Upload & categorize files with Supabase Storage and secure URL generation

โšก 2,596 views ยท ๐Ÿ“ File Management

Description

Supabase Storage File Upload Workflow

works with selfhosted Supabase

โ„น๏ธ How it works

โ€ข Accepts file data (MIME type, filename, base64 content) from other workflows โ€ข Automatically routes files to appropriate storage buckets based on file type (images, audio, video, documents) โ€ข Uploads files to Supabase Storage using the REST API โ€ข Generates secure signed URLs for file access with 30-day expiration โ€ข Returns structured success/error responses for downstream processing

๐Ÿ—๏ธ Set up steps

โ€ข Configure Supabase API credentials in n8n

โ€ข Create storage buckets in your Supabase project (image-files, audio-files, video-files, document-files) (or choose your own structuring system)

โ€ข Replace url paths with your own

โ€ข Test the workflow using the included form trigger

โ€ข Remove test form and integrate with your main workflows

๐Ÿ“š Reference: Supabase Storage Documentation

๐Ÿ”— Nodes Used

HTTP Request, Execute Workflow Trigger, n8n Form Trigger, Convert to File

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup