Skip to content

NodeTool Cloud is in alpha. Try it →

All templates
Template·Text & Data

Conditional Logic Engine

Teaching example for control flow: one number drives two independent decision structures built entirely from If nodes — there is no dedicated numeric-compare or boolean-logic node in NodeTool, so this shows the actual pattern: PadText + Compare + Equals turn the number into a boolean, then pairs of If nodes sharing one condition (each holding its own value, taking the opposite branch) act as the ternary select and OR you'd otherwise reach for. No LLM calls.

Output

## Conditional Logic Decision Result

**Input Value:** 75

**Condition Checks:**
- Greater than 100? false
- Less than 50? false
- Combined (OR): false

**Decision Logic:**
This workflow demonstrates:
- Deriving a boolean from a number with PadText + Compare + Equals
- If nodes gating three parallel branches (only the taken path emits)
- Nested negation by chaining if_false through two If gates
- Per-branch Output nodes: high_priority / medium_priority / low_priority

Branches never converge into one non-list input — the engine's correlation
analysis forbids fan-in except into list-typed handles.

🟡 MEDIUM VALUE: 75 is between 50 and 100. Balanced processing selected.

The workflow

Data flow

How to run it

  1. 01

    Download NodeTool Studio

    Install the free desktop app for macOS, Windows, or Linux. It runs on your own machine, no account required to start.

  2. 02

    Open the Conditional Logic Engine template

    Browse the built-in template library inside Studio and open this workflow onto the canvas. Every node is already wired up.

  3. 03

    Add your keys

    Connect any model providers this workflow calls with your own API keys, or point it at local models.

  4. 04

    Run and remix

    Hit Run to execute the graph and watch results stream in. Swap models, edit prompts, or rewire nodes to make it yours.

Run Conditional Logic Engine on your machine

Free, open source, and yours to run. Download Studio, open the template, and run it with your own keys.