Ask: Zipcode
To ask for a specific piece of information
The Ask: Zipcode node allows you to request a user's postal code (zip code). This node is specifically designed to capture postal codes for either the Netherlands (nl
) or Germany (de
), ensuring proper validation based on the selected country.
The node will attempt to extract the postal code for any arbitrary utterance. On voice channels, this allows users to pronounce this zip code, 1820 AK, as follows:
eighteen twenty A K
one eight two zero Alpha Kilo
After extracting a valid zip code, the node will ask the user for confirmation. In that process of asking for confirmation a user can also directly provide their correct zip code if the initial zip code was incorrect, as is shown in the screenshot below.


Validation Rules
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 not exhaustive; the validation is done via Regular Expressions which check some extra edge cases (e.g. Dutch postal codes cannot start with a 0
).
Node properties
Question
The message shown to the user asking for their zip code.
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 also 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 zip code will be stored.
No
Assign to SMD
The Speech Markdown variable for voice interactions.
This will pronounce the zip code more clearly than the regular stored variable.
No
Country Code
Defines the expected zip code format (nl
for Dutch or de
for German zip codes).
Yes
Resources
Last updated
Was this helpful?