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
."
The branch node offers robust functionality for managing complex automations and clubbing multiple conditions at a single node.
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.
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.
Set a branch node where we compare the ticket priority in different branches and perform tasks accordingly.
In each branch, set the respective priority conditions and add the corresponding app actions: Slack, Gmail, and Asana.
Also, define the branch action for the "
If no conditions are met
" branch, with a Slack message as 'Default
'.
Additional Features
No-condition branch: It includes an automatically added "
If no conditions are met
" branch, which executes when none of the other conditions are satisfied.Branch Addition: Using the
add
button on the branch node, you can add a branch to accommodate another set of conditions.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.
Branch Copying: Branches can be copied and pasted into other nodes directly, eliminating the need to rebuild the entire logic from scratch.
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.