Alexa Variables
Last updated
Last updated
The following variables are automatically added to your conversation when your chatbot is conversating on this channel:
Some of the fields above are related to very specific Skill permissions that need to be requested from the user and specified in your skill deployment from the Amazon Skill Development dashboard. If the required permissions are not requested the fields will be left blank.
Variable
Description
bot_channel
Set to "AlexaChannel"
device_id
The id of the device currently contacting your chatbot
locale
The locale of the device currently contacting your chatbot
alexa_user_id
The full Alexa user id retrieved from Alexa contact data
alexa_account_link_token
The account link token that Alexa is retrieving from your won account linking procedure
device_state
The current state of the Alexa device
alexa_api_endpoint
The Alexa reply endpoint
alexa_api_messaging_token
The Alexa messaging token value
user_name
The user name of your contact
first_name
The first name of your contact
user_email
The full email address of your contact
country_code
The two letter ISO country code of your contact
postal_code
The delivery postal code of your contact
state_or_region
The delivery state or region of your contact
city
The delivery city of your contact
address_line1
The delivery first address line of your contact
address_line2
The delivery second address line of your contact
address_line3
The delivery third address line of your contact
district_or_country
The delivery district or country of your contact