How Branches Work
In the workflow editor, you can create multiple paths (branches) going out from a single node. This allows you to build complex automations with different outcomes. Important: When a workflow runs, all branches execute in parallel by default. There is no built-in “if/else” logic to choose one branch over another—every path will run simultaneously.Controlling Which Branch Runs
To execute only one branch based on specific conditions, add a Filter node at the beginning of each branch.Example Setup
- Create your workflow with multiple branches from a single node
- Add a Filter node as the first step in each branch
- Set conditions on each Filter to determine when that branch should continue
- Only the branch(es) whose Filter conditions are met will proceed
How Filters Work
- If the Filter condition is met: The branch continues executing
- If the Filter condition is not met: The branch stops at the Filter node
Example: Route by Deal Size
Scenario: When a deal is closed, send different notifications based on deal size.- Trigger: Opportunity updated (Stage = Closed Won)
- Branch 1: Filter for Amount > $10,000 → Send Slack message to #big-deals
- Branch 2: Filter for Amount ≤ $10,000 → Send email to sales manager
Creating Branches
To create a new branch from an existing step, click the + button on the step and add your action. You can add multiple branches by clicking + multiple times.
- In the workflow editor, select the step you want to branch from
- Click the + button to add an action
- This creates one branch
- Click + again on the same step to create additional branches
- Each branch can have its own sequence of actions
Merging Branches Back Together
After parallel branches complete their work, you can merge them back into a single path:- Complete your branched actions
- Add a new step that should run after all branches
- Drag a connection from the last step of each branch to this new step
- The merged step waits for all connected branches to complete before executing
Example: Process Then Notify
Лучшие практики
- Always use Filter nodes at the start of branches when you want conditional execution
- Keep branch conditions mutually exclusive to avoid duplicate actions
- Test your workflows with different data to ensure the correct branches run
- Rename branch steps descriptively so it’s clear what each path does
- Merge branches when you need a final action after parallel processing
Related
- Workflows FAQ — answers about parallel execution
- Workflow Actions — available actions for branches