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
- Click Data tables in the sidebar.
- Click New table.
- Enter a Name, for example
seen_ids. - Optional: enter a Description.
- Under Columns, enter a key for each column. Use letters, digits, and
_. Do not start with a digit. - Pick a type for each column:
string,number,boolean,date, orjson. - Optional: turn on Required or Unique. A
jsoncolumn cannot be Unique. - Click Add column for more columns.
- 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
- Click the table name in the list.
- Edit the grid.
Every project member can edit rows.
Import and export CSV
To import:
- Open the table.
- Click Import CSV.
- Pick a CSV file. The first line must hold the headers.
- Map each table column to a CSV header. Map at least one column.
- 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.