#
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
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.