Skip to main content

Upload File

Uploads a file in Supabase.

This node is also exposed as an AI Agent tool.

This node has 1 input port and 1 output port.

Common Properties

Every node shares these.

  • Name — the node's display name on the canvas.
  • Color — the node's colour on the canvas.
  • Delay Before (sec) — wait this long before the node runs.
  • Delay After (sec) — wait this long after the node runs.
  • Continue On Error — carry on instead of failing the flow. Defaults to false.
info

When Continue On Error is true the error is not raised at all, so a Catch node will not see it either.

Inputs

PropertyFieldDescription
Base64 DatainBase64DataFile content as Base64 string
BucketinBucketStorage bucket name
Client IDinClientIDClient ID from Connect node (optional if credentials provided)
Local File PathinFilePathPath to local file to upload
PathinPathFile path in bucket (e.g. folder/file.pdf)

Outputs

PropertyFieldDescription
ResultoutResultUpload result with file key

Options

PropertyFieldDescription
Content TypeoptContentTypeMIME type (auto-detected if not provided)
CredentialsoptCredentialsSupabase API key (optional - use instead of Connect node)
Project URLoptProjectURLSupabase project URL (required if using credentials directly)
UpsertoptUpsertOverwrite file if it exists

Requirements

  • A Client ID from this package's Connect node, unless you set credentials directly on this node.
  • Supabase API Key — API key for Supabase authentication. Use anon key for client-side or service_role key for server-side operations.
    • value — API Key (password, required). Your Supabase anon key or service_role key from Project Settings > API

Store these in a Vault and reference the vault item from the node, rather than typing the secret into the property.

Download File · List Files · Delete File

Elsewhere in the package: Connect · Disconnect · Insert Row · Select Rows · Update Rows · Delete Rows · Upsert Row · Call Function · Toolkit

See also