Nodes
Nodes
One page per node: what it is for, how it works, which ports it opens and what it writes.
A decision is a graph of nodes. A run walks that graph from the Input node to the Output node, one node at a time, and at every node it follows one port. This section has a page for each node, with diagrams that show what it reads, what it does and where the run goes next.
How a run moves
- The scope. Every node reads the same scope: the payload (by its bare name,
amount, orinput.amount), the variables written so far (vars.score), the output of earlier nodes (nodes), and project constants (global.rate). - Variables. A node that produces a value writes it to a variable, and every node after it can read it. A variable shadows a payload field with the same name.
- Ports. A node finishes by choosing a port:
Next,True/False,Success/Error,Found/Not found,Matched/No match, or one per switch case. Each port connects to one node. - The trace. Every step appends to a single trace: what ran, what it saw and why it went that way. See the trace.
- Failure. A node that fails stops the run, unless it is an integration node set to continue with a fallback.
The palette
Entry and exit
- Input — The entry point of every decision: it validates the payload against the input model.
- Output — The exit of a decision: it builds the response the caller receives.
Branching
- Condition — Branches the flow on a boolean expression: True or False.
- Switch — Branches on the first matching case, with a Default for the rest.
Data and rules
- Decision table — Runs a reusable decision table and branches on Matched or No match.
- Calculate — Computes a value with exact decimals and stores it in a variable.
- Append to array — Adds values to a list variable, creating the list on first use.
- Lookup — Looks a value up in a dataset and branches on Found or Not found.
Scoring and AI
- Scorecard — Adds up points per characteristic into a score, with adverse reason codes.
- Model — Scores with a linear or logistic regression, or calls an inference endpoint.
- AI judgement — Asks a model typed questions about the state and records each answer with its confidence.
Integrations
- API call — Calls an external HTTP service and branches on Success or Error.
- Query — Reads from a Postgres or Redis connection, read-only.
- Velocity — Aggregates a feature series for one entity over a time window.
- Action — Describes a side effect for the runtime to perform: webhook, event, alert, review.
Composition
- Sub-decision — Runs another published decision and writes its outputs into the flow.
- For each — Runs a published decision once per list element and collects the outputs.
- Parallel — Starts several published decisions at once and joins them before continuing.
Which node do I need?
| I want to... | Use |
|---|---|
| Make a yes/no decision | Condition |
| Pick one path out of several | Switch or Decision table |
| Derive a number from the payload | Calculate |
| Collect values into a list | Append to array |
| Check a value against reference data | Lookup |
| Score an applicant with points or a model | Scorecard or Model |
| Judge free text | AI judgement |
| Call a service or read a database | API call or Query |
| Count what a customer did recently | Velocity |
| Notify, alert or queue a review | Action |
| Reuse another decision | Sub-decision, For each or Parallel |
Settings every node shares
- Name, shown on the canvas and in the trace.
- Notes and comments, kept with the flow. The engine ignores them. See comments and notes.
- Checks. The panel validates the graph as you edit. Errors block publishing; warnings do not.