Insert logic
editor_insertLogicInsert one logic element containing exactly one conditional rule. Insert separate logic elements for additional rules. When a rule shows a question (show action), also set isHidden:true on that question so it is hidden by default — otherwise it stays visible in the editor baseline. See load_skill("logic-rules").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | Yes | Single conditional rule. Insert another logic block for each additional rule. | |
| after | No | NodeId to insert after. Use $prev to chain. Omitting appends to end (usually wrong). | |
| formId | Yes | Form ID to insert into |