Add an expiry to a variable

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

  1. Open the team and chatbot you want to work with.
  2. Click Variables in the left navigation.
  3. Click the name of the variable you want to add an expiry time to.
  4. Select Reset the value of this variable after a certain period.
  5. 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.
  6. Click Save.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.