The model
Inputs, conditions, variables, rules, flows, decisions, actions and integrations.
The engine is domain agnostic. It knows a small, fixed vocabulary, and everything you build is a combination of it.
| Term | Meaning |
|---|---|
| Input | The context the caller sends, described by a JSON Schema (the input model). |
| Output | What the decision answers, described by an output model. |
| Condition | A boolean expression that branches the flow. |
| Variable | A named value a node writes, usable by any node downstream. |
| Rule | One row of a decision table: a set of conditions and the results they produce. |
| Flow | The graph of nodes and connections that a decision runs. |
| Decision | A key (the name callers use) plus the flow behind it. |
| Action | A side effect the decision describes (a webhook, an event); the runtime performs it. |
| Integration | A connection to the outside world: an API call, a database query, a broker publish. |
Inputs and outputs
A decision's input model is a JSON Schema. The same model drives validation of incoming payloads, the form the simulator prefills and the documentation. An empty input model accepts anything — "no contract yet" is different from "reject everything".
Outputs are written into the output model by the nodes that produce them.
Flows
A flow is a directed graph. Nodes are wired by dragging from an output port to an input port, and the ports carry meaning:
- Condition →
True/False - Switch → one port per case, plus
Default - Decision table →
Matched/No match - API call →
Success/Error
The Checks panel validates the graph as you edit. Errors block publishing; warnings do not.
Actions
A decision describes side effects and the runtime performs them. sendWebhook and callApi are
written to an outbox in the same transaction as the execution and delivered afterwards by a
worker, so a slow receiver cannot hold up the caller and an effect is not lost. Everything else
(createAlert, publishEvent, enqueueReview, …) is recorded on the execution. Simulations
never enqueue anything.
See Nodes for the full palette.