> For the complete documentation index, see [llms.txt](https://manuals.dialox.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manuals.dialox.ai/studio/flows/nodes/ask-number.md).

# Ask: Number

{% hint style="warning" %}
If you are asking for a phone number, use [Ask: Phone](/studio/flows/nodes/ask-phone.md) instead.
{% endhint %}

The **Ask: Number** node allows you to capture and query numbers. You can set a maximum length of 20 digits by using the dropdown labeled Maximum amount of digits.

<figure><img src="/files/0J929pLkrYy8BTeM7v0d" alt=""><figcaption><p>Ask: Number</p></figcaption></figure>

Saving the answer to your query can be done by assigning the answer to a [variable](/studio/flows/variables.md) as shown in the screenshot above. Once the number is stored in a variable, it can be used in other nodes.

## Node properties

| Property                 | Description                                                                                                   | Explanation                                                |
| ------------------------ | ------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------- |
| Question                 | The original question                                                                                         |                                                            |
| Try again (1)            | The repeat question when wrong input is provided                                                              | optional                                                   |
| Try again (2)            | The repeat question when wrong input is provided                                                              | optional                                                   |
| Assign to                | To assign the result to a variable in the conversation                                                        |                                                            |
| Remember                 | To also store the variable in the user object                                                                 |                                                            |
| Record audio ☎           | On phone channels there is an option to record the audio of the answer                                        |                                                            |
| Assign audio URL to      | If record audio is toggled, the URL to the audio file will be stored in this variable                         | Only displayed and mandatory when Record audio is toggled. |
| Maximum amount of digits | To limit the amount of digits accepted                                                                        | Like 2 for numbers < 100 and 3 for numbers < 1000, etc.    |
| DTMF only ☎              | Accepts only DTMF on phone channels. Otherwise it will try to accept speech first before falling back to DTMF | Only applicable on phone channels.                         |

Make sure to write your Question and Try again texts in such a way that they suit your settings for speech. If you toggle the Speech first property to enabled, make sure your first question hints the user to speak out the number, and only in the Try again text explain to use the DTMF keys and finish with the hash key, as depicted in the example screenshot above.

## Resources

* [Variables](/studio/flows/variables.md)
