Hands-On Chatbots and Conversational UI Development
上QQ阅读APP看书,第一时间看更新

Default contextual variables

Besides defining your own contextual variables, you can also use a list of predefined variables. The information contained in these variables include the following:

  • Information that is obtained from the deployment platform (that is, Facebook) including the user's name, gender, time zone, and locale
  • Contextual information—last pushed button, last visited block name, and so on

To get a full list of variables, create a new text card and type {{. This will open the drop-down menu with a list of variables you can choose from. This list will also include the variables created by you: 

As with the developer-defined variables, these built-in variables can also be used in text messages and in conditional redirections using the Go to Block cards.