Documentation
Contents

Cancel

Recommended Articles

  1. unify-apps

    IMAP

    Unify Integrations

    Integrate your app with IMAP to enable seamless email synchronization, real-time access, and enhanced communication workflows.

  2. unify-apps

    Preview Your Work

    Unify Automations

    Effortlessly review & monitor your automation’s performance

  3. unify-apps

    FTP/FTPS

    Unify Integrations

    Connect your app with FTP/FTPS to automate secure file transfers and streamline data exchange across systems.

  4. unify-apps

    Snowflake

    Unify Automations

    Connect to Snowflake for fast, scalable cloud data warehousing and analytics

  5. unify-apps

    Button

    Unify Applications

    Create interactive elements with ease using buttons

  6. unify-apps

    BambooHR

    Unify Automations

    Integrate your app with BambooHR to streamline HR management, automate employee data processing, and enhance onboarding workflows

  7. unify-apps

    Build your first automation

    Unify Automations

    Learn how to build your automation step by step

  8. unify-apps

    User Management

    Unify Applications

    Efficiently manage user roles and permissions

  9. unify-apps

    Microsoft Teams

    Unify Automations

    Connect your app with Microsoft Teams to enhance communication, automate workflows, and foster collaboration across your organization

  10. unify-apps

    Jira

    Unify Automations

    Use Jira to plan, track, and manage your agile and software development projects

  11. unify-apps

    Google Calendar

    Unify Automations

    Integrate your app with Google Calendar to streamline scheduling, automate event management, and improve team coordination

  12. unify-apps

    SAP HANA

    Unify Integrations

    Connect your app with SAP HANA to leverage in-memory computing for real-time data processing and advanced analytics at scale.

  13. unify-apps

    Encoding

    Unify Data

    Convert data effortlessly with advanced encoding

#
Unify Automations
Logo
Use Operators
Logo
Condition

Condition

Logo

5 mins READ

Overview

The condition node enables conditional logic within the automation, allowing automations to branch based on specified criteria, similar to an if-else statement in programming.

Users can define conditions that, when met, triggers action in the "yes" branch, while alternative actions can be initiated from the "no" branch if the conditions are not met.

Image
Image

Thumbnail

Note

By default, each branch of the condition node contains a blank node. These can be deleted if necessary, but at least one branch must contain a node.

Operations Supported

The condition node allows you to perform the following conditional operations:

Operators

Description

Equals to

Checks if the field value is exactly equal to the specified value.

Does not equal

Checks if the field value is not equal to the specified value.

Contains

Checks if the field value contains the specified substring.

Does not contain

Checks if the field value does not contain the specified substring.

Match Regex

Checks if the field value matches the specified regular expression pattern.

Does not match regex

Checks if the field value does not match the specified regular expression pattern.

Starts with

Checks if the field value begins with the specified substring.

Ends with

Checks if the field value ends with the specified substring.

Less than

Checks if the field value is less than the specified value.

Less than or equal to

Checks if the field value is less than or equal to the specified value.

Greater than

Checks if the field value is greater than the specified value.

Greater than or equal to

Checks if the field value is greater than or equal to the specified value.

Is present 

Checks if the field value is present (not null or empty).

Is not present

Checks if the field value is not present (null or empty).

Use Case

Let's take an example of how you can get notified via Slack for all the high-priority tickets in Zendesk.

Here, we receive ticket details from Zendesk whenever any new ticket is created, or an existing ticket is updated.

Image
Image
  1. Set a condition on the node where the 'priority' field is compared using the 'equals to' operator with 'high' to filter out the high-priority tickets.

  2. Select 'Slack' as the app in the yes branch of the condition node. Then, choose 'Post Message' as the action for the app to send a message.

  3. In the no branch of the condition node, choose the 'stop' node to terminate the conditional flow when ticket priority is not high.

    Image
    Image

Input Features

  1. Flexible Conditions: Define criteria based on text, numbers, dates, boolean values, and other data types.

  2. Conditional Operators: When grouping two conditions, use AND to require both conditions for a true result, or use OR to require only one condition for a true result.

  3. Grouping: Use the group button to combine multiple conditions, condition groups are useful when you want to implement a complex logic including both OR and AND .

    • For Example ,  When a ticket is created in Zendesk, if the ticket priority is “High” and status of the ticket is either “Open” or “Awaiting Assignment”, then send an email to the support team.

      Image
      Image
    • In the above scenario, the condition for the ticket's status being either "Open" or "Awaiting Assignment" will be grouped with "OR" operator, while the requirement for the ticket priority to be "High" will be grouped alongside the status condition using “AND” operator.

  4. Deletion: Use the delete button to delete any condition or group of conditions directly.

  5. Cloning: Use the clone button to duplicate any condition or group of conditions without manually re-entering them.

  6. Filtering: Filtering for specific variables can be added to the condition node to provide filtered results to the node.

  7. Nested Conditions: Create hierarchies of conditions within nodes to handle diverse automation scenarios effectively.

Output Parameters

The output of a condition node is specified as a boolean parameter, resulting in either true or false. These outcomes determine the execution paths for the yes and no branches of the node, respectively.

FAQs

What happens if none of the conditions in the Condition node are met?

The automation will follow the No branch if no conditions are met. You can configure actions in the No branch to handle scenarios where conditions are unsatisfied.

Can I delete the blank nodes in the Condition node branches?

Yes, you can delete the blank nodes in either the Yes or No branches. However, at least one branch must contain an action or node to ensure the automation continues.

Can I add multiple conditions in a single Condition node?

Yes, you can add multiple conditions within a single Condition node. These conditions can be combined using AND or OR logic to create complex conditional groups.