https://retellai.com/?utm_source=discord&utm_medium=seo logo
How can I see if the user inputs a digit
# ❓・ai-evy-support
b
@AI Evy How can I see if the user inputs a digit. I want to call to transfer if the recipient presses 1
a
Thanks for tagging me @beer8605. I'll look through relevant sources and get back to you shortly.
### Answer For detecting user keypad input and triggering call transfers, Retell AI provides enhanced keypad input detection capabilities [(1) ](

▾

) . You can configure multiple input-ending methods including timeout features, termination keys, and digit limits . The system allows you to set up termination keys where users can press specific keys like pound (#) or star (*) to finish entering input . You can also configure a digit limit feature that automatically ends input after a specific number of digits, which would be perfect for detecting when someone presses "1" . For call transfers, you can use the Transfer Call tool by clicking "+ Add" in the tools section and selecting "Transfer Call" from the dropdown menu [(2) ]() . You can define specific conditions under which the call should be transferred, such as when a user inputs a specific digit . The system supports both cold transfer (where the call is transferred to a destination number directly) and warm transfer (where the AI agent first detects if the other side is a human, then speaks private and public messages) . To implement your specific use case, you would: 1. Configure the keypad input detection to recognize when "1" is pressed [(1) ](

▾

) 2. Set up the Transfer Call tool with conditions that trigger when this input is detected [(2) ]() 3. Update your agent's prompt to include instructions for when to use the transfer_call tool based on the keypad input
​ To learn more, see the sources I considered: [[1] User Keypad Input Detection (User DTMF) 2.0](

https://www.youtube.com/watch?v=AKyGlHr-vAM▾

) [[2] Transfer call](https://docs.retellai.com/build/single-multi-prompt/transfer-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
2 Views