Bot Data
The Bot Data page provides a direct view into the data that your bot has stored. This is an essential feature for debugging, understanding user interactions, and managing the information your bot collects and uses in its flows.
The data is presented in a table with the following columns:
- Key: The unique identifier for the data entry. This is the key you use in the Save to Bot Data and Load from Bot Data modules.
- Data Type: The type of data stored. Each data type has a color associated with it for quick visual identification.
- User ID: Allows you to save data on a per-user basis.
- Chat ID: Allows you to save data on a per-chat basis.
- Value: The actual data that was saved. The value is displayed in a JSON viewer, which allows you to inspect complex objects and arrays.
- Actions: A set of actions you can perform on each row, including editing or deleting the data entry.
Real-time Data
The data on this page updates in real-time as your bot interacts with users. You can see new data appearing as it's saved by your flows. Click the Live button at the top of the table to temporarily stop the real-time updates, allowing you to inspect a static snapshot of the data.
Filtering and Searching
The data table provides several options for filtering and searching your data:
- Search by Key: You can filter the data by the
Keycolumn to quickly find specific entries. - Filter by Data Type: You can select one or more data types from a dropdown to show only the data of those types.
- Filter by User ID and Chat ID: Similar to data types, you can filter the data to show only entries associated with specific users or chats.
Editing and Deleting Data
You can directly manipulate your bot's data from this page.
- Editing: By clicking the "Edit" action on a row, you can modify the
KeyandValueof a data entry. - Deleting: You can delete one or more rows by selecting them with the checkboxes and clicking the "Delete" button that appears at the top of the table. You can also delete a single row from its "Actions" menu.
Editing or deleting data directly can have a significant impact on your bot's behaviour, especially if a flow is expecting to find a specific piece of data. Be sure you understand the implications before making changes.