---
title: " Else If Step"
url: "https://docs.robotiq.ai/en/article/else-if-step"
language: "en"
last_updated: "2025-12-24T15:00:58.115Z"
---

#  Else If Step

The Else If Step lets you add more conditions to an If Step. It runs a block of code only if the previous If condition is false and its own condition is true. Use it to make workflows with many possible outcomes.

## How to Use the Else If Step

You can only add an Else If Step inside an [If Step](https://docs.robotiq.ai/en/article/if-step). It gives you another condition to check if the first If condition isn't met.

### Step 1: Add an If Step

1.  Drag an **If Step** into your process.
2.  Set up the **If Step** with its first condition.

### Step 2: Add an Else If Step

1.  Drag an **Else If Step** inside the **If Step**.
2.  Put it after the first "If" part.

### Step 3: Define the Else If Condition

1.  Click on the **Else If Step**.
2.  Type your condition in the **Condition expression** field.

**Important:** The Else If Step will only run if the condition in the If Step above it is false. If the Else If condition is also false, the process goes to an [Else Step](https://docs.robotiq.ai/en/article/else-step) if you have one.

## Parameters Explained

**Step name** (Optional)

-   A custom name for the step.
-   Example: "Check for Admin Role"
-   Use this to make your process easier to understand.

**Append variable** (Optional)

-   Pick an existing variable to save the result of the condition.
-   Use this to send the true/false outcome to other steps.

**Condition expression** (Required)

-   A true/false expression that decides if the code block runs.
-   Example: `userRole == "admin"`
-   The expression must result in `true` or `false`.

## Related Articles

-   [If Step](https://docs.robotiq.ai/en/article/if-step) - Learn how to start using conditional logic in your processes.
-   [Else Step](https://docs.robotiq.ai/en/article/else-step) - See how to handle situations where no conditions are met.
-   [Define Variable Step](https://docs.robotiq.ai/en/article/define-variable-step) - Learn how to create variables to use in conditions.

## 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/25a72f41-17a5-4e55-ab9c-387f4953db6d)

![](https://cdn-assets.productfruits.com/ea306a84-40d9-4238-8bed-d08eafbc08ab)
