Questions tagged [ask-sdk]
14 questions
1
vote
1 answer
how to fill a slot in alexa backend using python ask sdk
I need to fill the slot value of intent depending on some conditions.
I referred to the following documentation.
https://developer.amazon.com/en-US/docs/alexa/custom-skills/delegate-dialog-to-alexa.html#node_delegate_default_values_example
In this…

Ranjith kumar
- 140
- 7
1
vote
1 answer
Alexa LaunchRequest is never triggered
I am using the ask-sdk-core of the Alexa skill kit. I have the following LaunchRequestHandler and AudioIntentHandler. I face the issue that when I trigger the skill by just saying: "Alexa, speak to skillName" or "Alexa, start skillName" that…

Andre
- 4,185
- 5
- 22
- 32
1
vote
1 answer
Bespoken Code Coverage for self-hosted Alexa Skill written in Python (Flask)
I am working on an Alexa Skill written in Python using the ask-sdk for Python. This skill is running self-hosted on a Flask server listening to port 5000.
Now i would like to integrate Unit-Tests using the Bespoken Framework.
My testing.json file…

00aixxia00
- 11
- 2
1
vote
2 answers
ask-sdk python to return LinkAccountCard
I'm newbie to Alexa custom skill and if my users trigger an intent which requires authentication, i want them to link their accounts to continue using my skill. Of course my skill needs to return an instructions for them to know how to link their…

Quang Thái
- 649
- 5
- 17
1
vote
2 answers
How do I add Amazon.helpintent in audio player
When I ask help, Alexa help invoke instead not the custom help skill. If the audio player not playing eg. on the launch page I get the custom help invoke, but not in the audio player. How can I override that?
thank you.

geestack
- 11
- 1
1
vote
1 answer
How can I make my Alexa skill play a simple mp3 file?
I am attempting to write an Alexa skill that simply plays an MP3 file. I modified the default "hello world" lambda with this code:
const Alexa = require('ask-sdk-core');
const LaunchRequestHandler = {
canHandle(handlerInput) {
return…

johncorser
- 9,262
- 17
- 57
- 102
1
vote
3 answers
Sample python code for Account Linking in Amazon Alexa
Where can i find the sample Python code for Account linking in Amazon Alexa. I was only able to get the documentation here.
https://developer.amazon.com/docs/account-linking/understand-account-linking.html
Please help me !!

Chris Pioline
- 199
- 1
- 10
0
votes
0 answers
How can I create manual dialog to fill slots and verify slots using yes/no in my custom alexa skill programmatically using python?
I'm using custom alexa skill based on Python 3.7 and lambda function to trigger my skill.
I have two slots (medicine_name and quantity) for my intent "MedicineAdderIntent" which I am filling and for that I'm using auto-delegation from skill kit…

K V
- 1
- 2
0
votes
1 answer
How to invoke another intent within the responseBuilder WITHOUT using .addDelegateDirective or .addElicitSlotDirective
I have the following return statement:
return input.responseBuilder
.speak(speakOutput)
.addDelegateDirective(previousIntent)
.getResponse();
I don't want to use Dialog.Delegate (addDelegateDirective) since I need to have access to the…

nie.kohl
- 1
- 1
0
votes
1 answer
Adding event listener in alexa ask-sdk
I hava basic alexa skill in JAVA (using ask-sdk)
one scenario is that on a specific time i want Alexa to say some notification , like at 2:00(which will be determined by my code) alexa should say something
"its 2.00" you must go for walk ..
But I am…

junaidp
- 10,801
- 29
- 89
- 137
0
votes
1 answer
NestJS and ask SDK service injection
I'm trying to build a custom Alexa webservice with nestjs.
From AlexaController if I try to call a service inside a RequestHandler, it doesn't work because the this. isn't available there ( if I try console.log(this) inside the requestHandler i see…

Claudioc
- 53
- 1
- 10
0
votes
2 answers
Issues when launching Alexa skill deployed with Firebase Functions
I recently started development alexa skills (using SMAPI and ASK SDK) and use on backend side Firebase with nodejs.
I deploy my code on Cloud Functions and put my function uri on the endpoint in skill manifest file.
I have problem when launching my…

Oumayma MEDDEB
- 11
- 1
0
votes
2 answers
nodejs alexa skill to continue till the user says stop
I am writing an alexa skill which returns top colleges by city. I want session and the skill to continue till the user says stop. The code for TopCollegesByCityIntentHandler which takes city name is as below:
const TopCollegesByCityIntentHandler =…

Ashy Ashcsi
- 1,529
- 7
- 22
- 54
0
votes
2 answers
ResponseBuilder toString() returns object classes in string, not just the raw response string
I'm presently migrating from the Java ASK-SDK v1 to Java ASK SDK v2.
I'm trying to return a webhook call using the ResponseBuilder class that I built my response up and the data is correct, however when I try to populate the HTTP body with the JSON…

Rich Elswick
- 561
- 5
- 20