n8nflow.net logo

Upload & Categorize Files with Supabase Storage and Secure URL Generation

by Jan Willem AltinkUpdated: Last update 3 months agoSource: n8n.io
Loading workflow viewer...

Getting Started

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