Skip to content
VOIPTRAINERSTrain · Certify · Grow

ASRNUMBER Action in Studio – Complete Guide for NICE CXone Training

VoIP Trainers3 min read
ASRNUMBER Action in Studio – Complete Guide for NICE CXone Training

What is ASRNUMBER?

The ASRNUMBER action in NICE CXone Studio is used to capture a caller’s spoken number and store it as a numeric value in a script variable.

Unlike ASRDIGITS, which captures individual digits (such as account numbers or phone numbers), ASRNUMBER recognizes a complete number spoken naturally by the caller.

Examples

| Caller Says

|

Stored Value

| | — | — | |

Twenty Five

|

25

| |

One Hundred Fifty

|

150

| |

Two Thousand Five Hundred

|

2500

| |

Eleven Thousand Four Hundred Ninety

|

11490

| |

Nine Hundred Ninety-Nine Thousand Nine Hundred Ninety-Nine

|

999999

|

Supported range:

1 to 999,999

Visual Workflow Diagram

Real-Time Banking Example

Scenario

A bank wants customers to speak their age for eligibility verification.

Prompt

“Please say your age after the beep.”

Customer Response

“Thirty Two”

ASRNUMBER Output

Age = 32

Studio Flow

Play │ ▼ ASRNUMBER │ ├── OnHighConfidence │ ▼ │ Store Age │ ├── OnMedConfidence │ ▼ │ Confirm Age │ ├── OnNoConfidence │ ▼ │ Ask Again │ ├── OnTimeout │ ▼ │ Repeat Prompt │ └── OnError ▼ Error Handler

ASRNUMBER vs ASRDIGITS

| Feature

|

ASRNUMBER

|

ASRDIGITS

| | — | — | — | |

Recognizes whole numbers

|

Yes

|

No

| |

Recognizes spoken account numbers

|

No

|

Yes

| |

Stores numeric value

|

Yes

|

No

| |

Suitable for Age

|

Yes

|

No

| |

Suitable for Quantity

|

Yes

|

No

| |

Suitable for PIN

|

No

|

Yes

| |

Suitable for Phone Number

|

No

|

Yes

|

Example

ASRNUMBER

Caller says:

One Hundred Twenty Five

Stored:

125

ASRDIGITS

Caller says:

One Two Five

Stored:

125

The recognition method is different.

Input Properties Explained

  1. Caption

Provides a unique label for the action.

Example:

CaptureCustomerAge

Used for easy identification on the Studio canvas.

  1. Sequence

Defines the prompt played to callers.

WAV File Example

“PleaseSayAge.wav”

Text-to-Speech Example

“%Please say your age after the beep”

  1. Phrase

Used only for documentation purposes.

Example:

Please say your age after the beep.

This does not affect execution.

  1. HighConfidence

Determines when recognition is considered highly accurate.

Default:

78

Example

Recognition Score:

85%

Result:

OnHighConfidence

Branch executed.

  1. MinConfidence

Defines the minimum acceptable recognition score.

Default:

50

Example

Recognition Score:

65%

Result:

OnMedConfidence

Branch executed.

Confidence Level Diagram

  1. TimeoutSeconds

Determines how long Studio waits for a response.

Default:

10 Seconds

Example:

TimeoutSeconds = 15

If caller remains silent for 15 seconds:

OnTimeout

executes.

  1. ResultVarName

Stores the recognized number.

Example:

CustomerAge

Caller says:

Thirty Five

Stored value:

CustomerAge = 35

  1. ConfidenceVarName

Stores ASR confidence score.

Example:

AgeConfidence

Output:

AgeConfidence = 89

  1. DetectDTMF

Allows keypad entry alongside speech recognition.

True

Accepts:

Speech + Keypad

False

Accepts:

Speech Only

Speech and DTMF Flow Diagram

  1. ClearDigits

Clears existing DTMF values from buffer.

Default:

True

Recommended setting:

True

to avoid accidental digit carryover.

  1. InterDigitTimeout

Defines waiting time between keypad presses.

Example:

3 Seconds

If no further digit is entered:

OnInterDigitTimeout

is triggered.

  1. MinDigits

Minimum digits required.

Example:

2

Caller enters:

7

Result:

Waiting continues

Caller enters:

75

Result:

Accepted

  1. MaxDigits

Maximum digits allowed.

Example:

6

When reached:

OnMaxDigits

executes.

  1. TermDigit

Used to indicate completion.

Common value:

Example:

123#

Triggers:

OnTerminator

Result Branch Diagram

Best Practices

Use ASRNUMBER For

Age Collection

Number of Employees

Property Size

Loan Amount Count

Quantity Selection

Ticket Quantity

Do Not Use ASRNUMBER For

Credit Card Numbers

Phone Numbers

Customer IDs

PIN Numbers

For those scenarios use:

ASRDIGITS

Advanced Loan Application Example

Caller Says:

Seventy Five Thousand

Stored Variable:

Income = 75000

Conclusion

ASRNUMBER Action in NICE CXone Studio is a powerful speech-recognition component that converts naturally spoken numbers into usable numeric variables. It is ideal for capturing ages, quantities, counts, and measurements while providing confidence-based branching, timeout handling, DTMF support, and error recovery. Mastering ASRNUMBER helps developers build intelligent IVR applications and is an essential skill in NICE CXone Customized Training for creating advanced voice automation solutions.

Keep reading

Related training

CallWhatsAppEnquire