|
/ Documentation /Core Features/ Using Condition in OttoKit

Using Condition in OttoKit

In OttoKit, there are many features that make it easy for you to create powerful automations.

Among all the features, the Condition feature stands out!

Sddffd

With Conditions, you can set rules that will make sure that the action is only performed when the rules are met.

Let’s understand more about the Condition feature in this article and how to use it in your workflows.

What is the Condition feature?

Imagine you have set up a multi-step workflow for your e-commerce store.

This workflow is triggered whenever someone makes a purchase. The second step adds the order details in Google Sheets for sales analysis.

Then the third step sends a personalized thank you SMS to customers.

And the last step adds the customer to your email marketing tool.

Sdfsdfds 1024x657

Now, you decide that you want to send SMS only to customers who have made a purchase of more than $499.

So with the Condition feature, you can add logic to send the SMS only if the order value is greater than $499 as you can see in the screenshot below.

Fsdfsdfds 1024x692

The other actions in the workflow will be executed as expected.

Similarly, you can add a condition to any step in your workflows and make sure they are executed only if the rules set by you are met.

How to Use Conditions in Your Workflows?

To add Condition to any action step in your workflow, follow these steps:

  1. Log in to your OttoKit’ account.
  2. Go to the workflows screen and click on the workflow where you want to set up Conditions.
Dfdsfsd 1024x486
  1. Click on the action step where the Condition needs to be set.
Asdsd 1024x488
  1. Click on the ‘Add Conditions’ button on the top of the action setup screen.
56565 1024x656
  1. Provide the criteria/conditions as per your requirements.
Sdsds 1024x705
  1. Click on the Test Condition button.
Fsdfdsfd 1024x738
  1. Save the action step.
Dsadsad 1024x694
  1. Update your workflow by clicking on the Update button on the top right of your screen.
Dsfdsfds 1 1024x489

Now whenever this workflow runs, SireTriggers will send the SMS to the customers only if the order value is more than $499.

Understanding AND and OR in Conditions

When creating Conditions in OttoKit, you can combine multiple rules using AND or OR logic.
This helps you control exactly when an action should run inside your workflow.

How AND Logic Works

Use AND when all conditions must be true for the action to execute.

Example:

  • Condition 1: Product Name contains “XYZ”
  • AND
  • Condition 2: Product Quantity equals 4
Screenshot On 2025 11 26 At 04 07 01 1024x964

In this case, the Test True result will appear only if both conditions are satisfied.
If either one fails, the final output will be False, and the action will not run.

In short:
True only if all conditions are true
False if any condition is false

How OR Logic Works

Use OR when any one of the conditions being true is enough.

So if you switch the group type from AND to OR, the logic becomes more flexible.

Example:

  • Condition 1: Product Name contains “XYZ”
  • OR
  • Condition 2: Product Quantity equals 4
Screenshot On 2025 11 26 At 04 09 02 1024x935

Here, the output will be True if either condition matches.
Even if one condition is false, the action will still execute as long as the other one is true.

In short:
True if any one condition is true
False only if all conditions are false

Adding AND/OR groups gives you full control over how precise or flexible your workflow logic needs to be. Use AND for strict matching and OR for broader matching so your automations behave exactly the way you intend.

Conditions are Different from Filters

Setting up conditions and filters may seem similar, but they have different functions.

Filters stop the execution of all subsequent steps in a multi-step workflow if the logic is not met.

On the other hand, conditions allow you to skip a single action within a multi-step workflow. So, it’s important not to confuse the two!

Image 493 1024x576

To get a better understanding of when to use Filters and when to use Condition, you can check out this article.

And if you still have questions, our support team is a message away!

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
On this page
Scroll to Top