Skip to content
Docs

Table Store

The Table Store is a lightweight relational table that belongs to your workspace. You declare columns with types, and flows read and write its rows with the Table Store nodes. It is the right choice whenever a single-value Key-Value entry is not enough but an external database is too much ceremony.

The Tables list: each table with its column count, and Write rows to this table, Rows and Edit on every row
The Tables list: each table with its column count, and Write rows to this table, Rows and Edit on every row

From Tables:

  1. Click New table.

  2. Name the table (e.g. Orders).

  3. Click Add a column for each column, and fill in its row:

    • Name — the column identifier used in queries and row payloads.
    • Type — what the column holds, in words: Text, one line, Whole number, Decimal number, exact, Money, Yes or no, Date, Date and time, Reference to a row, and so on.
    • Label — optional, the heading people see in place of the name.

    The pencil on a row opens the rest of the column’s settings, such as:

    • Unique — optional. A unique column is what TableStore / Upsert matches rows on, and what another table can point at.
  4. Optionally pick a Title column: the column that names a row to a person, such as a customer’s name or a project number. Wherever another table points at a row of this one, the row browser shows its title.

  5. Click Create.

The Create table form: Table name, Rows belong to, Title column, and a Columns table with Name, Type and Label and an Add a column button
The Create table form: Table name, Rows belong to, Title column, and a Columns table with Name, Type and Label and an Add a column button

Open a column’s How it shows to set its label and how its value reads: Add an option for a format (a number with one decimal, money, a date in the format you choose), text before or after it such as kg, a badge, a colour, an icon or a link. The menu offers only what fits the column’s type.

A column's settings dialog for delivery_date: Type Date, its Name, and its How it shows section with the Label Delivery date, Add an option, and the sortable, searchable and filterable switches
A column's settings dialog for delivery_date: Type Date, its Name, and its How it shows section with the Label Delivery date, Add an option, and the sortable, searchable and filterable switches

The table view draws the column this way, and so does every row view and portal table that shows it, unless that view sets the same option itself. Set it once here rather than on every page.

A text column can hold a file instead of words. Add Stored file and pick the file store the column’s files live in: the column then shows the file’s name, and a click downloads it. A row names its file the way the file nodes write it, by its id or as store/path. A file anywhere else is not shown, so a row cannot point at the rest of your files.

Add Picture to show the value as a picture instead, at the height and shape you choose. The picture is either a file from one of your file stores, or a web address. A web address is shown only when its host is on your list: select Picture hosts on the Tables page and add each host, such as images.example.com. Any other address shows nothing, so a row cannot make your visitors’ browsers load something from a site you did not choose.

The Picture option on a column: what the picture is, Height in pixels 40 and Shape Square or Round, with a note that no picture host is listed yet
The Picture option on a column: what the picture is, Height in pixels 40 and Shape Square or Round, with a note that no picture host is listed yet
The Where pictures may come from dialog with a Hosts field for hosts such as images.example.com and a Save button
The Where pictures may come from dialog with a Hosts field for hosts such as images.example.com and a Save button

On a portal, a visitor downloads a file or sees a picture only from a row they can see, and Publicus checks that again on every download. Visitors cannot change a column that shows a file or a picture.

Rows are written by flow nodes, and, when you switch it on, by people from the table view.

Under Row actions in the table’s settings, add buttons people press on a row or above the table: start a flow about the row, change the row with one press, or continue a flow that waits for the row’s answer. People in your workspace see them in the table view, on the rows each button’s conditions allow, and, where a button says so, for several selected rows at once. A button switched to Offered on portals can also be offered on a portal page that shows this table (Portals).

The Row actions tab of the Deliveries table with two buttons: Mark as signed, which changes the row by setting signed, and Book a pickup, which starts a flow given the row's pallets
The Row actions tab of the Deliveries table with two buttons: Mark as signed, which changes the row by setting signed, and Book a pickup, which starts a flow given the row's pallets
The Deliveries table view with Calendar, Triggers and Add a row above it, and View, Edit, Delete, Mark as signed and Book a pickup on every row
The Deliveries table view with Calendar, Triggers and Add a row above it, and View, Edit, Delete, Mark as signed and Book a pickup on every row

A table’s buttons go along when you export it. After an import, each button that starts a flow has lost its flow, even when the flow came along in the same import: open Row actions and pick it again. Until then the button is not shown.

