How to make phone call from custom alexa skill - alexa

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

Related

Alexa Skill - Retrieve User's mail within multi-turn dialog

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!

Alexa skill ki manual input

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

Creating Alexa Skill Notifications (like quotemaker)

I need help in sending notifications to alexa device of a user (echo, dot, etc.. not the other non amazon alexa devices) from alexa skill i am building. I see quote maker doing it but, how its doing it is a blackbox.
For example if the user ordered some item through my skill (say abc org). I would like to notify user on their alexa devices about the status of order proactively ( eg, item shipped, or item out for deliver today).
Amazon has this already for amazon shopping, but i dont see much information on implementing the same for skills.
I saw quote maker creating a notification for self, but how its doing it is a blackbox
I had the exact same question and am still not 100% sure about the answer.
As best as I can tell, the Notifications API never made it out of developer preview, and instead has been replaced with the Proactive Events API.
Unfortunately, unless your skill needs to send notifications about trash pickup or sports scores, you're probably out of luck. Here is the complete list of all notifications types that are currently supported:
Weather alert
Sports event update
Message reminder
Order status update
Reservation confirmation
Trash collection reminder
Media content availability notification
Social game invitation notification

How to dial-in some number using Alexa custom skill?

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.

Alexa skill to change a variable on a website

I have an alexa skill and a website. I need to send requests from the alexa skill to change a certain variable on a website.
for examble, I have a name on the website lets say "michael", I want to be able to change that name to "zack" from alexa.
Alexa skill SDK allows you to perform remote calls to third-party APIs.
In your case, you can implement an API endpoint to change that field. Then you can call that endpoint with the data you need.
You can capture the name your user has been said.
By doing that, you would need to think how you will authenticate the user. Basically, you need to know how to match the user who is using Alexa with the user on your website. I don't think you want to change the name for the random user.

Resources