# Save Variable Value Block

The **Save Variable Value Block** is used to store data during a conversation. Unlike message blocks, this block does not send any message to the user. Instead, it manages and stores information behind the scenes, making your automation more intelligent and data-driven.

#### How to Use the Save Variable Value Block

1. Open your **Chat Flow**.
2. Click **Add Node**.
3. Go to **Native Tools**.
4. Select **Save Variable Value**.

#### Configure the Block

**1. Select Field**\
Choose where you want to store the value. You can select either:

* **Super Field (Custom Field)**
* **Bot Field**

**Super Fields (Custom Fields)**\
These are **permanent fields** stored in the user's profile. They can be used to save information such as:

* Lead source
* User budget
* Selected plan
* Email address
* Chat name

**Bot Fields (B Fields)**\
These are **temporary fields** that exist only during the current session or flow. They are commonly used for:

* Temporary values
* Step counters
* Calculated discounts
* Intermediate data used during automation

Once the session ends, **Bot Field values may reset**.

**2. Text Source**\
This defines what data should be stored in the selected field.

For example:

* If the user typed a response, choose **Last Text Input**.
* If the user clicked a button option, choose **Last Button Title**.

This ensures the correct user input is captured and stored.

#### Save the Configuration

After selecting the field and the data source, click **Save**.

The **Save Variable Value Block** helps store important user information during conversations, enabling smarter automation and personalized interactions.

{% embed url="<https://www.youtube.com/watch?v=RWWkEi7rIhg>" %}


---

# 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://helpdocumentation.gitbook.io/user/bot-builder/save-variable-value-block.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.
