Skip to main content

confirm Step

The confirm step asks the user to verify information before continuing. Use it as a decision gate before sensitive actions.

Syntax

Short Form

- confirm: [order_id, shipping_address]

Full Form

- confirm:
fields: [order_id, shipping_address]
message: "Please confirm these details"
on_change:
- goto: update_details
name: "Confirm Order"

Properties

PropertyTypeRequiredDescription
fieldsstring[]YesVariables to confirm
messagestringNoCustom prompt
on_changetargetNoWhat happens if the user wants changes
namestringNoHuman readable step name

Example

- confirm:
fields: [order_id, refund_amount]
message: "Confirm refund for order {{variables.order_id}} of ${{variables.refund_amount}}"