> For the complete documentation index, see [llms.txt](https://help.wotnot.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.wotnot.io/build/action-blocks/collect-input.md).

# Collect input

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

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

{% embed url="<https://www.loom.com/share/4aaa0800cfa744feb57e0eb0f0e15a13?sid=dead18e7-047f-41dd-8276-4b6a47ebda2f>" %}
Setting up 'Collect Input' action block
{% endembed %}

### Question:

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

For example, “What is your name?”&#x20;

{% hint style="info" %}
**Note**: The chat flow will not proceed until this question is answered by the user.&#x20;
{% endhint %}

### Response:&#x20;

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

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

[Learn more about variables](/build/interface/variables.md)

{% hint style="info" %}
**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.
{% endhint %}

<br>


---

# 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://help.wotnot.io/build/action-blocks/collect-input.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.
