All templates
Template·Text & Data

Conditional Logic Engine

Workflow that demonstrates multi-branch decision logic with value routing.

Conditional Logic Engine — example output from the NodeTool workflow

The workflow

Workflow Editor
Note
Prompt
Gt 100
Lt 50
Combined
Route
Processing
## Conditional Logic Decision Result **Input Value:** {{ value }} **Condition Checks:** - Greater than 100? {{ gt_100 }} - Less than 50? {{…
Integer Input
Compare
A
Compare
A
Logical Operator
A
B
Conditional Switch
Condition
Conditional Switch
Condition
If True
If False
Prompt
🔴 HIGH VALUE: {{ value }} is greater than 100. Priority processing engaged.
Prompt
Text
{{ text }}
Conditional Switch
Condition
If True
If False
Prompt
🔵 LOW VALUE: {{ value }} is less than 50. Standard processing applied.
Prompt
🟡 MEDIUM VALUE: {{ value }} is between 50 and 100. Balanced processing selected.

Nodes in this workflow

12 nodes · 5 types
  • Prompt
    nodetool.text.Prompt
    ×5
  • Conditional Switch
    nodetool.boolean.ConditionalSwitch
    ×3
  • Compare
    nodetool.boolean.Compare
    ×2
  • Integer Input
    nodetool.input.IntegerInput
  • Logical Operator
    nodetool.boolean.LogicalOperator

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.