Upload & Categorize Files with Supabase Storage and Secure URL Generation

Nodes

818211a2-bc09-427d-bfa4-d8db9fbffb509c37fa7f-8da8-447f-886c-c8b0d3c3533c3b9f1b78-6b80-4575-aa6c-966987000389

Categories

Created by

JaJan Willem Altink

Last edited 39 days ago

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

New to n8n?

Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!