Can I use the ask() function multiple times to ask more than 1 question

Hi There,

I am trying to ask a series of questions via text message. In the tropo script I am attempting the following. The code never reaches the line say(result1.value);

Any idea how to ask multiple questions, one based on the other?

var result = ask("Please text the number 1 for Taxi, or 2 for Delivery.", {



   attempts: 2


if(result.value == 1){

   var result1 = ask("Please text your departure street number and street name.", {



    say(result1.value); //this line is never reached!



Please sign in to leave a comment.