Skip to content
Supabase

How to use Supabase

DevelopersCost: 1 credit per runTechnical reference

What it is for

The open-source Firebase alternative

Supabase triggers react instantly to events in the app.

Set up the connection

Authentication type: Custom credentials

  1. 1Sign in to Supabase and look for the API or integrations section in its settings.
  2. 2Create an API key or token with the permissions you need and copy it.
  3. 3In flooows, add a Supabase step, click "Connect" and paste it into: Project URL, API Key.
  4. 4Save the connection: it is stored encrypted and is never shown in plain text.
Connection fieldTypeRequired
Project URLTextYes
API KeySecret keyYes

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • Upload File: fill in Bucket, File Path, File; use the data selector to map values from earlier steps.
  • Create Row: fill in Table, Row Data; use the data selector to map values from earlier steps.
  • Update Row: fill in Table, Column, Condition, New Values; use the data selector to map values from earlier steps.

Tips

  • •Test each step before publishing to see the exact output structure.
  • •Enable retries on steps that call external services.

Triggers (1)

Events that can start a flow. Expand each one to see its fields.

New RowWebhook (paste the URL in the app)2 fields
FieldTypeRequired
TableList (from your account)Yes
SchemaTextNo

Actions (22)

Operations available as flow steps. Expand each one to see its fields.

Upload File3 fields
FieldTypeRequired
BucketTextYes
File PathTextYes
FileFileYes
Create Row3 fields
FieldTypeRequired
TableList (from your account)Yes
Row DataDynamic fieldsYes
Return Created RowYes / NoNo
Update Row8 fields
FieldTypeRequired
TableList (from your account)Yes
ColumnList (from your account)Yes
ConditionFixed listYes
ValueTextNo
ValuesList of valuesNo
New ValuesDynamic fieldsYes
Count Updated RowsYes / NoNo
Return Updated RowsYes / NoNo
Upsert Row5 fields
FieldTypeRequired
TableList (from your account)Yes
Match ColumnList (from your account)Yes
Row DataDynamic fieldsYes
Count Upserted RowsYes / NoNo
Return Upserted RowsYes / NoNo
Delete Rows7 fields
FieldTypeRequired
TableList (from your account)Yes
ColumnList (from your account)Yes
ConditionFixed listYes
ValueTextNo
ValuesList of valuesNo
Count Deleted RowsYes / NoNo
Return Deleted RowsYes / NoNo
Search Rows6 fields
FieldTypeRequired
TableList (from your account)Yes
ColumnsTextNo
FiltersList of valuesNo
PageNumberNo
Rows Per PageNumberNo
Total CountFixed listNo
List Tables0 fields

No fields to configure.

Get Table Schema1 fields
FieldTypeRequired
TableList (from your account)Yes
Create Storage Bucket3 fields
FieldTypeRequired
Bucket NameTextYes
PublicYes / NoNo
Max File SizeNumberNo
Delete Storage Bucket1 fields
FieldTypeRequired
BucketTextYes
List Storage Buckets0 fields

No fields to configure.

List Files in Bucket2 fields
FieldTypeRequired
BucketTextYes
Folder PathTextNo
Download File2 fields
FieldTypeRequired
BucketTextYes
File PathTextYes
Delete Files2 fields
FieldTypeRequired
BucketTextYes
File PathsList of valuesYes
Create Temporary File Link3 fields
FieldTypeRequired
BucketTextYes
File PathTextYes
Expires InNumberNo
List Users2 fields
FieldTypeRequired
PageNumberNo
Users Per PageNumberNo
Get User1 fields
FieldTypeRequired
User IDTextYes
Create User5 fields
FieldTypeRequired
EmailTextNo
PhoneTextNo
PasswordTextNo
Mark Email as ConfirmedYes / NoNo
User MetadataJSONNo
Update User5 fields
FieldTypeRequired
User IDTextYes
EmailTextNo
PhoneTextNo
PasswordTextNo
User MetadataJSONNo
Delete User1 fields
FieldTypeRequired
User IDTextYes
Invite User by Email3 fields
FieldTypeRequired
EmailTextYes
User MetadataJSONNo
Redirect URLTextNo
Custom API Call10 fields
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo

Common errors

Authentication error

The connection expired or the key was revoked: reconnect it from Connections.

Field not found or empty

Re-test the previous step and remap the field in the data selector.

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps