I am setting up a scripting app that will make an outbound call to a specific number.
I want to wait for a specific phrase from the bot I call and then respond accordingly.
Assuming the first two phrases I am wait for, and the associated responses are:
Please enter your employee number (response: 123456)
Please enter your PIN (response 1234)
how would this be coded in the Scripting API app?