This feature is not yet supported for the JSON Schema config type.
Validation steps let you define rules to validate the workflow’s data and supports your most complex business logic.Rules are defined using formulas that transform and calculate data similar to most spreadsheet applications you are familiar with.
Formulas can reference classification, extraction, and instruct QA step outputs, as well as data fetched from your systems using an External Data Validation step.
Adding a new step
Start by dragging a Validation step into your workflow.A Validation step has a single input step which simply determines when to run the validation.
Rules can reference data from all steps that come before it, so you do not need to directly connect a step to the Validation step to validate that step’s outputs.A Validation step also has two output steps, one if all the rules pass and one otherwise.
Only one of the two output steps will be executed for any single workflow run.
An example workflow topology is to connect the Webhook Response step if all rules pass and a Human Review step if not.
Configuring rules
Click on a Validation step’s Configure button to configure the step’s rules.
The configuration page shows the variables that can be referenced in formulas on the left side and the defined validation rules on the right side.To add a new rule, click the Add rule button on the bottom of the right side of the page.
To edit an existing rule instead, click the edit icon (pencil symbol) in the top right corner of the rule.
A rule has the following fields:
string
required
Name of the rule. This name will be used as a reference when viewing the
results in the Dashboard or in the webhook response.
string
Optional description of the rule.
string
required
Formula expression that must evaluate to a boolean value. See
Formulas for details about formula
syntax and functions.
Once you are satisfied with this rule, click the accept icon (checkmark symbol) to convert the rule back to viewing mode.
If you want to undo your changes to an existing rule or remove a newly added rule, click the decline icon (cross symbol) instead.When you are finished adding or editing rules, save your changes by clicking the Save button on the top right corner of the page.
Important: Do not forget to save your changes! An edited, but unsaved rule
will have no effect on your workflow.
Viewing results
Dashboard
Validation results can be viewed in the Dashboard once a workflow run is complete or is awaiting human review, along with other step results.
Webhook
Validation results are included in webhook requests’ WorkflowRun object under the stepRuns field.
See the validation result schema here.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Extend","colors":{"primary":"#12A7D3","light":"#81D7F7","dark":"#004E7A"},"favicon":"/favicon.png","logo":{"light":"https://mintcdn.com/tryextend/fwFG7xdTywjiFfYq/logo/light.png?fit=max\u0026auto=format\u0026n=fwFG7xdTywjiFfYq\u0026q=85\u0026s=d5b60497f53e7cb8865d11cf97636755","dark":"https://mintcdn.com/tryextend/fwFG7xdTywjiFfYq/logo/dark.png?fit=max\u0026auto=format\u0026n=fwFG7xdTywjiFfYq\u0026q=85\u0026s=2ba675637fc5f8ee673317eb7814ac38"},"api":{"playground":{"display":"none"},"mdx":{"server":null,"auth":{"method":"bearer","name":null}}},"background":{"image":"https://mintlify.s3.us-west-1.amazonaws.com/tryextend/background.png","decoration":null},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tryextend","hasAudioNarration":false,"actualSubdomain":"tryextend","customDomains":["docs.extend.app"],"gitSource":{"type":"github","owner":"extend-hq","repo":"documentation-legacy","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae921fd5bfa35cf904494a3:success","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"default","tag":"API Reference","count":49},{"language":"default","tag":"Documentation","count":18},{"language":"default","tag":"Processor Endpoints","count":12},{"language":"default","tag":"Objects","count":11},{"language":"default","tag":"Workflow Endpoints","count":7},{"language":"default","tag":"Guides","count":6},{"language":"default","tag":"Processor Changelog","count":5},{"language":"default","tag":"Studio","count":5},{"language":"default","tag":"Evaluation Set Endpoints","count":4},{"language":"default","tag":"File Endpoints","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"product-reference/validation/rules","slug":"/product-reference/validation/rules","pageMetadata":{"title":"Validation Step","description":"How to define validation rules for your workflows","href":"/product-reference/validation/rules"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"How to define validation rules for your workflows\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,..._provideComponents(),...props.components},{Heading,OptimizedImage,ParamField,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsx(_components.p,{children:`This feature is not yet supported for the JSON Schema config type.`})}),`\n`,_jsx(_components.p,{children:`Validation steps let you define rules to validate the workflow’s data and supports your most complex business logic.`}),`\n`,_jsxs(_components.p,{children:[`Rules are defined using formulas that transform and calculate data similar to most spreadsheet applications you are familiar with.\nFormulas can reference classification, extraction, and instruct QA step outputs, as well as data fetched from your systems using an `,_jsx(_components.a,{href:`/product-reference/external_validation`,children:`External Data Validation`}),` step.`]}),`\n`,_jsx(Heading,{level:`2`,id:`adding-a-new-step`,children:`Adding a new step`}),`\n`,_jsxs(_components.p,{children:[`Start by dragging a `,_jsx(_components.code,{children:`Validation`}),` step into your workflow.`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/tryextend/fwFG7xdTywjiFfYq/images/validation/configure_drag.jpeg?fit=max\u0026auto=format\u0026n=fwFG7xdTywjiFfYq\u0026q=85\u0026s=b1a7840275990a14285ce1f13596cd05`,alt:``,\"data-og-width\":`2876`,width:`2876`,\"data-og-height\":`1752`,height:`1752`,\"data-path\":`images/validation/configure_drag.jpeg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/tryextend/fwFG7xdTywjiFfYq/images/validation/configure_drag.jpeg?w=280\u0026fit=max\u0026auto=format\u0026n=fwFG7xdTywjiFfYq\u0026q=85\u0026s=2c7e793b37029e169060bef4ed753dc9 280w, https://mintcdn.com/tryextend/fwFG7xdTywjiFfYq/images/validation/configure_drag.jpeg?w=560\u0026fit=max\u0026auto=format\u0026n=fwFG7xdTywjiFfYq\u0026q=85\u0026s=12e2d64f615e5b93b98d4c29aa58e460 560w, https://mintcdn.com/tryextend/fwFG7xdTywjiFfYq/images/validation/configure_drag.jpeg?w=840\u0026fit=max\u0026auto=format\u0026n=fwFG7xdTywjiFfYq\u0026q=85\u0026s=0b7427c71d931667f0807ce98f17e2e5 840w, https://mintcdn.com/tryextend/fwFG7xdTywjiFfYq/images/validation/configure_drag.jpeg?w=1100\u0026fit=max\u0026auto=format\u0026n=fwFG7xdTywjiFfYq\u0026q=85\u0026s=65244840562e53eef8a238e5776c94b4 1100w, https://mintcdn.com/tryextend/fwFG7xdTywjiFfYq/images/validation/configure_drag.jpeg?w=1650\u0026fit=max\u0026auto=format\u0026n=fwFG7xdTywjiFfYq\u0026q=85\u0026s=314d0e76312af5dd141b0fbf3b138bcf 1650w, https://mintcdn.com/tryextend/fwFG7xdTywjiFfYq/images/validation/configure_drag.jpeg?w=2500\u0026fit=max\u0026auto=format\u0026n=fwFG7xdTywjiFfYq\u0026q=85\u0026s=4dc81e2400fe7eb3e8ab405b99a14f62 2500w`}),`\n`,_jsx(_components.p,{children:`A Validation step has a single input step which simply determines when to run the validation.\nRules can reference data from all steps that come before it, so you do not need to directly connect a step to the Validation step to validate that step’s outputs.`}),`\n`,_jsx(_components.p,{children:`A Validation step also has two output steps, one if all the rules pass and one otherwise.\nOnly one of the two output steps will be executed for any single workflow run.\nAn example workflow topology is to connect the Webhook Response step if all rules pass and a Human Review step if not.`}),`\n`,_jsx(Heading,{level:`2`,id:`configuring-rules`,children:`Configuring rules`}),`\n`,_jsxs(_components.p,{children:[`Click on a Validation step’s `,_jsx(_components.code,{children:`Configure`}),` button to configure the step’s rules.\nThe configuration page shows the variables that can be referenced in formulas on the left side and the defined validation rules on the right side.`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/tryextend/fwFG7xdTywjiFfYq/images/validation/configure_page.jpeg?fit=max\u0026auto=format\u0026n=fwFG7xdTywjiFfYq\u0026q=85\u0026s=00f0d827cffc055b00cfa019e2660d3e`,alt:``,\"data-og-width\":`2876`,width:`2876`,\"data-og-height\":`1752`,height:`1752`,\"data-path\":`images/validation/configure_page.jpeg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/tryextend/fwFG7xdTywjiFfYq/images/validation/configure_page.jpeg?w=280\u0026fit=max\u0026auto=format\u0026n=fwFG7xdTywjiFfYq\u0026q=85\u0026s=536d7a6c4c14b52eae0abe528f2a6e79 280w, https://mintcdn.com/tryextend/fwFG7xdTywjiFfYq/images/validation/configure_page.jpeg?w=560\u0026fit=max\u0026auto=format\u0026n=fwFG7xdTywjiFfYq\u0026q=85\u0026s=542dfea64d3b597f9a58ffb9c8339e35 560w, https://mintcdn.com/tryextend/fwFG7xdTywjiFfYq/images/validation/configure_page.jpeg?w=840\u0026fit=max\u0026auto=format\u0026n=fwFG7xdTywjiFfYq\u0026q=85\u0026s=d04223455304972abb21b4129ae7c883 840w, https://mintcdn.com/tryextend/fwFG7xdTywjiFfYq/images/validation/configure_page.jpeg?w=1100\u0026fit=max\u0026auto=format\u0026n=fwFG7xdTywjiFfYq\u0026q=85\u0026s=cd45759680260ddb58b6807c0ae0a3d6 1100w, https://mintcdn.com/tryextend/fwFG7xdTywjiFfYq/images/validation/configure_page.jpeg?w=1650\u0026fit=max\u0026auto=format\u0026n=fwFG7xdTywjiFfYq\u0026q=85\u0026s=3b7b778e76c96109af5abb2777be31fc 1650w, https://mintcdn.com/tryextend/fwFG7xdTywjiFfYq/images/validation/configure_page.jpeg?w=2500\u0026fit=max\u0026auto=format\u0026n=fwFG7xdTywjiFfYq\u0026q=85\u0026s=c90c684867d6784e34e26334f71e3e20 2500w`}),`\n`,_jsxs(_components.p,{children:[`To add a new rule, click the `,_jsx(_components.code,{children:`Add rule`}),` button on the bottom of the right side of the page.\nTo edit an existing rule instead, click the edit icon (pencil symbol) in the top right corner of the rule.\nA rule has the following fields:`]}),`\n`,_jsx(ParamField,{path:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`Name of the rule. This name will be used as a reference when viewing the\nresults in the Dashboard or in the webhook response.`})}),`\n`,_jsx(ParamField,{path:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Optional description of the rule.`})}),`\n`,_jsx(ParamField,{path:`formula`,type:`string`,required:true,id:`param-formula`,children:_jsxs(_components.p,{children:[`Formula expression that must evaluate to a `,_jsx(_components.code,{children:`boolean`}),` value. See\n`,_jsx(_components.a,{href:`/product-reference/validation/formulas`,children:`Formulas`}),` for details about formula\nsyntax and functions.`]})}),`\n`,_jsx(_components.p,{children:`Once you are satisfied with this rule, click the accept icon (checkmark symbol) to convert the rule back to viewing mode.\nIf you want to undo your changes to an existing rule or remove a newly added rule, click the decline icon (cross symbol) instead.`}),`\n`,_jsxs(_components.p,{children:[`When you are finished adding or editing rules, save your changes by clicking the `,_jsx(_components.code,{children:`Save`}),` button on the top right corner of the page.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Important: Do not forget to save your changes! An edited, but unsaved rule\nwill have no effect on your workflow.`})}),`\n`,_jsx(Heading,{level:`2`,id:`viewing-results`,children:`Viewing results`}),`\n`,_jsx(Heading,{level:`3`,id:`dashboard`,children:`Dashboard`}),`\n`,_jsx(_components.p,{children:`Validation results can be viewed in the Dashboard once a workflow run is complete or is awaiting human review, along with other step results.`}),`\n`,_jsx(Heading,{level:`3`,id:`webhook`,children:`Webhook`}),`\n`,_jsxs(_components.p,{children:[`Validation results are included in webhook requests’ `,_jsx(_components.code,{children:`WorkflowRun`}),` object under the `,_jsx(_components.code,{children:`stepRuns`}),` field.\nSee the validation result schema `,_jsx(_components.a,{href:`/api-reference/objects/workflow_run`,children:`here`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Validation Step","description":"How to define validation rules for your workflows","href":"/product-reference/validation/rules"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Adding a new step","slug":"adding-a-new-step","depth":2,"children":[]},{"title":"Configuring rules","slug":"configuring-rules","depth":2,"children":[]},{"title":"Viewing results","slug":"viewing-results","depth":2,"children":[{"title":"Dashboard","slug":"dashboard","depth":3,"children":[]},{"title":"Webhook","slug":"webhook","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"tryextend","siteName":"Extend","title":"Validation Step - Extend","navMaps":{"firstHrefInVersion":{"2025-04-21":{"href":"/product-reference/validation/rules","matchLevel":0},"2024-12-23":{"href":"/product-reference/validation/rules","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T03:55:45.701Z","originalFileLocation":"product-reference/validation/rules.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"How to define validation rules for your workflows\">\u003cmeta data-mint-head name=\"application-name\" content=\"Extend\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tryextend/ARUs0RnNqdDjcqQq/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/tryextend/ARUs0RnNqdDjcqQq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tryextend/ARUs0RnNqdDjcqQq/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/tryextend/ARUs0RnNqdDjcqQq/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/tryextend/ARUs0RnNqdDjcqQq/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tryextend/ARUs0RnNqdDjcqQq/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tryextend/ARUs0RnNqdDjcqQq/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/tryextend/ARUs0RnNqdDjcqQq/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/tryextend/ARUs0RnNqdDjcqQq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Validation Step - Extend\">\u003cmeta data-mint-head property=\"og:description\" content=\"How to define validation rules for your workflows\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Extend\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.extend.app/product-reference/validation/rules\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tryextend.mintlify.site/_mintlify/api/og/v2?division=Validation+Rules\u0026amp;title=Validation+Step\u0026amp;description=How+to+define+validation+rules+for+your+workflows\u0026amp;theme=a092852b4845b3f9207a97d5\u0026amp;signature=a3d47fa91fcb64761a30f3b30d0c404254cf00e691f7cc41f2e948838e54b93f\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Validation Step - Extend\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How to define validation rules for your workflows\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tryextend.mintlify.site/_mintlify/api/og/v2?division=Validation+Rules\u0026amp;title=Validation+Step\u0026amp;description=How+to+define+validation+rules+for+your+workflows\u0026amp;theme=a092852b4845b3f9207a97d5\u0026amp;signature=a3d47fa91fcb64761a30f3b30d0c404254cf00e691f7cc41f2e948838e54b93f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/tryextend/ARUs0RnNqdDjcqQq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Extend\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#12A7D3\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.extend.app/product-reference/validation/rules\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/product-reference/validation/rules.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.extend.app/#organization\",\"name\":\"Extend\",\"url\":\"https://docs.extend.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tryextend/fwFG7xdTywjiFfYq/logo/light.png?fit=max\u0026auto=format\u0026n=fwFG7xdTywjiFfYq\u0026q=85\u0026s=d5b60497f53e7cb8865d11cf97636755\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.extend.app#website\",\"name\":\"Extend\",\"url\":\"https://docs.extend.app\",\"publisher\":{\"@id\":\"https://docs.extend.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.extend.app/product-reference/validation/rules#webpage\",\"url\":\"https://docs.extend.app/product-reference/validation/rules\",\"name\":\"Validation Step\",\"description\":\"How to define validation rules for your workflows\",\"dateModified\":\"2026-01-07T03:55:45.701Z\",\"isPartOf\":{\"@id\":\"https://docs.extend.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.extend.app/product-reference/validation/rules#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.extend.app/product-reference/validation/rules#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Extend\",\"item\":\"https://docs.extend.app\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Validation Step\",\"item\":\"https://docs.extend.app/product-reference/validation/rules\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.extend.app/product-reference/validation/rules#article\",\"headline\":\"Validation Step\",\"name\":\"Validation Step\",\"description\":\"How to define validation rules for your workflows\",\"url\":\"https://docs.extend.app/product-reference/validation/rules\",\"mainEntityOfPage\":{\"@id\":\"https://docs.extend.app/product-reference/validation/rules#webpage\"},\"dateModified\":\"2026-01-07T03:55:45.701Z\",\"publisher\":{\"@id\":\"https://docs.extend.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.extend.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Extend\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Extend\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/product-reference/validation/rules.md","siteName":"Extend","nav":{"global":null,"versions":[{"version":"2025-04-21","tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","pages":[{"title":"Intro to Extend","href":"/introduction"}]},{"group":"Studio","pages":[{"title":"Overview","href":"/product-reference/studio/overview"},{"title":"Configure an Extraction processor","href":"/product-reference/studio/configuring_extraction"},{"title":"Publishing processors","href":"/product-reference/studio/publishing"},{"title":"Migrating to JSON Schema","href":"/product-reference/studio/migrating_to_json_schema"},{"title":"Migrating to studio","href":"/product-reference/studio/migrating_to_studio"}]},{"group":"Evaluation","pages":[{"title":"Overview","href":"/product-reference/evaluation/overview"},{"title":"Creating evaluation sets","href":"/product-reference/evaluation/create_eval_sets"},{"title":"Running evaluation sets","href":"/product-reference/evaluation/run_eval_sets"},{"title":"Calculating array accuracy","href":"/product-reference/evaluation/calculating_accuracy"}]},{"group":"Workflows","pages":[{"title":"Reviewing a Workflow Run","href":"/product-reference/reviewing_workflow_run"},{"title":"Workflow Versioning","href":"/product-reference/workflow_versioning"},{"title":"External Data Validation Step","href":"/product-reference/external_validation"},{"title":"Conditional Extraction Step","href":"/product-reference/conditional_extraction"}]},{"group":"Review Experience","pages":[{"title":"Confidence Scores","href":"/product-reference/confidence_scores"},{"title":"Bounding Boxes \u0026 Citations","description":"How to leverage bounding box and citation references when reviewing documents in Extend.","href":"/product-reference/bounding_boxes"}]},{"group":"Validation Rules","pages":[{"title":"Validation Step","href":"/product-reference/validation/rules"},{"title":"Formulas","description":"How to write formulas that reference variables and perform calculations","href":"/product-reference/validation/formulas"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/authentication"}]},{"tab":"Processor Changelog","pages":[{"title":"Processor Changelog","href":"/changelog/overview"}]}]},{"version":"2024-12-23","tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","pages":[{"title":"Intro to Extend","href":"/introduction"}]},{"group":"Studio","pages":[{"title":"Overview","href":"/product-reference/studio/overview"},{"title":"Configure an Extraction processor","href":"/product-reference/studio/configuring_extraction"},{"title":"Publishing processors","href":"/product-reference/studio/publishing"},{"title":"Migrating to JSON Schema","href":"/product-reference/studio/migrating_to_json_schema"}]},{"group":"Evaluation","pages":[{"title":"Overview","href":"/product-reference/evaluation/overview"},{"title":"Creating evaluation sets","href":"/product-reference/evaluation/create_eval_sets"},{"title":"Running evaluation sets","href":"/product-reference/evaluation/run_eval_sets"},{"title":"Calculating array accuracy","href":"/product-reference/evaluation/calculating_accuracy"}]},{"group":"Workflows","pages":[{"title":"Reviewing a Workflow Run","href":"/product-reference/reviewing_workflow_run"},{"title":"Workflow Versioning","href":"/product-reference/workflow_versioning"},{"title":"External Data Validation Step","href":"/product-reference/external_validation"},{"title":"Conditional Extraction Step","href":"/product-reference/conditional_extraction"}]},{"group":"Review Experience","pages":[{"title":"Confidence Scores","href":"/product-reference/confidence_scores"},{"title":"Bounding Boxes \u0026 Citations","description":"How to leverage bounding box and citation references when reviewing documents in Extend.","href":"/product-reference/bounding_boxes"}]},{"group":"Validation Rules","pages":[{"title":"Validation Step","href":"/product-reference/validation/rules"},{"title":"Formulas","description":"How to write formulas that reference variables and perform calculations","href":"/product-reference/validation/formulas"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/authentication"}]},{"tab":"Processor Changelog","pages":[{"title":"Processor Changelog","href":"/changelog/overview"}]}]}]},"basePath":"","title":"Validation Step - Extend","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-D1ofL3wq.js","lightbox-handle-r17bVUz3.js"]}