UI Builder ships with prebuilt functions out of the box. These make it easier to work with variables and objects you might decide to use as you build your conversational AI application. For example, you can use the isObject function to detect if a variable is a complex type.

Another example of a prebuilt function is checking if a variable contains an array of values. If a variable containing an array is supplied to the function it will return true, otherwise it will return false.

You can see this here:

Untitled

Yet another way of using expressions and variables in UI Builder is by leveraging the ${} syntax.  You can use this syntax to parameterise outputs or messages. For example, consider the following:

Untitled

The contents of the data in variable user.todoitem would be injected at runtime by UI Builder.

Next

Learn more about actions.