Skip to main content

Supabase Upload File

Uploads a file to an existing Supabase Storage bucket.

Supabase Upload File node

This node uploads a file directly to Supabase Storage at the specified bucket and path. It is best suited for smaller files or situations where resumable uploads are not required.

When enabled, the upsert option allows an existing file at the same path to be overwritten. Upload operations respect Supabase Storage access policies and are executed in the context of the current user.

This functionality is based on the Supabase Client SDK upload method. For reference, see
Supabase Client SDK – Upload a file.

Inputs

DataTypeDescription
UploadsignalTriggers the upload operation.
BucketstringThe Storage bucket name.
Path (within bucket)stringThe destination file path inside the bucket.
UpsertbooleanWhether to overwrite an existing file at the same path.
FileBlob / FileThe file or blob to upload.

Outputs

DataTypeDescription
File IDstringIdentifier returned for the uploaded file, if available.
File PathstringThe file path within the bucket.
File Full PathstringThe full resolved path to the uploaded file.
Public UrlstringPublic URL of the uploaded file, if applicable.
Is UploadingbooleanTrue while the upload is in progress.
Is UploadedbooleanTrue once the upload has completed successfully.
StatusstringCurrent upload status: idle, uploading, success, or error.
Is SuccessbooleanTrue if the upload completed successfully.
Is ErrorbooleanTrue if an error occurred.
Error TextstringError message returned by Supabase, if any.
SuccesssignalTriggered when the upload completes successfully.
FailuresignalTriggered if the upload fails.
FinallysignalTriggered after the upload completes, regardless of outcome.