A table with a date column has a Calendar button in its table view. It shows the rows by their dates, as a month, week, day, list or year. Choose the column that places a row under Starts, and if you like the column it ends on, the column it is called by and a column to colour rows by under Ends, Title and Grouped by. The address keeps your choices, so a link opens the same calendar. Clicking a row opens it as View does, when viewing rows is switched on under Rows in the table view. Nothing on the calendar changes a row.

The Calendar of Deliveries showing October 2026 as a month, each delivery note on its delivery date, under the Starts, Ends, Title and Grouped by choices
The Calendar of Deliveries showing October 2026 as a month, each delivery note on its delivery date, under the Starts, Ends, Title and Grouped by choices

Under Rows in the table view in the table’s settings, each action has its own section with a switch in its header: Adding rows, Viewing a row, Editing rows and Deleting rows. Nothing is switched on until you do, and a table with nothing switched on is read-only in the table view, including its on/off switches. Once an action is on, its section shows its settings:

  • Columns a new row fills in, Columns that can be viewed and Columns that can be edited narrow which columns each form shows or can write. Leave them empty for every column; “Rows belong to” is left out of edits unless you tick it, because changing it moves a row to another portal visitor. The table itself still shows every column.

  • Allow mass-delete lets people select several rows and delete them in one go. It is off unless you tick it.

    The Rows in the table view tab with Adding rows, Viewing a row, Editing rows and Deleting rows switched on, delivery_date, signed and pallets ticked as editable, and Allow mass-delete on
    The Rows in the table view tab with Adding rows, Viewing a row, Editing rows and Deleting rows switched on, delivery_date, signed and pallets ticked as editable, and Allow mass-delete on
  • Row form starts as the form your columns make. Change labels, help text, order, widths, sections and when a field shows. A field is a column: Add to the layout → A new column defines one right there, and it is added to the table and placed where you put it when you save the table. A field shows the column under it, with Edit the column to change its type, name or options without leaving the canvas.

    The Row form tab laying out the Deliveries form as one field per column, each with its width and its settings, copy and delete buttons, and Add to the layout below
    The Row form tab laying out the Deliveries form as one field per column, each with its width and its settings, copy and delete buttons, and Add to the layout below
  • Row view lays out how a row reads when somebody views it, here and on portal pages. Each value starts as its column’s How it shows says. Add an option to a value to change how it is shown here: a date as “Thu 1 Jan 2026 09:14”, a weight with kg after it, money in your currency, a link, a badge or an icon. A form’s fields take options too, such as text after the box, autofill or the steps a number moves in, and so do sections and tabs.

    The Row view tab laying out a delivery as one value per column, followed by a Table block listing Deliveries by the same carrier
    The Row view tab laying out a delivery as one value per column, followed by a Table block listing Deliveries by the same carrier
  • A reference column is a searchable list of the rows it can point at.

  • With editing on, each yes/no column you can edit gets a Set ”…” action for the selected rows, which sets it to yes or no on all of them at once.

    The Set Signed on the selected rows dialog with Yes and No and a Submit button
    The Set Signed on the selected rows dialog with Yes and No and a Submit button
  • Deleting a row is for good. The confirmation says what else goes with it: rows that point at it and are set to be deleted too, or cleared.

    The Delete the row confirmation saying the row is deleted for good, with Cancel and Confirm
    The Delete the row confirmation saying the row is deleted for good, with Cancel and Confirm
  • A delete of several rows is all or nothing. When rows of another table still point at some of them, nothing is deleted, and the message names those rows (up to five, by title and id) so you can leave them out or deal with what points at them first.

These settings are also the most a portal table page can allow. A page’s own Changing rows settings can switch on only what is on here, and offer only the columns ticked here. Switch an action off here and it goes off on every page that shows the table.

A column that cannot be empty needs a value on the rows already in the table. Adding one to a table with rows needs a Default, which fills them in; a yes/no column’s default is Yes or No.

A row view can list the rows of another table that belong with the row being viewed: a register entry’s mail chain, an order’s deliveries. Add a Table to the Row view layout, choose the table it lists, and under Only rows where give a condition a value From this row instead of a fixed one: the mail chain’s register_key is this row’s Nr, for example. The block’s card then reads Rows where register_key is this row’s Nr.

A Table block in a row view layout, headed Deliveries by the same carrier, whose card reads Rows where carrier is this row's Carrier
A Table block in a row view layout, headed Deliveries by the same carrier, whose card reads Rows where carrier is this row's Carrier

