# Question

> Ask something, check the answer (text, e-mail, phone, number, date, a choice or a file) and save it in a variable.

Asks the contact something, waits for the answer, checks it, and saves it in a variable. If the answer isn't valid, it asks again.



## Settings

| Setting | What it does |
| --- | --- |
| Question | What the bot asks. Variables work here, like in any message. |
| Expected answer | The kind of answer you expect (below). |
| Save the answer to | The variable that keeps the answer. Pick one or create it here. |
| When the answer isn't valid, say | Said when the answer isn't valid. Empty: the question is asked again as it is. |
| Retries | How many times to ask again (2 by default, up to 10). |
| Stop waiting after | How long to wait for an answer. Empty: the flow's default from **Flow settings**, and if that's empty too, as long as it takes. |

## Kinds of answer

| Expected answer | Accepts | Saves |
| --- | --- | --- |
| Any text | Anything written. | The text, line breaks included. |
| E-mail | An e-mail address. | The address in lowercase. |
| Phone | A number with its `+` country code, or a national one such as `(11) 98765-4321`, read in your business's country. | The international number: `+5511987654321`. |
| Number | A number as people write it: `42`, `3,5`, `1.234,56`, `1,234.56`. A lone `1.234` or `1,234` follows how the flow's language writes numbers in your business's country: `1.234` is 1234 in Portuguese in Brazil and in Spanish in Paraguay, and 1.234 in English. | The number. |
| Date | `2026-10-02`, or in the order the flow's language uses in your business's country: month first in English (`10/02/2026`), day first in Portuguese and Spanish (`02/10/2026`, `2-10-26`, `02.10.2026`). A two-digit year after this one is read in the 1900s (`85` is 1985). | The date as `2026-10-02`. |
| One of a list | One of the **Accepted answers** you list, ignoring case and accents, or its number in the list. | The choice as you wrote it. |
| File | A photo, video, audio or document the contact sends. | The file's details (kind, link, name, size) as data. |
| ID document | A document of your business's country, with or without dots and dashes, check digits included: CPF or CNPJ (letters too) in Brazil, CI or RUC in Paraguay. | The digits and letters only: `52998224725`. |

With **One of a list**, the choices are shown under the question like buttons. When you'd rather send each choice down its own path, use a [Buttons](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/flow-builder/buttons) step instead.

## Extra checks

Under **Validation and retries**:

- **Minimum** / **Maximum** for numbers ("from 0 to 10");
- **Minimum length** / **Maximum length** for text;
- **Must match (regular expression)**: a regular expression the answer must match, such as `^[A-Z]{3}-\d{4}$` for an order code. Lookarounds and backreferences aren't supported.

## Outputs

| Output | When |
| --- | --- |
| Answered | A valid answer arrived and was saved. |
| Invalid answer | Still not valid after the retries you allow. |
| No reply | No answer within the time limit. |

Leave **Invalid answer** or **No reply** unconnected and the run simply ends there. Connecting **No reply** to a reminder message, or to a [Hand to a person](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/flow-builder/handoff), is a good habit.

> [!NOTE]
> While a question waits, the next message is its answer, even if it looks like a keyword that starts another flow. See [Triggers](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/flow-builder/triggers).

## Example

Ask for a group size: **Number**, minimum 1, maximum 30, saved to `party_size`, retry text "Just the number of people, please (1 to 30).", then a [Condition](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/flow-builder/condition) on `party_size` sends big groups to your team.
