Can we get current geo location of my alexa device?
I have search on google but most saying we can get address of linked account using address API.
But I have to get data based on geo location.
Is it possible to get current geo location of my alexa device?
Yes, you can get
Device Full address
Country/Region and postal code
You will have to enable Device Address in developer portal under Permission tab. Then
you will have to either explicitly grant "resource" access to your skill under Settings menu of your alexa skill or you will have to send a permission card to the user for consent.
Once the permission is granted, fire a GET request with deviceId and apiAccessToken to the specified apiEndpoint
Endpoint for Full Address is: /v1/devices/*deviceId*/settings/address
Country/region & postal code: /v1/devices/*deviceId*/settings/address/countryAndPostalCode
More info here
Hope this helps!
You can get location of device only by fetching the address api but it gives the address of the linked account for the particular device and which user has given during registering the device to amozon account using alexa.amazon.com.
Currently we may not get geo location of device without the above steps.
Related
I am trying to create a custom slot for email address in alexa skill .
I even specified bulk of slot values consisting of various types of email address.
still , alexa doesn't recognize email address.
any help would be appreciated.
Getting an email address from the user's speech is not easy. The best way is to get user contact info from user permissions. Refer here
I know how to get the device address from the Alexa app.
Now I need the addresses located in settings --> my locations. When I add a business address, I can use this address by saying "work".
I would like to use this address in my skill for work as well. How can I get it?
(Maybe the naming of settings is not 100% correct. I translated it myself.)
I don't think Amazon currently offers this to skill developers. Home & Work addresses are part of the user's Alexa account and would likely be accessed through the Customer Profile, but only name, email, and phone number seem to be available for skills to use according to their Customer Profile API docs.
Skills can only access an individual Alexa device's saved address through the Device Address API.
You can submit a feature request on their Developer Voice and Vote site.
Can i fetch current location from the model i specified(echo dot model no:RS03QR)? Is there anything to do with model of alexa or every alexa device can give current location?
I enabled the location permission.But still i can't fetch the current location.
You can get the user's current address information. You can view the docs here.
There's also an example skill in Node.js that uses the Device Address API.
If you are using Node.js, you might also want to check the Node.js ASK SDK docs. The DeviceAddressServiceClient is what you want.
How to replace the randomly generated email address from salesforce with my email address in the email coming from Salesforce. Please find the attached screenshot for better understanding.
Follow these steps
You can define and manage organization-wide addresses for each user profile. When sending email from Salesforce, users with these profiles can select their own address or the organization-wide address for the email’s From address. Replies are delivered to selected address.
REQUIRED USER PERMISSIONS
USER PERMISSIONS NEEDED
To modify organization-wide addresses: Modify All Data
Available in: Lightning Experience and Salesforce Classic
Available in: All Editions
From Setup, enter Organization-Wide Addresses in the Quick Find box, then select Organization-Wide Addresses.
To manage organization-wide addresses, use the available options.
To use an organization-wide address, send an email from Salesforce and choose your organization-wide address from the dropdown list.
How do I send email from Google App Engine with a random, non-app admin sender using a custom domain name (e.g. xyz#myshop.com ) ? We need to allow the users of our website to communicate with each other through a custom made messaging system but also allow them to reply directly from their email. Something similar with the craigslist system. However seems that GAE doesn't allow us to send email from an address that is not admin. Is there any workaround / patch ? We are the owner of myshop.com domain name (verified through google apps) so I don't see why a such thing is not allowed.
While you can't use just any random address, you can use a registered administrator address with a '+' suffix. So you could send the mail with a 'from' of, say, message-reply+HASH_VALUE#myshop.com. Then your app will receive the reply, and can use the hash to decide which user to forward the mail to.
How about sending the email from your admin account, but adding a reply-to header, specifying the user's email-address?
Google doesn't allow to use random addresses. You can star this bug.
http://code.google.com/p/googleappengine/issues/detail?id=3069
However, since the users are apparently registered with Google Apps, the system can send emails on their behalf when they are signed into your application.
The sender address must be one of the following types:
...
The address of the user for the current request signed in with a
Google Account. You can determine the current user's email address
with the Users API. The user's account must be a Gmail account, or be
on a domain managed by Google Apps.
http://code.google.com/appengine/docs/python/mail/emailmessagefields.html