Data tables

Small tables that workflows read and write.

Data tables are small tables that workflows read and write. Use them for seen IDs, counters, and queues.

Tables belong to a project. Open Data tables in the sidebar to see them.

Rows

Every row has three system columns: id, createdAt, and updatedAt. You add your own columns.

A table holds 100000 rows by default. The operator can change the limit with ZERODOT_TABLE_MAX_ROWS. See Configuration.

Data tables are not deleted by the daily retention job.

Create a table

  1. Click Data tables in the sidebar.
  2. Click New table.
  3. Enter a Name, for example seen_ids.
  4. Optional: enter a Description.
  5. Under Columns, enter a key for each column. Use letters, digits, and _. Do not start with a digit.
  6. Pick a type for each column: string, number, boolean, date, or json.
  7. Optional: turn on Required or Unique. A json column cannot be Unique.
  8. Click Add column for more columns.
  9. Click Create table.

Use a table in a workflow

Use these nodes. They have the app name Tables.

Node What it does
Insert Rows Adds new rows.
Get Row Reads one row.
Get All Rows Reads all rows.
Query Rows Reads rows that match a filter.
Update Rows Changes rows.
Upsert Row Adds a row or changes it.
Delete Rows Removes rows.

In each node, pick the table in the table field. You can use the table id or the table name.

Edit rows in the app

  1. Click the table name in the list.
  2. Edit the grid.

Every project member can edit rows.

Import and export CSV

To import:

  1. Open the table.
  2. Click Import CSV.
  3. Pick a CSV file. The first line must hold the headers.
  4. Map each table column to a CSV header. Map at least one column.
  5. Click Import.

An empty cell stays empty, or takes the column default.

To export, click Export CSV. The browser saves <table name>.csv.

Change a table

Only a project owner or admin sees these buttons on the table page:

  • Columns: add, rename, retype, and delete columns. Each change is saved at once.
  • Rename: change the table name.
  • Delete: delete the table and its rows.

Only a project owner or admin can create a table.

Change this page on GitHub