DTMF Slot

If you've already configured a DTMF (Dual Tone Multi-Frequency) intent in Parloa, the system automatically generates a corresponding DTMF slot. This feature enables callers to input specific information, such as customer numbers, using their phone's keypad.

Examples

Customizing Length for Customer Number

Imagine you need to limit the customer number to a certain range of digits, specifically between 6 and 9. To achieve this, configure the DTMF slot with the following rule:

slots.dtmf && slots.dtmf.length >= 6 && slots.dtmf.length <= 9

This rule ensures that only customer numbers falling within the 6 to 9 digit range are accepted.

Setting a Fixed-Length Customer Number

In scenarios requiring customer numbers to be precisely 8 digits long, use the rule below:

slots.dtmf.length == 8

Implementing DTMF Slots

  1. If you haven't done so already, establish a DTMF intent within the Parloa Speech Assets.

  2. After the DTMF slot is created, integrate it into your dialog flow. This allows you to capture and validate caller input based on the predefined rules.

The addition of a DTMF slot introduces a layer of flexibility to your chatbot, facilitating interactions in a manner that's both comfortable and convenient for callers.

Last updated