# Lista interactiva

Las listas interactivas, permiten un uso más dinamico para el usuario, cuando debe elegir entre varias opciones.

Para configurarlas en el XML sólo debes escribir de este modo las cabeceras del menú correspondiente:

```xml
<options header="En qúe puedo ayudarte?"
type="list"
button_text="Opciones"> 

    <option text="Catálogo">
    </option>
    
    <option text="Modos de pago">
    </option>
    
    <option text="Formas de envío">
    </option>

</options>
```

**Consideraciones:**

* &#x20;`button_text` , es el comando que le da nombre al botón principal. Debe tener un máximo de 20 carácteres y en caso de no estar presente,  por defecto, el nombre del botón será "Opciones".
* Las listas pueden tener como máximo 10 opciones y sus nombres no más de 24 caracteres
* La opciones no pueden contener emojis
* El header debe tener como máximo 1024 caracteres

En el siguiente ejemplo se ve el funcionamiento de la lista en combinación los los [botones interactivos](/chatbots/widgets/opciones-con-botones-interactivos.md):

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


---

# 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://soporte.optiwe.com/chatbots/widgets/lista-interactiva.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.
