alexa-app icon indicating copy to clipboard operation
alexa-app copied to clipboard

Progressive Response

Open orlylev opened this issue 6 years ago • 4 comments

There is an option to send a Progressive response? https://developer.amazon.com/docs/custom-skills/send-the-user-a-progressive-response.html#when-to-send-progressive-responses

orlylev avatar Mar 29 '18 18:03 orlylev

nope you just have to get the data from the data field and do it yourself

malikov avatar Apr 08 '18 07:04 malikov

While it's not natively implemented, you can use custom directives to effectively do this.

tejashah88 avatar Apr 17 '18 22:04 tejashah88

But will the directive be sent back with the response? The point of the progressive response is that it is sent before the response while the user is waiting.

I'm happy to do a PR for this, the function name would be progressiveResponse accepting one argument, a string?

It would send an API call to the correct api location as SSML like the response function and return a promise.

peterjgrainger avatar Oct 09 '18 07:10 peterjgrainger

Progressive response made me crazy! No way to send 2 speaches. One before the request and one after with the response. I'll be happy if someone can post an example with custom directive as I didn't manage to used it. Thank a lot...

stackerine avatar Feb 28 '19 23:02 stackerine