The match is on the value, so the listed table needs no reference column: a flow can write the key into it as plain text, and the list still finds its rows.

  • A row whose From this row column is empty lists nothing and shows the block’s empty message, never every row. is compares exactly, so B-2000 does not match b-2000.
  • The list shows the columns, order, heading and empty message you choose, 10 rows a page unless Rows per page says 5, 25, 50, 100 or all of them (at most 500 a page).
  • In Publicus, everyone in the workspace sees every listed row that meets the conditions. A listed row opens with View where its own table lets rows be viewed, laid out as that table’s row view, which lists no tables in turn.
  • Nothing is added, edited or deleted from the list.
  • A rename of a column of the viewed table is followed into From this row. A rename of a column of the listed table is not: its condition then names a column that is gone and lists nothing until you change it.

The same block works in a portal page’s row view, where it lists only the rows the visitor may see; see Rows of another table in a row view.

A column of type Reference to a row points at a row of another table in the same workspace, or of the same table (a category’s parent category, for example). Choose:

  • Points at — the table.
  • Matched on — its row id, or one of its unique columns. Match on a unique column such as a customer number when the data comes from files or other systems: that is the value they already carry.
  • When that row is deleted — block the delete while rows point at it (the default), delete the rows that point at it too, or clear this column on them.
The settings dialog of a Reference column named carrier, pointing at the Carriers table, nullable, and set to delete the rows that point at it too when that row is deleted
The settings dialog of a Reference column named carrier, pointing at the Carriers table, nullable, and set to delete the rows that point at it too when that row is deleted

A flow writes the target’s key into a reference column (the row id or the unique value), never its title. A value that matches no row is refused with a message naming it; TableStore / Import leaves such rows out and reports them. While a column is pointed at, it cannot be removed, renamed, retyped or made non-unique, and a table that another table points at cannot be deleted. References cannot go round in a loop between tables.

A deleted table’s references stop working until it is restored: they no longer block or delete anything in the tables they point at, and those tables’ columns can change. Restoring the table brings them back. Rows that lost their match while it was deleted are deleted or cleared, as When that row is deleted says; a reference set to block stops the restore instead and names the values with no match. A table that points at a deleted table can only be restored after that one.

Each Table Store node takes the table to operate on via tableStoreId. The table’s Rows in the table view switches do not apply to them: those decide what people may do, and a flow is yours to design. The table’s Flows tab lists the flows whose nodes insert, change or delete its rows, with those nodes by name. A node that picks its table by an expression is counted there rather than listed, because which table it writes is known only when it runs.

  • TableStore / Insert — appends rows. The node takes the previous node’s JSON output, matches keys against the table’s declared columns, and writes whatever matches.
  • TableStore / Upsert — same shape as Insert, but matches rows on the table’s unique column. A table with more than one unique column needs Match on to say which. If a row with the same key already exists, its declared columns are overwritten; otherwise the row is inserted. Duplicate keys in a single payload are de-duplicated before the write.
  • Table Store Update — changes the columns each incoming item carries on rows that already exist, matched by row id or a unique column. A column set to null is cleared, and a row that does not exist is never added.
  • Table Store Delete — removes the rows the previous node names, or every row matching conditions, bounded by a row limit and with a dry run that deletes nothing.
  • TableStore / Query — runs a read-only SQL SELECT against this workspace’s tables. Instructions:
    • Query — the SQL text, with named bind placeholders such as :status.
    • Parameters — a map of placeholder name to value. Each key matches a :placeholder in the query, and each value is an expression field, so you can pass {{ $prev->customerId }} directly. Each value is quoted as a literal before the query runs, so a value can never change what the query does.
  • Load a File into a Table — writes a CSV or spreadsheet into the table at bulk sizes, mapping its columns and reporting what was written.
  • Write a Table to a File — writes the table’s rows out to a CSV or Excel file.

When Table Rows Change is a trigger that starts a flow when rows of a table are added, edited or deleted, from the table view, a portal page, the AI builder, an MCP client or another flow. The run gets each changed row as it was and as it is now, so a flow can react to a status becoming “approved” rather than to any save.

The table’s Triggers button shows which flows the table starts, and for each recent change, the runs it started or why it started none.

Situation Use
Only your workspace’s flows touch it Table Store
Shared with another application or legacy system Database / … nodes with a Secret credential
Schema changes from the app, not migrations Table Store
You need vendor-specific SQL (window functions, …) Database / …
  • Event logs written row-per-event with a Date column for filtering.
  • Intermediate pipeline state — stage records in a Table Store between two scheduled flows.
  • Lookup tables populated by a one-off flow and read by many.
  • Deduplicated ingestion using Upsert keyed on a natural id column.