> For the complete documentation index, see [llms.txt](https://docs.allganize.ai/allganize-alli-works-userguide-en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.allganize.ai/allganize-alli-works-userguide-en/conversational-apps/use-formulas-and-functions-in-the-set-variable-value-node/add-condition-node.md).

# Add condition node

Using the Add Condition node, you can easily personalize the user experience. When the skill flow reaches the Add Condition node, it checks whether the specified variable value satisfies the condition and branches the skill accordingly.

### Nodes and editor <a href="#pdf-page-813416a9a6c2bea3dbe2ea3a67f4bbdc9a5e1217-node-and-node-editor" id="pdf-page-813416a9a6c2bea3dbe2ea3a67f4bbdc9a5e1217-node-and-node-editor"></a>

<figure><img src="/files/0qoHL83Swgd4RKFGoAFC" alt=""><figcaption></figcaption></figure>

**Node icon**: Located on the top node bar. Click to create an Add Condition node.

**Variables**: Shown as a pink box and lets you view the variables used by that node.

**Option**: The editor displays 'options' that branch the skill according to conditions.

**Change option order** : Drag the = shaped icon to change the order of options. The Add Condition node checks whether conditions are met from the top option down, so this is an important feature.

**Other**: Click the (vertical ellipsis) icon to copy or delete that option.

**Add option**: Press the '+ Add option' button to edit a new option in the editor. An option is a set of specific conditions.

#### Option Menu <a href="#pdf-page-813416a9a6c2bea3dbe2ea3a67f4bbdc9a5e1217-option-menu" id="pdf-page-813416a9a6c2bea3dbe2ea3a67f4bbdc9a5e1217-option-menu"></a>

<figure><img src="/files/9USiAb8Q2xwQSYG0ijct" alt=""><figcaption></figcaption></figure>

**Go back**: Click the < shaped icon to return to the editor main screen without saving.

**Select variable**: In the first box, select the variable whose value will be checked.

**Condition type**: In the second box, select the type of condition determined by the variable format.

**Comparison value**: In the third box, enter the value to compare against the variable's value. You can type it directly or specify another variable. Click the gray icon to toggle between direct input and variable selection.

**Delete icon**: Click the minus icon on the right to delete that condition.

**Add condition**: Add a new condition to check with 'AND' logic.

**Apply**: Save and return to the editor main screen.

### Example skill flow <a href="#pdf-page-813416a9a6c2bea3dbe2ea3a67f4bbdc9a5e1217-example-skill-flow" id="pdf-page-813416a9a6c2bea3dbe2ea3a67f4bbdc9a5e1217-example-skill-flow"></a>

Below is a simple example of how to configure and use the Add Condition node in practice.

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

When the skill reaches the above Add Condition node, the following steps occur in order.

1. First, it checks whether the @CITY variable's value is 'New York'. If so, it outputs the text 'Hello there'&#x20;
2. It checks whether the @CITY variable's value contains 'Seoult' String, it outputs '안녕하세요'&#x20;

The options of the Add Condition node can use any variable, including **System variables Guide**, so get creative to highly personalize the skill flow — be sure to try it out.

* You can specify a variable as the comparison target value. Click the icon to the left of the comparison value input field to switch between constant and variable.

<figure><img src="/files/3SultWmpPCDJETTbAxI8" alt=""><figcaption></figcaption></figure>

* A new condition 'Similar to' has been added. You can adjust the similarity value to determine how similar it must be.
