Skip to main content

Upload & categorize files with Supabase Storage and secure URL generation

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