In the Prompt of any follow-up question, you can retrieve data stored in a previously defined variable set with Key Name or Saved States using curly braces ❴key name or saved state key❵. If the variable is not yet defined, the variable name enclosed in curly braces will be sent to the end user. Please note that accessing a variable is not possible in the Intent's Answer field or the Callback Message field.
Let’s say you want to collect the user’s name and then use that name in a subsequent bot message. As shown in the example below, we first ask for the user’s name and store the response in a ‘name’ variable.
In the Prompt of the next follow-up question, we can then access the provided name by using
Updated 21 days ago