This type of question receives an user's answer, analyzes it and identifies a number expressed as digits or with letters. If the number comes with some extra text, SmartChat extracts only the number. For example:
...
Question | User response | Extracted datum |
What's your age? | 56 | 56 |
How many tickets do you need? | Nine | 9 |
How many tickets do you need? | I want 9 | 9 |
What's your house number? | One thousand two hundred and three | 1203 |
Tip |
---|
TIP: Use an Integer question when you need to extract numeric data as: age, weight, years, etc. |
The configuration options for this type of question are:
Unique ID | This is a unique identifier generated automatically; if you want you can changed it, just remember that within your chatbot two questions can't have the same ID.
| ||
Question text | Here is where you write the question to your contacts. | ||
Range | You can set the integer values that are acceptable to answer a question. For example, if you ask "How old are you?" you will probably want to set a minimum range of 15 and a maximum of 100. | ||
Retries | This property allows you to set the number of times the chatbot will repeat the question if a user's response is not a number or is out of Range | ||
Retry message | If the chatbot can't understand the answer given by the user, this message will be sent to the contact before asking the original question again, for example, "Try again, your answer must be between 15 and 100" | ||
End the conversation if not successful answer | If this property is activated, when you reach the set number of retries and the user does not yet give an answer that the chatbot can understand, the conversation ends; i.e. it doesn't asks / executes the following questions / actions. |