---
title: "Set Variable Value Step"
url: "https://docs.robotiq.ai/en/article/set-variable-value-step"
language: "en"
last_updated: "2025-12-25T10:44:39.765Z"
---

# Set Variable Value Step

The Set Variable Value step lets you change a variable's value in your automation. You can update a variable with a set value or use the value from another variable.

## How to Use the Set Variable Value Step

Use this step to update variables at specific points in your process.

### Add the Step

1.  Open your process in the Robotiq.ai Process Editor.
2.  Drag and drop the **Set Variable Value** step into your workflow.

### Configure the Step

1.  Click on the **Set Variable Value** step to open its properties.
2.  Give it a **Step Name** (optional) to help identify it in your process.
3.  Pick the **Variable** you want to update from the dropdown list. This has to be a Global Variable that already exists, has a process scope, and isn't marked as constant.
4.  Type in the **Variable value**. This can be a set value or another existing variable.

## Parameters Explained

**Step Name** (Optional)

-   A custom name for this step.
-   Example: `Update Counter`
-   Use this to make your process easier to understand.

**Variable** (Required)

-   The Global Variable you want to change.
-   This variable must be set up as non-constant and have a process scope.
-   Example: `myCounter`
-   You need to define the variable before you can set its value.

**Variable value** (Required)

-   The new value for the chosen variable.
-   This can be text, a number, or the value of another variable.
-   Example: `10` or `anotherVariable`
-   The type of the value should match the type of the variable you are setting.

## Related Articles

-   [Define Variable Step](https://docs.robotiq.ai/en/article/define-variable-step) - Learn how to create new variables.
-   [Global variables](https://docs.robotiq.ai/en/article/global-variables) - Understand how global variables work across your processes.
-   [Set Global Variable Step](https://docs.robotiq.ai/en/article/set-global-variable-step) - Learn how to change global variables within a process.

## Need Help?

Can't find what you're looking for? Join the [Robotiq Community](https://community.robotiq.ai/home/) to get help from other users and the Robotiq team.

![](https://cdn-assets.productfruits.com/d4cf58e6-2b28-4274-92a5-d125d9150a35)
