CascadeGenerationPreview
Returned by `generateWorkflow` when `create` is `false`. Nothing is saved.
CascadeGenerationPreview has 7 top-level fields.
Fields typed as another schema link to that schema's page, and nested objects expand in place below.
It is referenced by 1 operation, listed under Used by.
The machine-readable definition is #/components/schemas/CascadeGenerationPreview in
openapi.json;
the example in the right-hand rail is synthesized from the field examples in that spec.
Fields
-
objectstring One ofcascade_generation -
definitionarray of CascadeNode A cascade's node graph: an ordered array of `CascadeNode` objects. Exactly one `ApplicantSource` node is the entry point; every other node is reached through the edge keys (`next_step`, `pass_steps`, `human_review_steps`, `fail_steps`), each of which is an array of node `id`s that must resolve within the same array. An empty array is accepted on create/update (an empty draft) but cannot be run.Schema: CascadeDefinition
-
idstring required Unique within the definition, e.g. `step_credit`. Edge keys reference nodes by this value. -
typestring required One ofApplicantSourceBillingProductProductIfElseConditionWaitGoToShowResultsAction -
namestring Human-readable label shown in the builder and in `step_outputs`. -
next_steparray of string Default forward edge — ids of the node(s) to run next. -
billing_product_codestring `BillingProduct` / `Product` only. The product to pull, e.g. `EQF1003` (Equifax credit), `TUC1001` (TransUnion credit), `CIC4002` (criminal), `CIC4003` (eviction). May also be nested as `config.billing_product_code`. -
configobject Optional per-node configuration. `store_result_as` names the key under which a product's output is stored.-
store_result_asstring -
billing_product_codestring Alternative location for `billing_product_code`.
-
-
branchesobject `IfElse` / `Condition` only. Conditions for the `pass` branch and (optionally) the `human_review` branch; anything that matches neither takes `fail_steps`.-
passCascadeBranch A branch of an `IfElse` node — one or more condition groups combined with `group_logic`.Schema: CascadeBranch
-
group_logicstring How the condition groups combine. Defaults to `and`. One ofandor -
condition_groupsarray of object-
logicstring How the conditions inside this group combine. Defaults to `and`. One ofandor -
conditionsarray of CascadeCondition required-
source_node_idstring required The `id` of the product node whose output is compared. -
fieldstring required Exact output field path from that product's schema, e.g. `creditScore.fico9`. -
operatorstring required One ofequalsnot_equalsgreater_thangreater_than_or_equalless_thanless_than_or_equalcontainsnot_containsstarts_withends_withis_emptyis_not_emptyis_trueis_false -
valueone of The comparison value. Required for every operator except the unary ones (`is_empty`, `is_not_empty`, `is_true`, `is_false`), which accept `null` or no `value` at all.-
option 1string, nullable -
option 2number -
option 3boolean
-
-
-
-
-
human_reviewCascadeBranch A branch of an `IfElse` node — one or more condition groups combined with `group_logic`.Schema: CascadeBranch
-
group_logicstring How the condition groups combine. Defaults to `and`. One ofandor -
condition_groupsarray of object-
logicstring How the conditions inside this group combine. Defaults to `and`. One ofandor -
conditionsarray of CascadeCondition required-
source_node_idstring required The `id` of the product node whose output is compared. -
fieldstring required Exact output field path from that product's schema, e.g. `creditScore.fico9`. -
operatorstring required One ofequalsnot_equalsgreater_thangreater_than_or_equalless_thanless_than_or_equalcontainsnot_containsstarts_withends_withis_emptyis_not_emptyis_trueis_false -
valueone of The comparison value. Required for every operator except the unary ones (`is_empty`, `is_not_empty`, `is_true`, `is_false`), which accept `null` or no `value` at all.-
option 1string, nullable -
option 2number -
option 3boolean
-
-
-
-
-
-
pass_stepsarray of string `IfElse` only. Node ids to run when the `pass` branch matches. -
human_review_stepsarray of string `IfElse` only. Node ids to run when the `human_review` branch matches; the execution pauses with `needs_human_review: true` until a review decision resumes it. -
fail_stepsarray of string `IfElse` only. Node ids to run when no branch matches. -
action_typestring `Action` only. One ofApproveSendEmailAdverseActionInternalNotification -
emailobject `Action` with `action_type: SendEmail`. Fields support `{{variable}}` interpolation from the execution context.-
tostring -
subjectstring -
bodystring
-
-
adverse_actionobject `Action` with `action_type: AdverseAction`. `send_strategy: draft_first` parks the notice for human review before sending.-
recipientstring -
action_takenstring The action box ticked on the notice: `denied` (application denied), `revoked` (credit revoked or terms changed unfavorably), `adverse_employment` (adverse employment action) or `other_action`. Cascades the AI designer generates always use `denied`. One ofdeniedrevokedadverse_employmentother_action -
send_strategystring One ofdraft_firstauto_send -
reasonstring
-
-
internal_notificationobject `Action` with `action_type: InternalNotification`. Operator-facing notification settings. -
waitobject `Wait` only. The delay before the next node runs.-
durationnumber -
unitstring One ofsecondsminuteshoursdaysweeks
-
-
target_stepstring `GoTo` only. The node id to jump to.
-
-
validboolean Whether the definition passed the validator. -
namestring -
modelstring -
repairedboolean -
warningsarray of CascadeGenerationWarning-
node_idstring required The `id` of the node the finding is about. -
codestring required Machine-readable finding. Current codes: `unreachable_node`, `missing_adverse_action`, `generic_adverse_action_reason`, `folded_thresholds`, `jurisdiction_review`. -
messagestring required Human-readable explanation with the suggested fix.
-