Felix.Neutatz
06/26/2025, 7:14 AMShubham Bajaj
06/29/2025, 6:47 PM[Task]
Welcome to X. If you are already a customer of our company, press 1. If not, press 2. If you have questions about vacancies or your application, press 3.
<wait for DTMF input>
2. **Handle DTMF Input**: Configure your system to repeat the prompt until a valid DTMF input is received. You can use error handling to manage invalid inputs:
[Error Handling]
If no number is entered, repeat the initial prompt after a short delay.
If the input is not recognized, inform the caller of valid options and repeat the prompt.
3. **Post-Input Actions**: Once a valid number is received, use the endCall
function to end the session gracefully:
[Response Handling]
Once a valid input is detected, acknowledge by saying "You pressed [number]. Thank you."
Trigger the `endCall` function afterward.
For more details on structure and error handling, refer to the [Voice AI Prompting Guide](https://docs.vapi.ai/prompting-guide) for further refinement of prompts and IVR flows.