Ask: Phone

To ask the user for a phone number

Asking a user to provide a phone number is a delicate matter. The phone number must for instance be a valid phone number but can also often be entered in multiple ways, like with or without country code, dashes, etc. For this reason a separate Ask node variant is available that is specific for eliciting phone numbers.

On voice channels, on older versions of the Base flows skill, this node variant will use DTMF to capture the phone number. On newer version it will try to capture the phone number using speech first and only fall back to DTMF when the first attempt didn't work. 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

Property
Description
Explanation

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 store 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.

This node will also set a the user tag User: Phone, see the Settings → Tags page

Dialog triggers

Special events can trigger another flow or set of nodes in your existing flow using the so called Dialog Triggers. See the chapter Dialog triggers for more details.

Last updated

Was this helpful?