Hello,
I have a problem. I added SessionEndedRequest
handler to my alexa skill, but it never gets invoked.
I just added it like this:
app.setHandler({
LAUNCH() {
this.ask('Hello World! What\'s your name?', 'Please tell me your name.');
},
SessionEndedRequest() {
console.log('SessionEndedRequest');
},
});
And it never gets invoked. I add console log on request and I see request coming in.
Is there a special way to catch this request? Do I need to add it to intent map or something?
Any help would be appreciated, because I searched for examples which would use SER handler, but I was unable to find any.