Appearance
Select ​
Use this action to retrieve rows from a Supabase table. You can include data from related tables, filter rows, sort results, paginate, and optionally return a row count.
Add the action ​
- Create (or open) a workflow in the
Interfacetab or theData & APItab. - Click
Add an action. - Select
Supabase→Select. - Select the Supabase
Connectionyou want to use.
Configure the action ​
Table ​
Pick the Supabase table you want to query.
Columns ​
Click Columns to choose which fields are returned.
- Check the columns you want from the main table.
- Leave everything selected to return all columns from the main table.
To include data from related tables, use the sections below the column list:
- References — other tables linked through a foreign key on this table (for example, a
category_idcolumn that points to acategoriestable). - Referenced by — other tables that point to this table (for example,
commentslinked to apostsrow).
For each relation you enable:
- Turn the relation on.
- Pick the columns you want from the related table.
- (Optional) Open the relation settings to set a
Display name (alias)or change theJoin type:Left(Default) keeps rows even when the related record is missing.InnerOnly keeps rows that have a matching related record.
You can open nested relations to go deeper (for example, orders → customer → company). WeWeb prevents circular links so you cannot loop back to a table already in the path.
A foreign key column (like post_id) and its linked relation (like posts) are separate. You can return the ID only, expand the related row, or both.
Filters (optional) ​
Open the Filters section, then click Configure Filter.
From there you can:
- Click
Add conditionto add a rule. - Click
Add condition groupto combine rules withAndorOrlogic. - Pick the column, operator, and value for each rule.
- Toggle a rule off to keep it in the panel without applying it.
When you include related data in Columns, you can also filter on columns from those related tables. Use the scope list on the left side of the filter panel to switch between the main table and a linked table.
Common operators include equal, not equal, greater/less than, Like / iLike (pattern match), Is null/true/false, In list, array operators (Contains, Contained by, Overlaps), and Full-text search.
Sorting (optional) ​
Open the Sorting section, then click Configure Sort.
- Click
Add sortto choose a column and direction (AscendingorDescending). - Add multiple sort rules to control tie-breaking order.
If you included related data in Columns, you can sort by columns from those related tables using the scope list on the left.
Pagination (optional) ​
Open the Pagination section to limit how many rows are returned:
Limit— Maximum number of rows.Offset— How many rows to skip (useful withLimitfor pagination).
Advanced (optional) ​
Open the Advanced section for result shape options:
Single row— Return one object instead of an array. Returns an error if no row matches.Maybe single— Return one object ornullwhen no row matches (no error).Count— Include a total row count in the response (Exact count,Planned count,Estimated count, orNo count).
Maybe single is hidden when Single row is on.
Result ​
The action returns the selected rows as an array (unless you enabled Single row or Maybe single).
If you set Count to anything other than No count, the result also includes a count value.
Common pitfalls ​
You don't get any results ​
Check:
- Your filters (they might exclude everything).
- Your
Join typeon a relation (Innerremoves rows without a linked record). - Your Supabase Row Level Security rules (the current user might not be allowed to read those rows).
Related data is missing from the result ​
Make sure you enabled the relation in Columns and selected the fields you need. Returning only the foreign key column (for example category_id) does not automatically include the related row.
"Single row" errors when there is no match ​
Use Maybe single if "no match found" is a valid outcome for your flow.
You cannot filter or sort by a related column ​
First include that relation in Columns. Then open Filters or Sorting and pick the related table from the scope list on the left.
CONTINUE LEARNING
For reusable, secure datasets (filters + sorting + access rules), use a Table View.

