Get Amazon Customer Profile Element

Retrieves address data from a stationary alexa device.

When to use?

When you want to retrieve the users Alexa Device.

How to use:

  1. Make sure you already have configured and propagated your service to Amazon Alexa with checked one of the permissions in Amazon Alexa Skill Permissions below:
    • Full Address
    • Country/Region & Postal Code Only
  2. If you wish you can change the Return Var which represents the name under which the address data will be stored. Default is deviceAddress
  3. If the one of the device address permissions (Full Address or Country/Region & Postal Code Only) have been configured and granted on Account Level at the user's end, OK flow will be executed.

    After the user has enabled the skill and granted device address related permissions, you'll be able to access the device address data like in the following examples below:

    Case for Full Address permission configured and granted at the user's end.

    • Access address line 1 - ${deviceAddress.addressLine1}
    • Access address line 2 - ${deviceAddress.addressLine2}
    • Access address line 3 - ${deviceAddress.addressLine3}
    • Access city - ${deviceAddress.city}
    • Access State or Region - ${deviceAddress.stateOrRegion}
    • Access District Or County - ${deviceAddress.districtOrCounty}
    • Access Country Code - ${deviceAddress.countryCode}
    • Access Postal Code - ${deviceAddress.postalCode}

    Case for Country/Region & Postal Code Only permission configured and granted at the user's end.

    • Access Country Code - ${deviceAddress.countryCode}
    • Access Postal Code - ${deviceAddress.postalCode}