Logical
Boolean logic nodes — AND, OR, NOT, Select, and Coalesce.
Logical nodes perform boolean operations and conditional value selection. Use them to combine comparison results, invert conditions, or choose between values based on a condition.
All Logical nodes are pure (blue header, no execution pins).
And
Logical AND. Returns true only if both inputs are true.
| Pin | Direction | Type | Description |
|---|---|---|---|
| A | Input | Boolean | First condition |
| B | Input | Boolean | Second condition |
| Result | Output | Boolean | True if both A and B are true |
Pure. Use And to require multiple conditions — an IP is blocklisted AND the request count exceeds a threshold.
Or
Logical OR. Returns true if at least one input is true.
| Pin | Direction | Type | Description |
|---|---|---|---|
| A | Input | Boolean | First condition |
| B | Input | Boolean | Second condition |
| Result | Output | Boolean | True if A or B (or both) are true |
Pure. Use Or to match any of several conditions — the alert is critical OR the CPU exceeds 90%.
Not
Logical NOT. Inverts a boolean value.
| Pin | Direction | Type | Description |
|---|---|---|---|
| Value | Input | Boolean | The condition to invert |
| Result | Output | Boolean | Opposite of Value |
Pure. Use Not to invert a check — proceed only if a value is NOT null, or if a string does NOT contain a pattern.
Select
Choose between two values based on a boolean condition. Works like a ternary operator.
| Pin | Direction | Type | Description |
|---|---|---|---|
| Condition | Input | Boolean | The condition to evaluate |
| If True | Input | Any | Value returned when condition is true |
| If False | Input | Any | Value returned when condition is false |
| Result | Output | Any | The selected value |
Pure. Use Select to pick between two values inline without branching — choose "block" or "allow" based on a reputation check.
Coalesce
Return the first non-null value. If A is null, return B.
| Pin | Direction | Type | Description |
|---|---|---|---|
| A | Input | Any | Primary value |
| B | Input | Any | Fallback value |
| Result | Output | Any | A if non-null, otherwise B |
Pure. Use Coalesce to provide default values — use the user-provided name, or fall back to "Unknown" if it is null.
Related categories
- Comparison — produce boolean values to feed into logical operations
- Flow Control — use combined boolean results with Branch and Filter Guard
- Variables — store logical results for later use