Menu
Validate Schema
Validate data against JSON Schema. Returns error response if validation fails.
Use it in a workflow
- Add a step and choose the Schema Validator connector.
- Pick the Validate Schema action (under validation).
- Fill in the fields below, then reference the result from later steps as
{{validateSchema.response.data}}.
Fields
Examples
Validate a webhook payload
Require a name (string) and age (positive number) before letting the workflow continue
{
"data": "{{trigger.body}}",
"schema": "{\"type\": \"object\", \"properties\": {\"name\": {\"type\": \"string\"}, \"age\": {\"type\": \"number\", \"minimum\": 0}}, \"required\": [\"name\", \"age\"]}"
}
Need more? See the Schema Validator guide for connection setup and behaviour shared by every action.
Was this page helpful?