Chatbot User Input

Official Content

The User Input represents the input parameters of the Flow of a Conversational instance.

image_201842512382_1_png

That is, the different parameters that the chatbot will ask the user when it detects the intent related to the flow.

The User Inputs are added automatically to the structure and are inferred from the In parameters of the Conversational Object.

In the next Flow, the Conversational Object property is set to "Lighting2".

image_2018425163050_1_png

The User Inputs automatically added to the flow match the parameters of the "Lighting2" procedure, which are as follows:

parm(in:&UserIdentification, in:&ComplaintDescription, in:&ComplaintAddress,out:&response);

Important

Consider the following if you are adding the User Inputs manually:

  • To map the User Input to a parameter of the conversational object, you have to name it equal to the name of the parameter. The order of the definition of the User Inputs is not relevant.
  • All the parameters of the conversational object have to be represented as User Inputs.
  • You can also add a User Input which doesn't match to any parameter. This could be used as a context data in the conversation. See HowTo: Referencing context parameters in a conversation.


enlightenedThe user inputs can be conditional. See Chatbot User input conditions for more information on this topic.

See also

HowTo: Build a chatbot using GeneXus

Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.