Validate Workflow `startTrigger` Data

I am not sure how everyone else is validating and parsing workflow inputs, but I recently found valibot and it works so well in Retool. It has zero dependencies and is really easy to compose validation pipelines.

I would vote to add it as a default package with moment, lodash, papaparse, etc...

This is now how the start of my workflows look:

I even exported this little bit as a starter to use as a template.

3 Likes