Ask: zipcode
To ask for a specific piece of information
Last updated
Was this helpful?
To ask for a specific piece of information
Last updated
Was this helpful?
The Ask: Zipcode node allows you to request a user's zipcode within a flow. This node is specifically designed to capture zipcodes for either the Netherlands (nl
) or Germany (de
), ensuring proper validation based on the selected country.
The node will attempt to extract the zipcode for any arbitrary utterance. On voice channels this allows users to pronounce this zipcode, 1820 AK, as follows:
eighteen twenty A K
one eight two zero Alpha Kilo
After having extracted a valid zipcode, the node will ask the user for confirmation. In that process of asking for confirmation a user can also directly provide their correct zipcode if the initial zipcode was incorrect, as is shown in the screenshot below.
Netherlands (nl
):
Must be exactly six characters: four digits followed by a space and two uppercase letters.
Example: 1234 AB
Germany (de
):
Must be exactly five digits.
Example: 80331
These validation rules are just rough guidelines, the validation is done via Regular Expressions which check some extra edge cases (e.g. dutch zipcodes cannot start with a 0
).
Question
The message shown to the user asking for their zipcode.
Yes
Try Again (1)
The repeat question when wrong input is provided
No
Try Again (2)
The repeat question when wrong input is provided
No
Remember
To store the variable in the user object
No
Record audio ☎
On phone channels there is an option to record the audio of the answer
No
Assign to
The variable where the collected zipcode will be stored.
No
Assign to SMD
The Speech Markdown variable for voice interactions.
This will pronounce the zipcode more clearly than the regular stored variable.
No
Country Code
Defines the expected zipcode format (nl
for Dutch or de
for German zipcodes).
Yes