If Else Conditions - using AND or OR conditions

In this article, we'll explain the difference between using the AND or the OR conditions within the If / Else condition.



Implementing If-Else Conditions with And/Or Logic


Key Steps

  1. Access the If-Else Action
    • Open the workflow automation tool.
    • Search for and select the "if-else" action.


  2. Set Up the Condition
    • Choose the first condition to evaluate. For example, select "tag" and set it to "includes" followed by the specific tag (e.g., "paid").


  3. Choose Logical Operator
    • Decide whether to use "and" or "or":
      • For And Logic:
        • Click the plus sign to add another condition.
        • Define the second condition (e.g., "current day of the week is Monday").
        • Ensure both conditions must be true for the workflow to proceed down this branch.
      • For Or Logic:
        • Click the plus sign to add another condition.
        • Define the second condition (e.g., "current day of the week is Monday").
        • Note that only one of the conditions needs to be true for the workflow to proceed down this branch.
  4. Test the Conditions
    • Review the conditions to ensure they are set correctly.
    • Test the workflow to confirm that it behaves as expected under both logical scenarios.


  5. Finalize and Save the Workflow
    • Once verified, save the workflow.
    • Document the logic used for future reference.