Skip to main content
IF and EVALUATE nodes use conditions to make decisions based on the verification output. This page explains the condition syntax and how to reference data fields.

Input Data

Conditions evaluate against the userinfo object returned by the VERIFICATION node. This data is wrapped under the input key, so all field references start with input..

Example userinfo structure

Dot Notation

Fields are referenced using dot notation. Array elements are accessed by their numeric index (zero-based).

Condition Rule

A single condition rule compares a field value against a target value.

Fields

Operators

For exists and not_exists operators, the value field is ignored but still required in the JSON structure.

Condition Group

Rules can be combined using and / or combinators. Nesting is supported for complex logic.

Nested conditions

Groups can be nested for expressions like (A AND B) OR (C AND D):

Using Conditions in Nodes

EVALUATE node

Evaluates the condition and stores the boolean result in a named field under computed.
After execution, the userinfo will contain computed.is_lithuanian: true (or false).

IF node

Routes the flow based on condition evaluation. Uses next as an array of routes:
The route with "when": null is the default (fallback) route, used when no other condition matches. Always include a default route to prevent the workflow from terminating unexpectedly.

Common Patterns

Check which provider was used

Check if a claim exists

Check nationality

Check if government-issued credential