Get Digit String Step

Use the Get Digit String step to capture either a DTMF or spoken digit string from the caller in response to a prompt. When using ASR, the prompt used should ask the caller to “press or say” the digit string, because this step automatically supports spoken digits as well as DTMF digits when executed with ASR.

The Get Digit String step waits for input until the caller does one of the following:
  • Presses the terminating key (DTMF only)

  • Exhausts the maximum number of retries

  • Enters the maximum number of keys (DTMF only)

  • Does not respond before the timeout length is reached

In ASR mode, the step will take an entire spoken digit string but will return the digit result only up the specified Input Length.

Users must speak digits sequentially; for example, 1 2 3 4 must be spoken “one-two-three-four” instead of “twelve thirty-four”.

Note

When any previous escalating prompt in the script enters the Get Digit String step, it is reset to the first prompt in its list.

The Get Digit String step provides three output branches:
  • Successful—Input was valid.

  • Timeout—After the retry limit was reached, the last try timed out.

  • Unsuccessful—After the retry limit was reached, an invalid key was pressed or an invalid value was spoken.

Note

In the event of an error, the accumulated digits are returned and saved in the specified variable before the script exits through the unsuccessful or timeout output branches.

The customizer window of the Get Digit String step contains four tabs:
  • General tab (Get Digit String step)

  • Prompt tab (Get Digit String)

  • Input tab (Get Digit String)

  • Filter tab (Get Digit String)