# 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


---

# 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.yellowant.com/workflows/event-workflows/building-event-workflows/logical-functions.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.
