Ask: Phone
To ask the user for a phone number
Getting a valid phone number from a user is tricky. It can often be entered in multiple ways: with or without country code or area code, using slashes or spaces, etc. This is why this separate Ask node variant is available, specifically for eliciting phone numbers.
On voice channels using older versions of the Base flows skill, this node variant will use DTMF to capture the phone number. On newer versions, it will try to capture the phone number using speech first and only fall back to DTMF if the first attempt fails. This way there is no risk of speech-to-text errors. Also, if the system already knows the user's phone number, because it was provided to the system by the underlying phone system, the Bot can use that number or at least give the user an option to do so.

When the phone number is asked in the context of a user, it can be stored in the predefined phone variable within the user object. This way, the phone number is also available in the Contacts, Inbox and Conversations section of the platform.

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
After 3rd try
The Flow to trigger after 3 times of unknown input.
optional
Assign to
To assign the result to a variable in the conversation
Record audio ☎
On phone channels there is an option to record the audio of the answer
Assign audio URL to
When record audio is toggled the URL to the audio file will be stored in this variable
Only displayed and mandatory when Record audio is toggled.
Remember in user.phone
To also store the value in user.phone
Disable number validation
To ignore invalid ISO phone numbers
Can be relevant for bots that allow input of phone extensions (like 3 digit numbers)
Phone number type
Can be one of phone number
, phone number or extension
, or mobile phone number
.
By default, the node accepts any phone number (no extensions).
Phone number or extension also allows Enreach Contact extensions.
Mobile phone number only allows mobile phone numbers, no extensions.
DTMF only ☎
Accepts only DTMF on phone channels. Otherwise it will try to accept speech first before falling back to DTMF
Only applicable on phone channels.
Use current number
How to deal with reusing the number that was provided by the phone system (caller id)
Use no if you always want to ask for the number. Use yes if you always want to reuse the number and use ask when you want the system to ask first.
Use existing
The question to use in case the above field is configured with ask
Retry
The repeat question to use in case no or wrong input was provided.
Dialog triggers
Special events can trigger another flow or set of nodes in your existing flow using Dialog Triggers. See the chapter Dialog triggers for more details.
Resources
Last updated
Was this helpful?