Node Inputs
Required Fields
Error Message:The error message to display when the workflow fails.
Example:
"Required data validation failed: Email address is missing"
Optional Fields
Error Code:A custom error code for categorization.
Example:
"VALIDATION_ERROR"
Error Details:Additional details about the error as a JSON object.
Example:
Whether to stop the entire workflow or just the current branch.
Example:
true
Default:
true
Node Output
Failure Information:Details about the intentional failure (typically captured in workflow error logs). Example Output:
Node Functionality
The Fail Node:- Intentionally fails the workflow with a custom error message.
- Useful for data validation and business rule enforcement.
- Provides clear error messages for debugging and monitoring.
- Supports custom error codes for categorization.
- Can include detailed error context as JSON.
- Typically used after conditional checks to stop invalid workflows.
- Helps maintain data quality and workflow integrity.
Common Use Cases
Data Validation:- Stop workflow if required fields are missing
- Fail if data doesn’t meet quality standards
- Enforce business logic constraints
- Prevent invalid operations
- Create clear failure points in complex workflows
- Provide meaningful error messages for troubleshooting