# Source: https://docs.agent.ai/actions/store_variable_to_database.md

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agent.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Store Variable to Database

# Overview

Store variables in the agent's database for tracking and retrieval in future workflows.

### Use Cases

* **Historical Tracking**: Save variables for analysis over time.

* **Data Persistence**: Ensure key variables are available across workflows.

## Configuration Fields

### Variable

* **Description**: Specify the variable to store in the database.

* **Example**: "user\_input" or "order\_status."

* **Required**: Yes

***