# If

The **IF connector** allows you to evaluate conditions and control the workflow path based on the result. It compares input data against defined conditions and determines whether the workflow should proceed through the **true** or **false** branch.

This connector is useful when workflows need to make decisions based on specific values or data conditions.

### Add conditions <a href="#add-conditions" id="add-conditions"></a>

Conditions can be added using the **Add Condition** filter. Each condition compares a data field against a specified value. The available comparison operations vary depending on the data type being evaluated.

**String Conditions**:

* Contains
* Not Contains
* Ends With
* Not Ends With
* Equal
* Not Equal
* Regex Match
* Regex Not Match
* Starts With
* Not Starts With
* Is Empty
* Is Not Empty

**Number Conditions**:

* Smaller
* Smaller or Equal
* Equal
* Not Equal
* Larger
* Larger or Equal
* Is Empty
* Is Not Empty

**Date & Time Conditions**:

* Occurred after
* Occurred before

**Boolean Conditions**:

* Equal
* Not Equal

### Combining Multiple Conditions <a href="#and-or" id="and-or"></a>

If multiple conditions are defined, you can combine them using logical operators.

#### AND

All conditions must be satisfied for the overall result to be **true**.

#### OR

Only one condition needs to be satisfied for the overall result to be **true**.
