I have one Alexa skill which calls the external web service. My web service returns me variable array or string(Sentences) currently I am concatenating the whole array in the string and prompt it as a response.
Now, I want to add functionality like next, skip previous, last, first.
e.g. if I have an array of 5 in response. Now on a response from web service speak normally as I have concatenated all strings but if Alexa speaking 1 line and user say skip than Alexa skip the first line and start with 2nd. if the user says last than Alexa speak directly the last line.
Is it possible to achieve this functionality?
I am using node.js
and dialogue for user input to call web service.