Retrieves data from default active account or recognized speaker's voice id that is on Alexa Device with granted user permissions.
When you want to retrieve customer information from the Amazon User Account or Recognized Speaker's Voice ID, see what permissions the customer has granted to the Alexa Skill on the Account and Person Profile Level and use it in your Alexa Skill.
Profile Type
Profile Type, contact information will be gathered of the active account on Alexa Device, when the customer accepts permission on the account level.Profile Type, contact information will be gathered of the recognized speaker, when the customer accepts permission on the profile level.
Also don't forget to enable Skill Personalization in Amazon Alexa Skill Permissions configuration.
After the user has enabled the skill and granted permissions, you'll be able to access the customer/person profile data like in the following examples:
Case for Customer or Person Profile Type
${status.customer_profile.fullName} when Full Name permission was granted by the user.${status.customer_profile.givenName} when Given Name permission was granted by the user.${status.customer_profile.emailAddress} when Customer Email Address permission was granted by the user.${status.customer_profile.phoneNumber.countryCode} when Phone Number permission was granted by the user.${status.customer_profile.phoneNumber.phoneNumber} when Phone Number permission was granted by the user.${status.customer_profile.reminders} when Reminders permission was granted by the user. For more info please visit the help file of Get Alexa Reminders ElementCase for Person or Person Profile Type
${status.person_profile.fullName} when Full Name permission was granted by the user.${status.person_profile.givenName} when Given Name permission was granted by the user.${status.person_profile.phoneNumber.countryCode} when Phone Number permission was granted by the user.${status.person_profile.phoneNumber.phoneNumber} when Phone Number permission was granted by the user.${status.person_profile.reminders} when Reminders permission was granted by the user. For more info please visit the help file of Get Alexa Reminders ElementIf at lease one permission has not been granted, On Permission Not Granted flow will be executed.
You'll still have access the fields of the customer profile just like in the OK flow, but expect some missing fields.
Additionally you will have access to missing permissions and configured permissions.
missing permissions indicate what permissions have not been granted by the customer or person. Example how to access the missing permissions: ${status.missing_permissions}
configured permissions indicate what permissions you have configured for your skill. Example how to access the configured permissions: ${status.configured_permissions}
Both missing permissions and configured permissions are arrays of string values with the name of the missing permission.
Here are some example of values you can expect on the variables missing permissions and configured permissions:['fullName','givenName','emailAddress','phoneNumber','reminders']['fullName','givenName','emailAddress','phoneNumber','reminders']