# Collect input

Collect Input action block is used for asking questions to which your visitors can respond in the chat.

Collect Input action block is made up of two things – A question and a response

Setting up 'Collect Input' action block

#### Question: <a href="#question" id="question"></a>

In the rich text editor, you can define the question that you want to ask your visitors.

For example, “What is your name?”

**Note**: The chat flow will not proceed until this question is answered by the user.

#### Response: <a href="#response" id="response"></a>

Variables are used to store the input received from the visitor, so you can reference it for later use.

You can either choose an existing variable from the dropdown or create a new one.

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

**Note**: If your variable requires a specific kind of input which the user wrongly submits, the user will show an error message and not be allowed to proceed.

\ <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/collect-input.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.
