> For the complete documentation index, see [llms.txt](https://waoo-app-builder.gitbook.io/waoo-app-builder/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://waoo-app-builder.gitbook.io/waoo-app-builder/nodes/logical-nodes/if-else.md).

# If - else

Logical nodes

| Condition            | Value                                                        |
| -------------------- | ------------------------------------------------------------ |
| Released in version: | 1.0.0                                                        |
| Flutter/Dart link:   | <https://dart.dev/guides/language/language-tour#if-and-else> |

![If else default node](https://3643579705-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzuDhZpUY3uOO3NssfE1O%2Fuploads%2FJogv2qfqreYFNtxzQPEE%2FIf-else.png?alt=media\&token=381da408-2795-4778-9284-ef410db4e256)

The "If-else" node is a conditional logic node. This means that given an input condition, it produces a true or false output.&#x20;

The node consists of two entry points. The "connector" allows the script to continue the flow at this node. The "condition" allows entering a bool result to be evaluated.&#x20;

If the "condition" has a value of true, the flow connected to the "true" output is executed. If the "condition" has a false value, the flow connected to the "false" output is executed.

#### Inputs

<table><thead><tr><th>Input name</th><th width="150" data-type="checkbox">Canvas Required</th><th width="150">Type</th><th>Description</th></tr></thead><tbody><tr><td>connector</td><td>true</td><td>Flow</td><td>Allows to continue the flow in this node</td></tr><tr><td>condition</td><td>true</td><td>Bool</td><td>The condition to be evaluated by the node. It must be of type Bool</td></tr></tbody></table>

#### Outputs

<table><thead><tr><th>Output name</th><th width="150" data-type="checkbox">Canvas Required</th><th width="150">Type</th><th>Description</th></tr></thead><tbody><tr><td>true</td><td>true</td><td>Flow</td><td>If the "condition" input is <strong>true</strong>, flow continues through this output</td></tr><tr><td>false</td><td>true</td><td>Flow</td><td>If the "condition" input is <strong>false</strong>, flow continues through this output</td></tr></tbody></table>
