# Create Custom Variable

**Introduction**&#x20;

This step creates a new custom variable with a defined schema.

**Configuration**

* **Schema**: Define the schema for the custom variable. The schema determines the type of data the variable can store. It should be defined according to the available data types. This is a required field.
* **Value**: Input the initial value for the custom variable. The value must conform to the defined schema.

**Outputs**

* **Variable**: The newly created custom variable. It contains a nested variable named "Value" which holds the data conforming to the defined schema. This variable can be used in subsequent steps, such as "Add Item to List."

**Usage**&#x20;

Ideal for custom data handling within an automation.


---

# 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.flexy.bot/modules/variables/steps/create-custom-variable.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.
