I've created custom Alexa skill (using AWS lambda function), which should do the following things:
Send a message to slack channel.
Dial-in hardcoded phone number.
Now, I'm looking for the solution to make a call using this custom skill.
Is it possible to do?
P.S. A4B (Alexa for business) provide the possibility to setup conference provider, which require SIP number which I don't have. I only have phone number.
Thank you in advance!
Unfortunately, this is not possible for now. Alexa is not able to dial in the phone number from custom skill.
You can dial hardcoded phone numbers using Twilio API.
Related
I am developping an Alexa Skill within the one the user has to provide a serie of answers to my backend (node.js) in order to get the right result. I would like to send this result by email.
Is it possible to retrieve the user's email through the API put at disposal by AWS using the Dialog.delegate method?
Thanks !
There is no built in method can get you the current user email id or any personal info.
But with authentication you can. See this blog post. You'll need to create an Amazon App and link it to your amazon skill using Account Linking. For the first time when you ask for the email, user has to accept access with their Alexa app. You can then save this email in your DB for future purposes. This is a long but recommended method.
The simplest method: Whenever the game is finished you can manually ask the user for email address. But Alexa may not recognize email address spoken by users properly and might break your app. I don't know, but maybe Alexa will reject your app for asking personal info this way!
I am new in Alexa skill kit development
I have already read Tutorials on Alexa Skill Kit
I have to implement Alexa Skill , In which I need to manually send command and want Alexa to speak it.
i.e When user login in system I can fire API as Alexa request and I want Alexa device to Speak that for example "Welcome Have a great day"
Is it Possible ? Or Any other alternatives. ?
Notifications for Alexa skill are in still in beta. You can apply for the access to it by filling up this form here : https://alexa.au1.qualtrics.com/jfe/form/SV_72lplGGegxNZ9Ln
If Push Notifications is what you're looking for, then the answer is YES.
Since in the comments you said, "You are not asking for HOW TO DO IT", so I'll just let this link here for your reference. https://developer.amazon.com/docs/alexa-voice-service/notifications-overview.html
I think you may want to use proactive events for your skill. They are now commercially available. You will be able to send a notification to your skill and the Amazon device will blink (yellow). However you will still need to say "Alexa check my notifications" to retrieve the actual message
https://developer.amazon.com/docs/smapi/proactive-events-api.html
Another idea would be to use "progressive response" feature: https://developer.amazon.com/docs/custom-skills/send-the-user-a-progressive-response.html
You can fire the interaction to alexa when your API is invoked and send a progressive response. Not really a notification but it might serve you. This way you will not need to ask to check the notifications to Alexa but directly get the voice message in the progressive responses
I am building an alexa skill which sends sms for alexa-user. (Ofcourse there is business logic behind when to send these messages). And I have two hurdles in the process:-
Alexa can send sms to anybody from users device, is that feature exposed to someone who is building a skill using alexa-sdk?
Even If I use twillio, I do not want user to literally tell me the number he wants to send SMS, for that I need user contact and phone numbers (so that he just says send sms to xyz). Is there anyway to do that?
I can elaborate question, if you are not able to figure out something, just comment over it or come to chat.
My intent to call the specified phone number from my own skill.
For example
Me: Alexa, ask <invocation> to find the customer service number
Alexa: Sure, the customer service number is 1800-xxx-xxx-xxx. Would you like to call
Me: Yes
[HOW TO MAKE CALL NOW?]
It would be possible to open a phone call from your programmed skill (alexa skill service). But for sure you not just want to start the call but also that the user can speak into alexa? But it's not possible to get the voice from the user.
Amazon Alexa transfers the speech input into text.
Your skill service only get JSON requests from the amazon skill interface with intents and spoken things as text.
So there is no chance to the get the audio track from the alexa user. Also stated in the forum
There is a feature request - you should watch this feature and vote for it.
Or you implement something like a callbackservice that you interconnect users telephone to service customer number. E.g. via an app on the phone - see this
You can make a call using your echo device or using the Alexa app as long as contact is in your list using Alexa Calling. Calling is only supported in U.S., U.K., Canada, and Mexico.
Here is another link to help you setup
https://au.pcmag.com/gallery/60053/how-to-call-someone-from-your-amazon-echo
A custom Skill has been created without being published.
I am able to test it in Service Simulator.
When I try to add the skills to my device from the web portal (http://alexa.amazon.com/) or the Alexa app on my phone, the search get no result.
I have made sure the Alexa device (my raspberry pi) is using the same developer account. What step have I missed?
Check the "test" tab and make sure the skill is "Enabled".
If some people still have the same issue after filling the Publishing tab, I just struggled with it for a day and I think I found a workaround.
I ended up adding my second e-mail address as beta-tester, and I was able to enable my skill and now I see it in "Your skills"
Hope this can help :)
There is a bug, amazon is currently working on it. because of which you are unable to find your skill. The same thing happened to me.
https://forums.developer.amazon.com/articles/30222/0628-issue-with-development-skills-not-showing-up.html
One problem related to Language settings.
Correct the language settings in your Echo Device using https://alexa.amazon.in/ or alexa app. Make sure language enabled in skill and device are equal. For example, use English India.
Go to https://alexa.amazon.in/.
Make sure device appears online.
Disable the skill in Your Skill section.
Enable it again.
This should solve the problem.