User Input


This item helps you to get input from the users. The explanation goes in its name itself 'User' 'Input'.

User inputs can have questions like:

  • Can I know your name?
  • Please share your email id.
  • Can you please share your contact number?

Standard Validations

To get input from the user you will have to enter your message and set standard validations. The standard validations are:

  • Text: If the answer is expected in the form of text
  • Phone: If the answer is expected to be a Phone number
  • Email: If the answer is expected to be an Email ID
  • Number: If the answer is expected to be a number
  • Attachment: If you want to give the option to attach a document in the bot then select the validation as attachment in the user input.
    Note: Maximum size allowed to upload the document is 900kb
  • Custom: You can also customize the validation as per the requirement to get an appropriate response from the user.

To customize a validation you need to give a name to validation, along with the regular expression and an error message to be displayed if the user does not enter a proper value. Custom validation expression. To understand custom more clearly, watch the video below.

 

Skip item

Once you’ve received an input from the user and saved it as an attribute. You can skip the attribute if the same input is going to be asked again in your other flows.
There two ways in which you can skip the input.

  • Skip with no confirmation - Here the bot with skip the process without confirming the details.
  • Skip with confirmation - The bot will ask the user a question to confirm if the attribute is correct

Advance

Under advance, you will have to set an error message if the user’s reply is not as per the given requirement.

 

Advance_userinput