Some variables should only store a value for a short time. For example, if you have a variable that stores which product number the user is making a support call for, that value is probably not useful after the support conversation flow has finished.
You can set an expiry time on the variable to automatically reset it to its default value (or blank, if it has no default). The timer starts when a value is stored to the variable. Once the time has elapsed, the variable is automatically reset to its default value (or blank). If you save another value to the variable before the expiry, the expiry time restarts.
You can also use actions to reset a variable to its default (or blank) during the conversation flow.
Add an expiry time
- Open the team and chatbot you want to work with.
- Click Variables in the left navigation.
- Click the name of the variable you want to add an expiry time to.
- Select Reset the value of this variable after a certain period.
- In the Reset the value after field, type or select the number of minutes.
Only whole numbers are permitted. Minimum expiry time is one minute. - Click Save.
Comments
Article is closed for comments.