Skip to main content
The request node validates incoming request data against a schema. Use it at the start of flows to ensure data meets requirements before processing.

Configuration

Config Fields

on_error Config

Output

On Success

On Failure

Validation Rules

Rules are separated by | (pipe). Some rules accept parameters after : (colon).

Presence Rules

Conditional Required

Type Rules

Size Rules

Format Rules

Date Rules

File Rules

Dimension Constraints: min_width, max_width, min_height, max_height, width, height, ratio

Comparison Rules

Inclusion Rules

Control Rules

Examples

User Registration

Product Creation

Array Validation

Use .* wildcard to validate array items:

Optional Fields

File Upload Validation

Validate uploaded files using request.files as the source:

Document Upload with Constraints

Combined Body and File Validation

Validate both form fields and files in separate nodes:

Custom Error Response

Continue on Error

Capture validation errors without aborting:
Then check validation result:

Error Response Context

In custom error body templates, these variables are available:

Default Error Response

Without custom on_error.body: