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.

The workflow
Nodes in this workflow
19 nodes · 5 types- ×6Codenodetool.code.Code
- ×4Ifnodetool.control.If
- ×4Outputnodetool.output.Output
- ×4Promptnodetool.text.Prompt
- Integer Inputnodetool.input.IntegerInput
How to run it
- 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.
- 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.
- 03
Add your keys
Connect any model providers this workflow calls with your own API keys, or point it at local models.
- 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.
Related templates
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.







