> For the complete documentation index, see [llms.txt](https://docs.yellowant.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yellowant.com/workflows/event-workflows/building-event-workflows/logical-functions.md).

# Logical Functions

You can use **concat** and **if-else** formulas in a field.&#x20;

![Formulas "concat" and "ifelse" can be applied to a field](/files/-LMBIunHx5knGco-2ADQ)

**concat**: The ‘concat’ function allows you to join text/dynamic input in 1 string. Just select the concat function and add the text/dynamic input you want to concatenate.&#x20;

![You can concatenate text, dynamic inputs or a combination of both](/files/-LMBJx-Upd4aySsNEsA4)

**ifelse**: The if-else function allows you to you check a dynamic input for a condition and perform actions based on whether or not they are true. Once you select the ifelse function, a variety of formulas will be available to apply on your dynamic inputs:

![ifelse contains a condition (with logical operators), true\_input and false\_input](/files/-LMBLEJhwISRfk6gg_Kq)

* **contains** (checks for whether a string is in a parent string)&#x20;

![An example of "contains" operator](/files/-LMBLiJvVm3q34HNoDx_)

* **and** (combines 2 conditions such that the function is only true if both conditions are true)&#x20;
* **or** (combines 2 conditions such that the function is true if either condition is true)&#x20;
* **lt** (checks whether the variable on the left is less than the variable on the right)&#x20;
* **gt** (checks whether the variable on the left is greater than the variable on the right)&#x20;
* **lte** (checks whether the variable on the left is less or equal to than the variable on the right)&#x20;
* **gte** (checks whether the variable on the left is greater than or equal to the variable on the right)&#x20;
* **not equal** (compares 2 values and returns True if they are unequal)&#x20;
* **equal** (compares 2 values and returns True if they are equal) expression
