# Alexa Variables

The following variables are automatically added to your conversation when your chatbot is conversating on this channel:

| 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                                        |

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](https://developer.amazon.com/alexa/console/ask?) dashboard. If the required permissions are not requested the fields will be left blank.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.xenioo.com/basic-concepts/publishing/channels/alexa/alexa-variables.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
