Data tables
Data tables are small spreadsheets the company keeps for its automations: a call-back list, leads from a campaign, opening exceptions, a list of VIP numbers. The Table steps of the flow designer read and write them. Open Call handling, Flows, Data tables (/admin/data-tables). You need call_flows:read to see them and call_flows:write to change them.
Tables and columns
- New table takes a name and 1 to 20 columns. A column has a name (
a-zfirst, thena-z, digits and_, at most 32 characters, each once) and a type: Text, Number, Yes / no, Phone number (stored in international format, so55 1234 5678and+52 55 1234 5678match) or Date and time. - Name and columns renames the table or changes its columns. A column that you remove loses its values; a column whose type changes keeps the values that fit the new type.
- A company can have up to 50 tables, each up to 100 000 rows. A value is at most 1000 characters. When a limit is reached new rows are refused; nothing is ever deleted for you.
Rows
The table shows its rows, oldest first, 50 at a time (Show more rows). Search keeps the rows whose chosen column has a value; a phone number matches in any common form.
Add a row fills one value per column; an empty value stays empty. Edit and Delete are on each row. Edits use the row's version, so two people editing the same row never overwrite each other: the second one is told to reload.
Import and export
- Export CSV downloads the whole table. Values a spreadsheet would run as a formula (starting with
=,+,-or@) start with an apostrophe in the file. - Import CSV adds the rows of a file. The first line names the columns (names that are not columns of the table are ignored), cells are separated by commas and may be quoted. At most 500 rows are imported at a time; a row the table refuses (a value that does not fit its column) is counted and skipped, and the rest are added. Importing never changes or deletes existing rows.
Which flows use a table
Under the table's name you see the live flows that have a Table step on it. A table that a live flow uses cannot be deleted (MPBX-FLOW-TABLE-IN-USE); export it first if you want to keep the rows. Table changes and exports are recorded in the activity log.
API
The same operations are in the API under /api/v1/flows/tables: tables, columns, rows (keyset pages, If-Match on every change), a CSV export and GET /flows/tables/{id}/used-by. See the API reference.