# Params

<figure><img src="/files/GB5DLNTtLj4EiVOPZn06" alt=""><figcaption></figcaption></figure>

The **Parameters** feature allows you to create reusable variables within your process (flow). These can be used in SQL filters, environment variables for JavaScript scripts, or to transfer values between execution blocks.

***

### &#x20;**Where to find it**

The **Parameters** tab is located in the left side panel. When you open a studio menu, you'll see the dedicated area for parameter creation and editing.

***

### **How to add a new parameter**

1. Click the **“+”** button in the upper right corner of the Parameters tab.
2. A configuration window will appear with the following fields:
   * **Param name**: Unique name of the parameter (required).
   * **Description**: Optional field to explain the purpose or usage of the parameter.
   * **Value**: Default value to be used during executions (can be changed dynamically).
3. Click **Save** to create the parameter.

{% hint style="warning" %}
When using parameters in filters within dashboards, if you want all values as default, use 'all\_'.
{% endhint %}

***

#### **How to use parameters**

Once created, parameters can be used across different blocks in your flow:

* In SQL queries: use the syntax `{{ parameter_name }}`
* In JavaScript blocks: {{`params.parameter_name}}`
* Builder: Computed: `{{ parameter_name }}`
* In dashboard visual filters: use parameters to dynamically filter your data

***

#### **Managing parameters**

* **Edit and Delete**: Click on the three dots and select option.&#x20;
* **Copy:** Click on copy.

***

#### &#x20;Notes

* The **User ID** field is a special internal parameter and can be used to identify the current user.
* Parameters are scoped to the current flow and do not affect other projects or processes.
* You can define and use multiple parameters simultaneously across your flow.


---

# 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.gaiodataos.com/tools/params.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.
