Insert ai validation
editor_insertAiValidationInsert an AI Validation: one sentence the answers it names must fit, checked with AI while the respondent fills in the form. A note shows under it when they do not fit; the respondent can still submit. It reads questions above it and hidden fields, so insert it after the last question it reads. Result: data.aiValidations..
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Callback key; defaults to the next free ai_validation, ai_validation_2, … | |
| after | No | NodeId to insert after. Use $prev to chain. Omitting appends to end (usually wrong). | |
| formId | Yes | Form ID to insert into | |
| parentId | No | Parent node ID to insert into (e.g., column1) | |
| position | No | Position among siblings: inside parentId when given, else at the top level ('first' = top of the form, e.g. a title). Not combinable with after. | |
| sentence | Yes | The rule as parts: text, and a chip for every answer it reads (plain text is not checked). E.g. [{"fieldId":"fi1","fieldName":"Invoice"}," is dated in 2026."] |