If / Else
The If/Else Logic node is the core decision-making engine of your automated workflow. It evaluates incoming data against your specific rules and branches the execution into two separate paths. Use this to filter out unwanted data, route requests based on specific criteria, or execute completely different actions depending on dynamic conditions.
What can you do with If / Else?
Dynamic Evaluation
Evaluate conditions based on dynamic variables fetched from earlier nodes. Check if values are strictly equal, greater than, contain exact string matches, or even match complex Regex structural patterns.
Multi-Condition Grouping
Combine multiple logical statements using nested AND/OR rules to create sophisticated business branching logic without needing to write complex underlying code blocks.
True/False Branch Routing
Automatically split the execution path, routing traffic to specific downstream nodes depending on whether the conditional matrix evaluated strictly to a TRUE or FALSE condition.
Detailed Usage & Configuration
The If/Else Logic Node functions as the strict gatekeeper and router of your data infrastructure. By analyzing the dynamic variables currently loaded in memory, it forces the execution flow into one of two disparate branching pipelines.
1. Defining Conditions
You can stack an unlimited number of logical arguments within a single Node. Each strict condition evaluates a selected Data Type and Operator:
- String Comparisons: Evaluate if text strings precisely equal, contain, start with, or end with explicit values. Great for routing emails based on subjects.
- Number Mathematics: Filter out analytical outliers by utilizing hard constraints like greater than or less than or equal.
- Dates & Booleans: Execute conditionally if a mapped timestamp evaluates exactly to "after a deadline" or a boolean flag evaluates exactly to TRUE.
2. Compound Logic Chains (AND / OR)
For complex logic requirements, you dictate exactly how the overall node determines the final outcome mapping using Logical Operators:
- AND (Strict Match): Every individual condition must evaluate to True. If even a single condition fails, the execution is unequivocally relegated to the False pathway.
- OR (Loose Match): If just a single condition out of the entire stack hits True, the gate opens successfully to the True pathway.
3. Routing Outputs
If processing a massive batch array of 100 items, the Node does not fail the execution wholesale. Natively, it intelligently isolates the batch, funneling all matching 30 items down the True branch while simultaneously flushing the remaining 70 items down the alternate False branch, preserving array integrity.
