User Input

The Bildschirmfoto_2021-02-12_um_12.39.58.png widget allows chatbot users to enter free text. To be able to save this input, a variable needs to be created. If you are unsure how to name the user input, you can also have a variable name generated.

There are three types of user input: Text, Email, and Phone. The input characters can be limited if needed. Supported characters are letters, numbers, special characters and emojis.

Bildschirmfoto_2021-02-12_um_13.02.24.png

If a dialog handover to email is inserted in the story, the inputs stored in the variable are shown in it.

To use the user input in the conversation or in the Robot module, the variable name must be enclosed in {curly brackets} and written in lowercase. Multiple words must be separated with _ instead of spaces (snake_case). See this article for more information on using variables, including usage examples.

Important: A variable can be overwritten and always has the last value that was assigned to it.

 

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