Supabase Extended icon

Supabase Extended

Interact with Supabase database and storage

Storage → Upload File

AI-generated

Summary

Uploads a file to a specified Supabase storage bucket from incoming binary data, a remote URL, or raw text content.

Inputs

  • bucket (required) — Name of the Supabase storage bucket to upload the file to.
  • fileName (required) — Destination file name or path in the bucket.
  • inputType — Select the source format for the file upload: 'binary' (from previous node), 'url' (downloaded from URL), or 'text' (raw text content).
  • binaryPropertyName — Name of the binary property containing file data when Input Type is set to Binary Data.
  • fileUrl — URL of the file to download and upload when Input Type is set to URL.
  • textContent — Text content to save as a file when Input Type is set to Text Content.

Output shape

a single record

Returns upload confirmation metadata containing operation name, bucket, fileName, path, id, fullPath, and success flag.

Examples

Example 1: Upload binary file from previous workflow step

Set Bucket to 'attachments', Input Type to 'Binary Data', File Name to 'report.pdf', and Binary Property Name to 'data'.

Example 2: Fetch file from external URL and store in Supabase

Set Bucket to 'avatars', Input Type to 'URL', File Name to 'user_123.jpg', and File URL to 'https://example.com/images/user_123.jpg'.

Example 3: Upload raw text as a text file

Set Bucket to 'logs', Input Type to 'Text Content', File Name to 'system.log', and Text Content to 'Error at 12:00: Connection timeout'.

Links

Discussion