version: 1.0.0
sections:
main:
- answer: {}
- prompt:
play: "say:Thank you for calling %{business_name}. Press 1 for %{option_1}, Press 2 for %{option_2}, Press 3 for %{option_3}."
max_digits: 1
- switch:
variable: prompt_value
case:
"1":
- execute:
dest: department_1
"2":
- execute:
dest: department_2
"3":
- execute:
dest: department_3
default:
- play:
url: "say:Sorry, that was not a valid option. Goodbye."
department_1:
- play:
url: "say:You've reached the %{option_1} department at %{business_name}. A team member will be with you shortly. Thank you for your patience."
department_2:
- play:
url: "say:You've reached the %{option_2} department at %{business_name}. A team member will be with you shortly. Thank you for your patience."
department_3:
- play:
url: "say:You've reached the %{option_3} department at %{business_name}. A team member will be with you shortly. Thank you for your patience."
Create a free SignalWire account to save and launch this in minutes.
Create free account