Back to Templates

Upload & Categorize Files with Supabase Storage and Secure URL Generation

Last update

Last update 16 hours ago

Share


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