Skip to main content
The editor checks that a required input is filled. It cannot know that a quantity must be between 1 and 100 or that an address must look like an email. Check these rules in your code.

Validate with Zod

validateZod takes the values and a map of input names to Zod schemas. It throws when a value does not fit, before any call to the other system.

Messages

Write the message for the person who fills in the step. It is shown on the failed step in the run, so say which input is wrong and what is allowed. Do not repeat the value: values can be personal data.
Last modified on October 26, 2026