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 Integrations

    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
Branch

Branch

Logo

6 mins READ

Overview

The branch node is essential for executing multiple actions sequences simultaneously based on defined conditions within a branch.

Each branch can be configured with specific conditions that determine when it activates, using conditional logic:
"If A happens in your condition node, then do X. If B happens, then do Y." 

Image
Image


The branch node offers robust functionality for managing complex automations and clubbing multiple conditions at a single node.

Thumbnail

Note

Branch Node accommodates between 3 and 11 branches, with three branches initially available. Additional branches can be added using the plus icon on the node.

Image

Use Cases

Let's define an example where we will bucketise Zendesk tickets based on their priorities and be able to leverage Slack, Gmail or Asana to get their notifications.

This setup triggers when a new ticket is created or an existing ticket is updated in Zendesk.

  1. Set a branch node where we compare the ticket priority in different branches and perform tasks accordingly.

    Image
    Image

  2.  In each branch, set the respective priority conditions and add the corresponding app actions: Slack, Gmail, and Asana.

  3.  Also, define the branch action for the "If no conditions are met" branch, with a Slack message as 'Default'.

    Image
    Image

Additional Features

  1. No-condition branch: It includes an automatically added "If no conditions are met" branch, which executes when none of the other conditions are satisfied.

  2. Branch Addition: Using the add button on the branch node, you can add a branch to accommodate another set of conditions.

    Image
    Image

  3. Branch Deletion: All branches, except the initial two and the "If no conditions are met" branch, can be removed by deleting the respective branch's condition node. 

    Image
    Image

  4. Branch Copying: Branches can be copied and pasted into other nodes directly, eliminating the need to rebuild the entire logic from scratch.

  5. Branch Pasting: Branch nodes allow two pasting options for copied nodes:

    • "paste above" to insert the copied node above the current branch node

    • "paste below" to place it below the current branch node within the same branch.

FAQs

How many branches can the Branch Node accommodate?

The Branch Node can support a minimum of 3 branches and a maximum of 11 branches by default, with the ability to add more as needed.

Can conditions be set for each branch in the Branch Node?

Yes, each branch in the Branch Node can be assigned specific conditions under which it will execute. Actions associated with each branch can vary based on these conditions.

What happens if none of the conditions in the branch are met?

The branch node includes a default "If no conditions are met" branch. This default branch executes if no specified conditions in other branches are met.

Can branches in the Branch Node be deleted or modified after creation?

Yes, branches in the Branch Node can be deleted or modified by removing or adjusting the conditions associated with each branch. However, the starting two branches and the "If no conditions are met" branch cannot be deleted.