# Options

Available only for SMS and WhatsApp channels.

Using this action block you can display a list of options the user can choose from. It is most commonly used when a selection from a list of items is to be made.

The options in the list are displayed in an ordered list, such as:

<figure><img src="/files/lZN6jRfswOB7liOcijpM" alt=""><figcaption></figcaption></figure>

Option action block is made up of the following:

1. Message
2. List of options
3. Error message
4. Variable
5. Hot keywords

### Message <a href="#message" id="message"></a>

This is the question the bot would ask while presenting the list of options.

For example, "Please choose from the list of options below".

### List of options <a href="#list-of-options" id="list-of-options"></a>

The list of options that are to be shown will be defined here.

Up to **10 options** can be included in one action block. If you need more, you can nest 'Option' blocks together.

Users can select from options by typing the following,

* The numeric digit i.e. 1, 2, 3...
* Alphabetic name i.e. one, two, three...
* Value of the option itself, i.e., Blue, Green, etc.

### Error message <a href="#error-message" id="error-message"></a>

When submitting a selection from the list of options, if any input does not match the list, this error message will be shown along with the list of options.

The user will have to retry by entering a valid number.

### Variable <a href="#variable" id="variable"></a>

Users can store the value of the selected option in a variable for future reference.

For example, if I choose 2 from the above image, 'Yellow' would be stored on the variable.

[Learn more about variables.](/wotsabot-help-articles/variables.md)

### Hot Keywords <a href="#hot-keywords" id="hot-keywords"></a>

You can define hot keywords that bring users to this action block, wherever they are in the conversation flow.

Imagine you are at a certain point in the flow. To return to this action block, you can type the keyword MENU.

\ <br>


---

# 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://help.wotsabot.ai/wotsabot-help-articles/bot-builder/action-blocks/options.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.
