# If Else V2

**If Else V2** node lets you check for a boolean condition, which if true executes to the **True** branch, else executes the **False** branch, **before coming back** to the normal flow.

### Adding If Else V2 node

As you see in the below image, an **If Else V2** node comes with two child branches - **True** and **False** branch. You can build your remaining flow in these branches.

<figure><img src="/files/IRXfZBI5eoEUsQQE6SWy" alt="" width="375"><figcaption></figcaption></figure>

As you see above, you will note that the **True** and **False** branches have **Executor nodes** attached to them. These executor nodes run a separate SubFlow **inside** the context of this flow (like a nested function) and once completed, it comes back to the normal flow **below** the executor nodes.

### Properties Panel

| Field     | Description                                                                                                                                                                                                                                                                                     | Required |
| --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| Node name | [<mark style="color:blue;">**Checkout Node name**</mark>](/flow-builder/node-name.md)                                                                                                                                                                                                           | true     |
| Condition | <p>The condition object which this node evaluates at Flow Runtime, based on which the flow is sent to <strong>True</strong> branch or <strong>False</strong> branch.<br><br>Check <a href="/pages/aJtci0lt5gcR4VOrIDr9">this documentation </a>to see how to build conditions in this node.</p> | true     |

### Returns

N/A


---

# 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.cosmocloud.io/flow-builder/node-types/conditional-nodes/if-else-v2.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.
