> For the complete documentation index, see [llms.txt](https://helpdocs.ycloud.com/help-center/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpdocs.ycloud.com/help-center/chatbot/chatbot-components/ask-a-question.md).

# Ask a Question

## What is Ask a Question?

Ask a Question represents an initiative by the business to pose a query, and this component waits for the user's response before proceeding with further actions based on the response.

## Types of Ask a Question

* #### Text (Textual Form)
  * A question presented in text form. After the user responds, the information they provide can be stored as a variable for subsequent customer replies.
  * *Example: You can ask for the customer's name and then save the name they provide into their profile. Later, when chatting with the customer, you can insert this name into the conversation.*

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

* #### Button: Quick Reply Buttons (Up to three can be set)
  * You can prompt the customer with several options to choose from in your inquiry. Once the customer clicks an option, it automatically replies with that choice, allowing for different routing based on the customer's selection.
  * *Example: You can ask if the customer wants to inquire about pricing or products. If the customer replies with pricing, automatically send them a price list document. If they click on products, send them an automatic product introduction.*

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

* #### List: Menu Bar
  * Up to 10 options for replies can be set. Suitable for businesses that want to provide quick replies but are limited by the number of quick reply buttons. It also allows for further segmentation and replies to the user's questions and needs.

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

## Other Related Settings

### **Set to Collect Only One User Response**

Guide:\
Log in to your YCloud account > Chatbot > Flow > Ask a question (select List/button format) > Turn on the "Limit user to answer once only" button.

When enabled, the Chatbot will only collect one response from the user for the current question. The user cannot choose two different options for the same question. The flow will proceed based on the user's first selected option.

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

### **Add a Description to the List Message**

Guide:\
Log in to the YCloud Dashboard > Chatbot > Flow > Ask a question > Select the List format > Click "Add description" to add a description.

{% hint style="info" %}
Please note: The description is limited to 72 characters.
{% endhint %}

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

<figure><img src="/files/xF1Oc0vWGCamDxYUY9WI" alt=""><figcaption><p><strong>Add a Description Under the List Button</strong></p></figcaption></figure>

<figure><img src="/files/e8AW83Mxr8mJ3scXBs4F" alt=""><figcaption><p>Final display effect</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://helpdocs.ycloud.com/help-center/chatbot/chatbot-components/ask-a-question.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
