Skip to main content
The Collect Digits node prompts the caller and captures DTMF key presses. It supports input validation, retries, and configurable TTS for prompts.

Behavior

  • Plays a prompt message (via TTS or pre-recorded audio)
  • Listens for DTMF key presses until the terminate key is pressed, max digits are reached, or timeout occurs
  • Validates input against an optional regex pattern
  • Retries on invalid input up to the configured retry count
  • Stores collected digits and count in output variables

Configuration

Input settings

Validation

Prompt

TTS settings

Output handles

Output variables

Use cases

Prompt for a 10-digit account number with validationPattern: "^\d{10}$". On success, pass {{digits}} to a Database node.
Set maxDigits: 4, terminateKey: "#", and validationPattern: "^\d{4}$" to collect a 4-digit PIN.
Set minDigits: 10, maxDigits: 15 to collect an international phone number. Use the digits output variable in an SMS node to send a confirmation.