decision control
Nodes

Input

The entry point of every decision: it validates the payload against the input model.

The Input node is where every run starts. It takes the payload the caller sent, checks it against the decision's input model and hands it to the first node. Every flow has exactly one, and it cannot be deleted.

When to use it

  • Declare the contract of the decision: which fields exist, their types, which are required and which values are allowed.
  • Reject malformed requests early, before any rule, table or external call runs.

How it works

  1. The payload is validated against the input model (a JSON Schema). An empty model accepts anything: "no contract yet" is not the same as "reject everything".
  2. If it does not match, the run stops and fails with VALIDATION_FAILED, listing every violation with its path. Nothing downstream runs.
  3. If it matches, the node records what arrived in the trace and passes the payload, unchanged, through its single Next port.

Ports

PortTaken when
NextAlways, once the payload is valid.

Configuration

FieldWhat it does
NameLabel shown on the canvas and in the trace.
Input modelThe schema builder: fields, types, required flags and allowed values. It is also what the simulator form and the generated docs are built from.

What it writes

Nothing is written to variables. The payload stays readable by every node by its bare name (amount) or through input.amount. The trace records Input received with the payload.

In a real flow

The caller posts a payload. A valid one flows on to the first rule; an invalid one is rejected right here, so a bad request never reaches your logic.

When it fails

  • The payload does not match the model: the run fails with VALIDATION_FAILED.
  • The model itself is invalid (for example required lists a field that is not declared): the Checks panel shows an error and publishing is blocked.

Good to know

  • A variable shadows a payload field with the same name. Write input.amount when you need the raw value.
  • A flow can only have one Input node. A new draft ships with it, so it only shows up in the palette if it was removed.

On this page