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 #
- Open your Chat Flow.
- Click Add Node.
- Go to Native Tools.
- 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.