# 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)


---

# 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://manuals.dialox.ai/studio/flows/nodes/ask-number.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.
