We are excited to announce that the Alexa skill personalization capability is now generally available for the Alexa Skills Kit in all locales. Alexa developers can leverage voice profiles in custom skills, enabling their skill to respond based on the voice interacting with their skill. Customers create voice profiles through the Alexa companion app, and the skill then uses these profiles to reference who is talking. Now, you can create a personalized experience for different customers, so your skill can address preferences, remember settings, and differentiate between household members. Skills already utilizing this feature to deliver delightful, customized experiences to customers include Uber, Vodafone, 7-Minute Workout, and others.
Now, your skill can determine who is speaking when customers engage naturally with your skill, no longer needing to switch between Alexa accounts to access individual preferences. Personalizing your skill experience can range from a friendly greeting to responses based on a customer’s likes, dislikes, interests, or account history. Use SSML and the alexa:name tag for Alexa to insert the user's name into a response, and then add a prompt with context, such as “Hi Jeff, welcome back. Would you like to order another ride to the airport?” If the customer changes the name in their profile through the Alexa app, it automatically changes in the greeting as well.
When a customer with a recognized voice profile interacts with your skill, Alexa sends a string of characters and numbers called a personID as a directed request to your back-end logic. Every time that customer engages your skill, the same personID is sent in the request. Each customer has a different personID, so you can use personID to generate different responses to different customers using the same skill. The personID identifier does not contain any personally identifiable information.
Until now, changing a skill’s behavior required a customer to configure Alexa household profiles and then manually switch between Amazon accounts. Personalization makes it simpler for your customers because now your skill simply links the person speaking to the correct account without switching profiles. When a customer with a recognized voice interacts with your skill on their Alexa-enabled devices, Alexa will include in the person object an accessToken for the account linked with that voice profile. You can use the accessToken and the associated individual customer’s account to fulfill the customer’s request. If a voice profile doesn’t have an account linked to your skill, you can use the accessToken from the user object to fulfill the request using the default account linked with the customer’s Amazon account.
Customers who have previously set up a voice profile can opt out of skills personalization through the Alexa app at any time. If your customer has opted out or if a voice is not recognized, Alexa will not send a personID in the request. Your skill can fall back to the Amazon account preferences represented by the userID in the request. Here’s how they work together:
{
"context": {
...
"System": {
...
"user": {
"userId": "amzn1.ask.account.[unique-value-here]"
"accessToken": "Atza|AAAAAAAA...",
},
"person": {
"personId": "amzn1.ask.person.[unique-value-here]"
"accessToken": "Atza|BBBBBBBB...",
},
}
}
},
"request": {...},
"session": {...},
"version": "1.0"
}
Personalizing your skill experiences can help you increase engagement and improve accuracy by simplifying customer interactions. See below for some personalized skills available to customers today:
Additional skills using the personalization capabilities include Twenty Questions (personalized game play), SprachBox Abfrage (individual voicemail messages), Vanity Planet (wellness products customized to the customer), Intervallfasten (tracking fasting intervals), and Party Craps - Multiplayer Edition (fact-action dice game of Craps for multiple players). More personalized skills are on the way, including OneBusAway (bus commuting information), and others.
Skills personalization is available today for custom skill developers in all Alexa locales. You can find complete information on how to configure personalization in our documentation. If your skill supports customized requests for different customers, we recommend you explore skills personalization to deliver better experiences to different customers using the same Alexa device.
We can’t wait to see what personalized experience you build for Alexa customers!