https://retellai.com/?utm_source=discord&utm_medium=seo logo
how do i setup the press button node
# ❓・ai-evy-support
d
@AI Evy how do i setup the press button node ? I want the user to press a button for a call to fall in a branch is that how it works?
a
Thanks for tagging me @Daniel D. I'll look through relevant sources and get back to you shortly.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
### Answer The Press Digit Node is designed for navigating IVR (Interactive Voice Response) systems, where the agent determines whether and which digit to press—it's not for capturing user button presses to branch the call. [(1) ]() If you want users to press a button to select a branch (like "press 1 for sales, press 2 for support") , you should use DTMF capture instead. Here's how to set that up: For capturing user keypad input: Configure DTMF in your call settings like this: [(2) ]()
Copy code
json
"user_dtmf_options": {
  "digit_limit": 1,
  "termination_key": "",
  "timeout_ms": 2000
}
Then use a condition like
{{user_dtmf_input}} == "1"
to transition to different branches based on what the user pressed. Key tips: - Make sure your node is configured to allow barge-in so the system stops speaking when a digit is pressed - Avoid using "Skip Response" as this delays recognition until the end of playback When to use Press Digit Node: The Press Digit Node is specifically for when your agent needs to navigate an external IVR menu (e.g., calling another business and pressing digits to reach a department) . The agent will infer which digit to press based on instructions you provide. [(1) ]()
​ To learn more, see the sources I considered: [[1] Press Digit Node](https://docs.retellai.com/build/conversation-flow/press-digit-node) [[2] User dtmf input issue / IIssue with IVR Node Keypress Handling](https://discord.com/channels/1186424376300679209/1397608688734175293) ​