# Chatbot - Saving numeric response as text type

During the creation of flows in **Chatbot**, it may be necessary to ask the user for a **numeric response**, but save that information in a **Text-type 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 field **Response type**, select **Numeric**.

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

6️⃣ Save the block and publish the flow.

***

### 🧠 How it works

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

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

This allows creating **numbered menus**, making user interaction easier and recording the choice in the lead's record.

***

### 📌 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 responds only with the **option number**, and the value can be saved in a **Text-type field** for recording or use in future automations.

<figure><img src="/files/b2d67174261a328f8bd73fc52efba2cbf45bcd67" alt=""><figcaption></figcaption></figure>

***

### 💡 Note

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

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


---

# 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://docs.sprinthub.com/en/topics/convert/chatbot/chatbot-common-questions/chatbot-saving-numerical-response-as-text-type.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.
