K Rudy
03/31/2026, 2:36 PMAI Evy
03/31/2026, 2:36 PMAI Evy
03/31/2026, 2:36 PM## IVR Navigation
When interacting with automated systems, menus, or IVR prompts:
Your goal is to reach the scheduling or appointments department.
Preferred navigation keywords:
• Scheduling
• Appointments
• New patients
• Front desk
Avoid:
• Billing
• Referrals
• Medical records
• Clinical departments
If you are unsure which IVR option is correct:
Choose the option most closely related to scheduling or appointments.
Alternatively, if you know the exact digit sequence:
Press digit 1 to reach the support department.
## Important Notes
- This feature is designed for the agent to navigate IVRs, not for capturing user keypad input [(4) ]()
- You won't hear audible tones during testing, but the DTMF signals are sent to the IVR system [(5) ]()
- The function only works with Call API v2 [(2) ]()AI Evy
03/31/2026, 2:36 PMpress_digit function enables your AI agent to navigate IVR (Interactive Voice Response) systems by sending DTMF (Dual-Tone Multi-Frequency) tones—essentially pressing digits on the phone keypad. [(1) ]() [(2) ]()
## How It Works
When making outbound calls, agents often encounter IVR systems that require pressing digits to reach the right department or enter information. [(2) ]() The press_digit function allows your agent to automatically send these keypad inputs.
The process works as follows: [(1) ]()
1. **Agent Decision**: Based on conversation context, the LLM determines when a function is needed
2. **Parameter Extraction**: The agent extracts required information from the conversation
3. **Function Execution**: Retell calls your function with the extracted parameters
4. **Response Handling**: The function result is processed and incorporated into the conversation
## Setup Steps
To enable this functionality: [(2) ]() [(3) ]()
1. Add the Press Digit Tool to your agent in the Functions section
2. Add Navigation Prompts with clear instructions on when and what digits to press [(2) ]()
3. Add Interaction Rules for handling edge cases
Example prompt:AI Evy
03/31/2026, 2:36 PMAI Evy
03/31/2026, 2:36 PMK Rudy
03/31/2026, 2:37 PMAI Evy
03/31/2026, 2:37 PMAI Evy
03/31/2026, 2:38 PMuser_dtmf_options.digit_limit) : Maximum number of digits the user can enter
- Termination Key (user_dtmf_options.termination_key) : A specific key like # or * that signals the end of input
- Timeout (user_dtmf_options.timeout_ms) : Time in milliseconds to wait after the last digit before timing out
Once configured, DTMF input is captured automatically and added to the call transcript. The agent can reference this value when generating responses.
## Example Prompt
Your prompt should instruct users to enter digits via keypad:
Please enter your PIN number using the keypad. You can finish by pressing the pound key.
## Transfer Based on DTMF Input
After capturing the keypad input, you can use the Transfer Call function to route calls dynamically. [(2) ]() Set up the transfer tool and configure your prompt to trigger transfers based on the captured DTMF value.
For example, you could prompt the agent:
If the user pressed 1, use the transfer_call tool to transfer to the sales department.
If the user pressed 2, use the transfer_call tool to transfer to support.AI Evy
03/31/2026, 2:38 PMAI Evy
03/31/2026, 2:38 PMAI Evy
03/31/2026, 2:38 PM