> 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="/files/b2d67174261a328f8bd73fc52efba2cbf45bcd67" 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**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.sprinthub.com/en/topics/convert/chatbot/chatbot-common-questions/chatbot-saving-numeric-response-as-text-type.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
