# Build Conditions

In this section, you can set up **if** and **otherwise if** conditions. The first **if** condition is checked; if it's true, the corresponding actions will be executed. If it's false, the **otherwise if** condition will be validated, and the process repeats based on the checks.

Each condition allows you to configure the following:

* **Condition**: Define the criteria that need to be validated for the **if** statement. You can use the plus (+) icon to load the dynamic data source model for easy selection. For more information, refer to the video explanation provided in this section.

<figure><img src="/files/nBO3E5fAyvAk6wi1WSIT" alt="Adding conditions"><figcaption><p>Adding Conditions</p></figcaption></figure>

* **Actions**: Specify the actions that should be executed when the condition is met. The results of these actions will be returned based on the condition validation.

<figure><img src="/files/gFXZCaUkAEjdFdXkOAOY" alt="Configuring conditions and their actions"><figcaption><p>Configuring Conditions and their Actions</p></figcaption></figure>

You can add multiple conditions here.&#x20;

<figure><img src="/files/OJ6AVC8LGLd7HCQBeFZV" alt="Add multiple actions"><figcaption><p>Add Multiple Actions</p></figcaption></figure>

Below, we have included a video for a detailed explanation of these actions.


---

# 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.fireapis.com/the-basics/logics/actions/build-conditions.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.
