Branch Node Documentation
The branch node enables the execution of multiple nodes in parallel, allowing actions to run simultaneously instead of one after the other.
Features
Key Functionalities
-
Parallel Execution: Execute multiple tasks simultaneously, improving efficiency and reducing processing time.
-
Flexible Workflow Design: Easily create complex workflows by adding, editing, or removing branches as needed.
-
Conditional Logic Support: Implement advanced logic to determine which branches to activate based on specific criteria.
-
Error Handling: Ensure robust workflows with dedicated error-handling branches for different scenarios.
-
Real-time Monitoring: Track the execution of each branch in real time, providing visibility into the workflow's progress.
Benefits
-
Increased Productivity: Automate and parallelize tasks to reduce completion times and maximize output.
-
Enhanced Flexibility: Adapt workflows to meet dynamic requirements with easy-to-configure branching structures.
-
Simplified Complexity: Manage intricate processes in a streamlined and visual manner.
-
Error Mitigation: Minimize risks by isolating and handling errors within specific branches.
-
Scalability: Build workflows that grow with your needs, supporting additional branches or tasks as required.
What Can You Build?
- Multi-step Automation: Run several tasks in parallel, such as processing data, sending emails, and updating records, all within a single workflow.
- Simultaneous Integrations: Connect multiple tools or systems at the same time, ensuring efficient data synchronization and faster task execution.
Configuration
- Open the Branch Node Configuration Panel::
- Here you can manage branches.
- Define a respected node within each branch.
Note: Minimum two branches are required.
Low-Code Example
nodes:
- nodeId: branchNode_663
nodeType: branchNode
nodeName: Branching
values:
branches:
- label: Branch 1
value: branchNode_663-addNode_484
- label: Branch 2
value: branchNode_663-addNode_801
needs:
- triggerNode_1
branches:
- label: Branch 1
value: plus-node-addNode_484899
- label: Branch 2
value: plus-node-addNode_801189
- nodeId: plus-node-addNode_484899
nodeType: addNode
nodeName: ''
values: {}
needs:
- branchNode_663
- nodeId: plus-node-addNode_801189
nodeType: addNode
nodeName: ''
values: {}
needs:
- branchNode_663
- nodeId: plus-node-addNode_227323
nodeType: addNode
nodeName: ''
values: {}
needs:
- plus-node-addNode_484899
- plus-node-addNode_801189
Troubleshooting
Common Issues
Problem | Solution |
---|---|
Parallel Execution Errors | Verify that all branches are correctly configured and ensure no conflicts in dependencies. |
Branch Activation Issues | Check conditional logic to ensure criteria are correctly defined. |
Data Sync Delays | Ensure proper data mapping and synchronization across branches. |
Error Handling Failures | Review error-handling logic and confirm fallback branches are set up correctly. |
Debugging Tips
- Verify branch and ensure all connections are correctly established.
- Inspect logs for branch-specific error details to identify the root cause of failures.
- Test individual branches independently before running the entire workflow.
- Confirm input data consistency across all branches to avoid unexpected outcomes.