> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/en/topics/convert/chatbot/chatbot-common-questions/chatbot-saving-numeric-response-as-text-type.md).

# Chatbot - Saving numeric response as text type

During the creation of flows in the **Chatbot**, it may be necessary to ask the user for a **numeric response**, but save this information in a **Text field**.

This scenario is common when the chatbot presents **numbered options** for the user to select, and the choice needs to be recorded in the system.

***

### ⚙️ How to configure

1️⃣ Access the **Chatbot**.

2️⃣ Edit or create a flow where you want to collect the user's information.

3️⃣ Add a **Question**.

4️⃣ In the **Response type**, select **Numeric**.

5️⃣ Use the action **Update Lead data** or **Update Company data** to save the response in the desired field.

6️⃣ Save the block and publish the flow.

***

### 🧠 How it works

When the **response type** is configured as **Numeric**, the chatbot validates that the user types only numbers.

Even so, the value can be saved in a **Text field**, without causing conflicts in storing the information.

This allows you to create **numbered menus**, making user interaction easier and recording the choice in the lead's profile.

***

### 📌 Usage examples

This type of configuration can be used when the chatbot presents **numbered options**, such as:

**Property Type**

```
Enter the number of the desired option:

1 - House
2 - Apartment
3 - Commercial
```

**Course**

```
Which course do you want?

1 - Business Administration
2 - Law
3 - Engineering
4 - Psychology
```

In this case, the user replies only with the **option number**, and the value can be saved in a **Text field** for record-keeping or use in future automations.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FzBceI7vQHc6w7dmfVY21%2Fcam5.png?alt=media&amp;token=b82052a0-0b6e-4b55-ba5e-5505482ce5e8" alt=""><figcaption></figcaption></figure>

***

### 💡 Note

This configuration is useful when the chatbot flow uses **numeric menus**, because:

* makes it easier for the user to respond;
* reduces typing errors;
* allows the choice to be saved for use in **segmentations, automations, or CRM**.
