> For the complete documentation index, see [llms.txt](https://help.logicsheet.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.logicsheet.co/automation/actions/conditional-actions.md).

# Conditional actions

Introducing Conditional Actions - the feature that gives you the power to add conditions to each of your actions, ensuring that they only run when specific conditions are met. This means you can easily set up multiple triggers with the same trigger type in the same spreadsheet, and run different actions based on different conditions. To get started, simply add a set of conditions to each action you have set.

{% hint style="success" %}
Conditions are optional. If you don't set any conditions in action, the action will always run.
{% endhint %}

In each action, you can choose to add a set of conditions.

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

{% hint style="warning" %}
**Heads up (if you used Logic Sheet before January 2023)!** We have improved the condition form. Now, you can compare two values directly instead of comparing the cell value to a specific value as before. To check if the value in cell A3 is equal to 10, simply enter {{Range A3}} in the first input and 10 in the "This value" input. In the edit trigger, to check if the edited range meets certain conditions, use the {{New value}} merge tag instead of the {{edited range}} tag.
{% endhint %}

You can choose multiple action conditions. If you do so, remember to choose whether you want the action to run when "all" of the conditions are met or when at least one of the conditions is met.

{% hint style="info" %}
This feature is useful when you want to set up multiple triggers with the same trigger type in the same spreadsheet. Remember, you cannot set up more than one same trigger type in one spreadsheet. With this feature, you can set up one trigger and run different actions based on different conditions.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://help.logicsheet.co/automation/actions/conditional-actions.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.
