Data sets

The DataSet feature enables administrators and editors to upload list of entities to be used by the chatbot as options to select by the end user. 

For live chat, those options can appear as buttons or drop-down according to the settings selected in the Picker Node. For WhatsApp, those options will appear as a button or a list according to the number of options provided and if the WhatsApp Interactive Messaging feature is activated.

This article explains how to create and use data sets in the Build > Action section of Spotler AIgent. 

1. Create a CSV file with the dates (check the date format)

e.g

entity;value
date;2024-4-14, 2024-12-25, 2024-12-26

 

2. Create a RULE

value - that's the entity name from CSV

select option: Contains

right operand - enter the string with single quotes: '{{system.year}}-{{system.month}}-{{system.day}}'

3. Create dialog and add the RULE

4. Set the flow