Keypad input (DTMF)

Detect the number keys the user presses during a call.

ℹ️

This feature is only available for Voiceflow’s phone integration and isn’t supported by the Web chat widget.


Voiceflow’s DTMF capability allows your agent to automatically detect and respond to keypad inputs during phone calls. For example, if a caller types 676767 on their phone, the agent can interpret that input and use it to drive the conversation flow - like entering an account number, selecting a menu option, or confirming a passcode - all without leaving the call. DTMF is great for handling fiddly numeric inputs during conversations.


Setting up keypad input

To use keypad input, it must first be enabled on your project. To enable it, open your project's settings, click Behaviour, then open the Voice tab. Then, scroll down and set Keypad input to On.

From here, you can also set the following settings:

  • Timeout - the number of seconds to wait between the user stopping typing and the input to be sent to your agent. Voiceflow will automatically send multiple numbers entered in quick succession as single message to your agent, allowing things like order numbers and PIN codes to be handled easily.
  • Delimiter - you can optionally set the pound (#) and star (*) keys as send buttons. If enabled, when a delimiter key is pressed, the user's keypad input will be immediately sent to the agent.

Receiving keypad input

Once keypad input is setup, any Agent step with Listen for other triggers enabled will be able to receive keypad input. You do not need include anything special in your agent's instructions to handle DTMF input beyond what you'd include to handle any verbal numeric input.



While you can differentiate between the type of input a conversation's debug logs, your agent cannot tell the difference between a user saying numbers and entering them using a keypad. Therefore, we recommend designing agents to say things like "say or enter your six digit passcode" rather than "enter your six digit passcode then press the star key".