---
title: "Branch Connector"
slug: "branch-connector"
description: "Route Lansweeper workflows with Branch Connector. Execute steps based on conditions using If/Else logic for dynamic IT automation."
updated: 2026-07-17T15:43:30Z
published: 2026-06-12T14:40:23Z
canonical: "docs.lansweeper.com/branch-connector"
---

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

# Branch Connector

Note on third‑party tools

              

We aim to provide accurate and helpful details about third‑party tools, but we can’t guarantee that this information is always complete or up to date. If you notice any discrepancies, feel free to share them in the feedback section below. For the most reliable information, please always refer to the third‑party tool’s official documentation.

The **branch** component allows you to add branching logic to your integration. Think of **branches** like if/then or [switch/case](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/switch) programming statements. Your integration can follow one branch or another depending on the values of some config variables or results from previous steps.

## Actions

### If Condition is Met

Branch on Expression. Choose which step to execute next based on a condition.

| Input | Comments | Default |
| --- | --- | --- |
| Condition | The set of conditions to satisfy in order to branch. |  |

### If Value Equals

Branch on value. Choose which step to execute next based on a value.

| Input | Comments | Default |
| --- | --- | --- |
| Input Value | The value used for routing to a branch. This should reference a config variable or output from a previous step. |  |
| Branch Value Mapping | The branches that are associated with an expected value. |  |

### Select Executed Step Result

Given a collection of step results, returns the results of whichever step was executed and returned a result.

| Input | Comments | Default |
| --- | --- | --- |
| Step Result | The set of step results to consider when selecting a result from an executed step. |  |
