# IF Module

* [Definition](#definition)
* [Configuring the IF module](#configuring-the-if-module)
  * [Create your conditionals](#create-your-conditionals)

### Definition <a href="#definition" id="definition"></a>

The "**IF"** tool module, standard module for use in any flow, was created to process data conditionally, making it easier to create complex operations.

The "**IF"** module consists of a single operation, from which we have two outputs, one for a true condition (**TRUE**), the other for a false condition (FALS&#x45;**)**.

The "**IF"** module does not initialize parameters like the Do While and For modules. Its function is to divide the flow into two parts, depending on the result of the requested validation, which will vary depending on the data sent by the other components of the flow.

### Configuring the IF module <a href="#configuring-the-if-module" id="configuring-the-if-module"></a>

The "**IF"** module appears in the **Tools** option when editing a flow. As soon as you click to add it, the modal opens for configuration:

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

{% hint style="info" %}
[Find out about the Module Header here](/english/skyone-studio/integrations/flows/module-header.md).
{% endhint %}

#### Create your conditionals <a href="#create-your-conditionals" id="create-your-conditionals"></a>

Fill in or choose the following items to **create your conditionals**:

* **Satisfy all:** if you want all the configured conditions to be followed;
* **Satisfy any**: when it doesn't matter if you want to follow all the configured conditions;
* **Variable 1**: type or drag a parameter from another component of the flow to enter a variable for comparison or use a SMOP (on the ) icon;
* **Conditions**: comparisons between two values (equal to, different from, greater than, less than, etc);
* **Variable 2**: type or drag a parameter from another flow component to enter another variable for comparison or use a SMOP (on the ) icon;
* **Add condition**: click to add another condition;
* **Validate**: click to validate the conditions
* **Result**: tells you whether the condition entered is true or false (True/False).

<figure><img src="/files/2eK3LSbVsZdJuHM7rFs9" alt=""><figcaption><p>Example of creating conditionals</p></figcaption></figure>

To finish configuring the module, click on "**Save**".


---

# 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.skyone.cloud/english/skyone-studio/integrations/flows/tool-modules/if-module.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.
