> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zazubot.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Text input

The Text input block allows you to ask your user for a text answer.

## Short text input

By default the text input is expecting a short answer:

<Tabs>
  <Tab title="Flow">
    <Frame>
      <img src="https://mintcdn.com/zazubot/jkWiMkcCk4qiEvi7/images/blocks/inputs/short-text-flow.png?fit=max&auto=format&n=jkWiMkcCk4qiEvi7&q=85&s=64b97d6041d6c49b61f61157436ca6f5" alt="Text input" className="rounded-lg" width="1222" height="814" data-path="images/blocks/inputs/short-text-flow.png" />
    </Frame>
  </Tab>

  <Tab title="Bot">
    <Frame>
      <img src="https://mintcdn.com/zazubot/jkWiMkcCk4qiEvi7/images/blocks/inputs/short-text-bot.png?fit=max&auto=format&n=jkWiMkcCk4qiEvi7&q=85&s=e5d2cb78bc17fecab66a8077b469c813" alt="Text input" className="rounded-lg" width="896" height="374" data-path="images/blocks/inputs/short-text-bot.png" />
    </Frame>
  </Tab>
</Tabs>

## Long text input

You can also ask your user for a longer text answer by enabling it in the input options:

<Tabs>
  <Tab title="Flow">
    <Frame>
      <img src="https://mintcdn.com/zazubot/jkWiMkcCk4qiEvi7/images/blocks/inputs/long-text-flow.png?fit=max&auto=format&n=jkWiMkcCk4qiEvi7&q=85&s=46ebf9e7433c1c183ba393b3184bdae0" alt="Long text input flow" className="rounded-lg" width="1302" height="888" data-path="images/blocks/inputs/long-text-flow.png" />
    </Frame>
  </Tab>

  <Tab title="Bot">
    <img src="https://mintcdn.com/zazubot/jkWiMkcCk4qiEvi7/images/blocks/inputs/long-text-bot.png?fit=max&auto=format&n=jkWiMkcCk4qiEvi7&q=85&s=540e85e81c91c428fb47b94959496716" alt="Long text input bot" className="rounded-lg" width="884" height="530" data-path="images/blocks/inputs/long-text-bot.png" />
  </Tab>
</Tabs>

## Allow attachments

This option, when enabled, allows users to attach files to their message. This is useful when you want to ask for a document or a picture attached to the user messages.

The generated URL will be stored in the defined variable.

## Allow audio clips

This option, if enabled, displays a microphone button when the text input is empty. This allows users to record a voice message and send it to the bot.

<Note>
  If supported, the recorded file will be a WebM file. If not, it will be an MP4 file (i.e. Safari).
</Note>
