Skip to main content

Tables

Dynamic tables let you create custom storage tables, define their columns, add or update rows, and move table data in or out with CSV import and export tools.

Use dynamic tables when you need structured records that can be stored, searched, exported, and reused in table queries.

The Tables page lists existing tables with the table Name, Num Rows, Created, Updated, and Actions columns. You can search the list, sort by name, change the number of items per page, open a table, open its data, or create a new table.

Create a table​

  1. On the Tables page, select New Table.
  2. In Name, enter a unique table name.
  3. Optionally, enter a Description of the table usage.
  4. Select Save.
  5. Confirm in the dialog.

Table names must be unique. The name can contain lowercase letters, numbers, and underscores.

Configure table columns​

Every table includes these protected columns:

  • id
  • date_created
  • date_updated

These columns are created automatically. They appear in the configuration table and are treated as system-managed columns.

To add a custom column:

  1. Open the table.
  2. Stay on the Configuration tab.
  3. Select New column.
  4. Enter the column name and choose the column type.
  5. Optionally set a default value, comment, and Indexed/Searchable option when available.
  6. Select Save and confirm the table structure change.

If you rename a column, and you Publish your Project, the old column will be kept and a new column with the new name will be created.

Supported column types include short text, longer text, date/time, integer, decimal, floating-point, and boolean-style values.

important

After modifying a table, click Save to confirm the changes.

Once created, tables can be used in workflows and websites content.

To view or edit the rows stored in a saved table, select Data in the toolbar at the top, next to Save. See Manage table rows for the available actions.

Import CSV data​

Use the Import Data tab to add rows from a CSV file.

  1. Open an existing table.
  2. Create the columns you need.
  3. Open Import Data tab.
  4. Upload a CSV file with the required headers.
  5. Review the parsed preview and CSV options.
  6. Click Import data to confirm the import and process data.
  7. Monitor the import progress until it finishes.

If the table has no custom columns, the import page shows: Oops!! You need to add columns to this table before importing data.

Import processing runs asynchronously and shows progress details while it runs. The import can be stopped while processing.

Export table data​

Use the Export Data tab to download table rows as CSV.

  1. Open an existing table.
  2. Select Export Data.
  3. Choose whether the CSV should include a Header.
  4. Choose the Delimiter and Enclosure.
  5. Select Download data.
  6. Keep the browser open while the export runs.

Manage table rows​

Use Data to view the information stored in a table and add records manually. Each row represents one record, with a value for each custom column. For example, a customers table with name and email columns can store one customer per row.

The Data button appears in the top toolbar after the table has been saved.

  1. On the Tables page, open an existing table.
  2. Select Data next to Save at the top of the table configuration.

For a new table, the view shows No data found until records have been added. Creating the table and its columns prepares the structure; adding rows fills it with information.

Add your first row​

Before adding a row, create and save the custom columns you want to fill in. These columns become the fields in the New Row form.

  1. In the Data view, select New Row.
  2. Under Details, enter the values for one record. Each field is labeled with its column name. For example, enter Alex Rivera in name and [email protected] in email.
  3. Select Save in the top toolbar. Flowize creates the record and opens the saved row for editing.
  4. Select Data in the breadcrumb at the top, or use the page's back arrow, to return to the row overview and see the new record.
  5. To add another record, select New Row again and repeat the process.

The system-managed columns id, date_created, and date_updated are omitted from the new-row form. If the form has no fields to fill in, select the table name in the breadcrumb, add custom columns in Configuration, and save the table before trying again.

Review and manage saved rows​

From the row overview, you can:

  • Browse rows, move between pages, and change Items per page.
  • Select Search to filter rows using indexed/searchable columns and choose the result order.
  • Select Reset search to clear the filters.
  • Open an existing row to review or update its values, then select Save to keep the changes.
  • Delete a row when the action is available to you.

Adding, saving, and deleting rows depend on your access rights. If there are no rows to display, the view shows No data found.

To return to the table configuration, select the table name in the breadcrumb at the top.

When you edit a row, system-managed columns such as id, date_created, and date_updated may be visible but disabled.

Row values are validated based on the column type.

Search rows and save table queries (beta)​

Dynamic table data can be searched with a query-builder style search. Search conditions use indexed/searchable columns.

The query builder can also be used to save reusable table queries. A saved query includes a Query Name, optional Description, selected Table, conditions, ordering, limit, and offset. The query name is required.

Saved table queries are scoped to the current customer environment.

Workflows​

Once you have created a table, you can find a Storage app called Tables placed in tab tools in the flow palette.

Tables app

Drag the app to the canvas and select the table you want to work with. Then, choose the type of query you want to perform.

InstructionUsage
SELECTIt will retrieve all the rows matching with the condition you indicate (eg.: date_created greater than 2019-12-31)
INSERTInserts a row in the table writing all the columns set in the app
UPDATEIt will update the indicated columns of the selected rows
DELETEDelete rows matching with the condition set

Extra parameters that we can define in the App:

  • How to order the results
Ordering byResult
ColumnThe result will be ordered by the column selected
DirectionThe result will be ordered Ascendant (ASC) or Descendent (DESC)
  • How many results you want to retrieve
ParameterResult
LimitThe App returns a maximum of 100 results
OffsetThe number of results to skip before returning anything

You can order the outputted results by column and direction. You can also limit the number of results (maximum 100).

To see an example of the app in action, check out the Table app example.

Was this article helpful?