Purpose
Data Table nodes allow your chatbot to interact with the custom tables you create in the Data Sidebar. You can use them to store, retrieve, and manage information dynamically within a flow.
Add Row to Table
This node inserts a new row of data into a selected table.
- Select Table: Choose the Data Table you want to add a row to.
- Map Fields: For each column in the table, specify the value you want to insert. You can use static text or flow variables (e.g., map the `email` column to the
{{user_email}}variable).
Get Row(s) from Table
This node searches for one or more rows in a table based on conditions you define.
- Select Table: Choose the table you want to search.
- Set Conditions: Add one or more rules to filter the rows. For example, find a row where the `order_id` column equals
{{user_order_id}}. - Save Result to Variable: Specify a variable name (e.g.,
found_order). The data from the first matching row will be saved to this variable. You can then access its columns using dot notation (e.g.,{{found_order.status}}).