Use data stores to provide your chatbot scripts with easily updatable tables of data, such as to map legacy product names to new names, provide unique promotional codes to chatbot users, check batch numbers of product recalls, or redirect flagged ticket numbers to priority support.
Each data store has a maximum file size of 20Mb and can have a maximum of 500,000 cells. For example, a data store with five columns could have up to 100,000 rows, and a data store with two columns could have up to 250,000 rows. You can access the data using data store functions and even add and remove items via scripts to manage your data automatically.
You can use a data store as:
- A lookup table, by accessing rows at specific indexes.
- A list of single-use values like promotional codes, by using the data store's last used index function.
Data stores don't appear in versions, and the data can be updated at any time without republishing your chatbot, so you can easily keep your data up to date.
You can: