Ask: OTP verification
This feature is only available from Base Flows skill 3.7
When working with phone numbers, you need to be able to verify if the phone number is actually owned by the user. For this you can use the Ask OTP verification node variant. It will send an SMS to the number with a number in it. Then it will ask the user to pronounce the number, or when DTMF only is toggled, type in the number finished by the hash key. This way, the user proves he or she owns the number.

Make sure to select "mobile phone number" in the Phone number type field in the Ask Phone node, because the SMS will only arrive on devices that can actually receive SMS messages
Node properties
Question
The original question
Try again (1)
The repeat question when wrong input is provided
optional
Try again (2)
An alternative repeat question when wrong input is provided
optional
Assign to
To assign the result to a variable in the conversation
Remember
To also store the variable in the user object
The variable name in the Assign to will be used to store the value in the user object.
Record audio ☎
On phone channels there is an option to record the audio
Assign audio URL to
When record audio is toggled the URL to the audio file will be stored in this variable
When record audio is toggled the URL to the audio file will be stored in this variable
SMS text
The text to use for sending the SMS.
You can interpolate the otp_code in there by using the / command. Make sure to add a variable with exactly this name first.
Sent message
The text the bot will use to announce the sending of the SMS
Resent message
The text the bot will use to announce a retry of the SMS sending
This happens when the user would, instead of providing a code, indicate he or she didn't receive the SMS message.
Last updated
Was this helpful?
