Ensure data quality with validation rules
Validations allow you to enforce rules on extracted data to ensure quality and consistency. TableFlow supports various validation types that can be applied to both template fields and table columns.
Any data that fails validation will be flagged in the review interface, allowing for manual correction before further processing.
Validations are defined as an array on template fields or table columns:
Each validation has the following properties:
These validations can be applied to any data type.
Ensures that the field or cell contains a non-blank value.
These validations can only be applied to string data types.
Ensures the value matches one of the items in a predefined list. Comparisons are case-insensitive.
Ensures the value is a valid email address.
Ensures the value is a valid phone number.
Validates the length of text content.
You can specify only min or max:
Ensures the value matches a specific regular expression pattern.
These validations can only be applied to number data types.
Validates that the number falls within a specific range.
You can specify only min or max:
Validates the number of decimal places.
These validations can only be applied to date data types.
Validates that a date falls within a specific range.
TableFlow supports three severity levels for validations:
You can apply multiple validation rules to the same field or column. All validations must pass for the data to be considered valid.
During the document extraction process:
For optimal validation results:
Learn how to use webhooks to integrate extracted data with your application.
Ensure data quality with validation rules
Validations allow you to enforce rules on extracted data to ensure quality and consistency. TableFlow supports various validation types that can be applied to both template fields and table columns.
Any data that fails validation will be flagged in the review interface, allowing for manual correction before further processing.
Validations are defined as an array on template fields or table columns:
Each validation has the following properties:
These validations can be applied to any data type.
Ensures that the field or cell contains a non-blank value.
These validations can only be applied to string data types.
Ensures the value matches one of the items in a predefined list. Comparisons are case-insensitive.
Ensures the value is a valid email address.
Ensures the value is a valid phone number.
Validates the length of text content.
You can specify only min or max:
Ensures the value matches a specific regular expression pattern.
These validations can only be applied to number data types.
Validates that the number falls within a specific range.
You can specify only min or max:
Validates the number of decimal places.
These validations can only be applied to date data types.
Validates that a date falls within a specific range.
TableFlow supports three severity levels for validations:
You can apply multiple validation rules to the same field or column. All validations must pass for the data to be considered valid.
During the document extraction process:
For optimal validation results:
Learn how to use webhooks to integrate extracted data with your application.