Overview
The Decision Paths node enables you to create conditional logic in your workflows by evaluating inputs against specified criteria and routing workflow execution based on the results. This node allows for dynamic workflow behavior where different paths are taken depending on whether conditions are met.
Input Configuration
Input Section
The Input section provides information and connection points for data evaluation:
Instructional Text: Guidance on adding decision paths to workflows
Connection Point: Receives data from other workflow nodes for evaluation
Data Types: Can evaluate numbers, text, character counts, and sentiment analysis
Condition Setup
Data Type Selection
Choose what type of data to evaluate using the first dropdown:
Number: Evaluate numeric values for mathematical comparisons
Character Count: Assess text length and character quantities
Text Sentiment: Analyze emotional tone and sentiment of text
Text: Evaluate text content for pattern matching
Comparison Operators
Select how to compare your data using the comparison dropdown:
For Numeric Data:
Greater Than: Value exceeds the specified threshold
Less Than: Value falls below the specified threshold
Equal: Value matches exactly
For Text Data:
Begins: Text starts with specified characters
Contains: Text includes specified content anywhere
Ends: Text concludes with specified characters
Condition Values
Enter the comparison value in the input field:
Numeric Values: Enter numbers for mathematical comparisons
Text Values: Enter text strings for pattern matching
Flexible Input: Accepts static values or connected data from other nodes
Multiple Conditions
Adding Conditions
Create complex decision logic using the "Add Condition" button:
Additional Criteria: Include multiple evaluation points
Condition Numbering: Each condition is labeled (Condition 1, Condition 2, etc.)
Individual Evaluation: Each condition shows its current status
Logical Operators
Control how multiple conditions interact:
AND: All conditions must be true for the path to activate
OR: Any condition being true activates the path
Conditional Logic: Advanced option "If Condition 1 is false, use Condition 2"
Condition Management
Each condition can be independently configured:
Separate Evaluation: Each condition has its own data type, operator, and value
Status Display: Shows whether each condition is currently true or false
Flexible Combinations: Mix different data types across conditions
Advanced Settings
Loop Settings
Configure repetitive condition checking:
Loop Count: Set maximum number of evaluation attempts (default: 3)
Loop Limit: Maximum of 100 iterations
When Limit Reached: Choose behavior when loop limit is hit
Continue to false: Proceed down the false path
Fail and stop: Halt workflow execution
Output Paths
True and False Outputs
The Decision Paths node provides two output connections:
True Path: Activated when all conditions are met
False Path: Activated when conditions are not satisfied
Visual Indicators: Color-coded outputs (green for True, red for False)
Condition Status Display
Real-time feedback on condition evaluation with visual indicators:
Individual Status: Each condition shows "This condition is true" or "This condition is false"
Status Colors: True conditions appear in green, false conditions in red/pink
Overall Result: The final decision outcome determines the output path
Dynamic Updates: Status changes as input data varies
Chain Evaluation: In cascading logic, you can see which condition in the sequence ultimately succeeds
Workflow Integration
Connection Management
Connect the Decision Paths node to control workflow flow:
Input Connections: Receive data from preceding workflow nodes
Output Connections: Route to different nodes based on decision outcomes
Branching Logic: Create parallel workflow paths for different scenarios
Use Cases
Data Validation
Check if numeric values fall within acceptable ranges
Verify text content meets formatting requirements
Validate input completeness before processing
Content Filtering
Route positive sentiment content to approval workflows
Filter content by length or character count
Separate different content types for specialized processing
Workflow Routing
Direct high-priority items to expedited processing
Route different data types to appropriate handlers
Create fallback paths for error conditions
Best Practices
Condition Design
Clear Criteria: Use specific, measurable conditions
Logical Structure: Organize conditions in order of importance
Fallback Planning: Always account for false path scenarios
Performance Optimization
Efficient Ordering: Place most likely conditions first
Loop Management: Use appropriate loop counts to prevent infinite loops
Resource Consideration: Balance complexity with processing efficiency
Error Handling
Default Paths: Ensure all possible outcomes have designated paths
Validation: Test conditions with various input scenarios
Documentation: Document decision logic for workflow maintenance
The Decision Paths node transforms linear workflows into intelligent, adaptive processes that respond dynamically to data conditions and business logic requirements.