Accept predefined answers

Defines a predefined answer for a question interaction, with basic validation. When the user enters something that is not understood by the bot then a default message is shown. You can change these messages on the Validation tab of the Config tool.

Note: Define the answer format on the Answers tab of the Question interaction.
Variable name The answer is always available in the session and can be used by other interactions. However it is easier to identify the data and use it later if you name the variable.

The default name is the name of the interaction without spaces. For example if the interaction is What date then the variable name is whatdate.

Answer format Select the option Accept a predefined answer type.
Date User must enter a date using the format M/D/Y or Y/M/D, using either slashes or hyphens as separators. For example 01/31/2018 or 2018-01-31.
Date and Time When Use timepicker is deselected, users enter a date and time in the format yyyy-mm-dd H:m:s. For example: 2011-12-16 09:30.

When Use timepicker is selected, users select the date and time of an event from the timeslots shown in a date time picker (Apple Business Chat and Facebook Messenger). The timeslots must be returned by an Action interaction. For detailed information, see Using date and time pickers.

Email Address User must enter an email address like bot@domain.com.
Month User must enter the month like January, Jan or 1.
Month or Range of Months User must enter the month or a range of months like January-June, Jan-Jun or 1-6 or some combination of these.
Number User must enter a number either with or without decimal places.
Phone Number User can enter the phone number as a single number, or using hyphens, periods or spaces to separate the groups of numbers. For example:

(###)-###-####

###.###.####

### ### ####

+## (###) ### ####

Postal Code Accepts any value as the postal code.
Year User must enter the year as a 4-digit number.
Year or Range of Years User must enter the year or a range of years like 2010-2012.