How to write formulas that reference variables and perform calculations
This feature is not yet supported for the JSON Schema config type.
Formulas are special expressions that can reference fields from workflow steps and use functions to manipulate data and calculate values.
They are used in Validation steps to define validation rules.
If the document is an invoice, then get the invoice date, otherwise get the due date
Variables
A variable is simply a reference to a workflow data field. They can be outputs of document processor steps or fields retrieved from your system using External Data Validation steps.
Classification
For Classification steps, the variable is the step name, e.g. classification1.
The type of the variable will be text and its value will be the file’s classification type.
Extraction
For Extraction steps, the variable is the step name joined with the field name, e.g. extraction1.address or extraction2.line_items.quantity (for nested object or array fields).
The type of the variable will match the type of the extraction field.
For subfields of an array, the type will be an array of the subfield’s type.
The value may be NULL if the field could not be extracted.
External Data Validation
For External Data Validation steps, the variable is the step name joined with the field path of the returned payload, external1.path.to.field.
It is your responsibility to ensure that External Data Validation variables
are populated and have the correct types. For example, to use array variables
you must return an object of arrays instead of an array of objects.
Data types
All formulas values, including input variables, formula constants, and function outputs belong to one of the following data types.
Type
Description
boolean
A TRUE or FALSE value
number
A 64bit floating number
text
A string of arbitrary length
date
A date without a time of day or time zone
currency
A monetary value containing a number amount and a ISO 4217 currency code
array<T>
An array of the non-array type T. Mixed type arrays are not permitted.
Collection types
The currency and array types represent collections over one of the other primitive types and can be used wherever their underlying primitive type can be used.
For example, the currency type’s primitive type is number, so it can be used in numerical operations like addition or multiplication with other number or currency values.
So can an array of numbers, but not an array of texts.Note that when an operation or a function uses both collection and primitive types, then the output will usually, but not always, belong to the collection type.
For example, adding a currency and a number produces a currency, but comparing them will produce a boolean instead.
Nulls
Values of any type can also be NULL which represents the absence of a value.
Generally, null values will be treated as zero values of their type (e.g. 0 or FALSE or "") when used in an operation or function.
Use the ISPRESENT, ISBLANK, or IFNULL functions to explicitly check for and handle nulls.
Operations
The below table shows all the operations in their order of operations (from lowest to highest).
An operation with a higher order of operation will take precedence over a lower one.
Operation
Type
Description
a = b
boolean
a is equal to b
a <> b
boolean
a is not equal to b
a < b
boolean
a is less than b
a <= b
boolean
a is less or equal to b
a > b
boolean
a is greater than b
a >= b
boolean
a is greater than or equal to b
a + b
number
a plus b
a - b
number
a subtract b
s & t
text
s concatenate t
a * b
number
a multiplied by b
a / b
number
a divided by b
a ^ b
number
a raised to the power of b
-a
number
Negative a
( ... )
T
Parentheses
FUNC( ... )
T
Function call
Functions
This is the list of all functions, their return types, and their behavior.
Please reach out to us if there are functions not included here that would be helpful to you!
Formula
Type
Description
ISPRESENT(arg: T)
boolean
Returns whether or not the argument is not NULL.
ISBLANK(arg: T)
boolean
Returns whether or not the argument is NULL.
IF(condition: boolean, ifTrue: T, ifFalse: T)
T
Returns the value of ifTrue if condition is TRUE, returns the value of ifFalse otherwise.
IFNULL(arg: T, ifNull: T)
T
Returns the value of arg if it is not NULL, returns the value of ifNull otherwise.
AND(arg: boolean, ...)
boolean
Returns TRUE if all the arguments are TRUE, returns FALSE otherwise.
OR(arg: boolean, ...)
boolean
Returns TRUE if any of the arguments are TRUE, returns FALSE otherwise.
NOT(arg: boolean)
boolean
Returns TRUE if the argument is falsey (e.g. FALSE, 0, "", NULL), returns FALSE otherwise.
DATE(arg: text)
date
Converts the given text into a date value.
SUM(arg: array<T>)
T
Returns the sum of all the elements in the array.
Constants
Formulas may include constant values such as numbers (e.g. 0, 12.50, -100), texts (e.g. "hello!", ""), or booleans (TRUE or FALSE) only.
To declare a constant date, use the DATE function (e.g. DATE("2024-01-01")).To include double quotation marks in a text constant, escape it with a backslash \", e.g. "She said \"Hi!\"".
SUM
The SUM function returns the sum of all subfield elements in an array field. For example, if you are extracting data from an invoice and have an array field line_items with a subfield cost, you can use the SUM function to get the total cost of all the line items. You could then compare that to the total amount due and validate that the data was correctly extracted.
{"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.4344","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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"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}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"product-reference/validation/formulas","slug":"/product-reference/validation/formulas","pageMetadata":{"title":"Formulas","description":"How to write formulas that reference variables and perform calculations","href":"/product-reference/validation/formulas"},"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 write formulas that reference variables and perform calculations\"\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={code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,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:`Formulas are special expressions that can reference fields from workflow steps and use functions to manipulate data and calculate values.\nThey are used in Validation steps to define validation rules.`}),`\n`,_jsx(Heading,{level:`2`,id:`examples`,children:`Examples`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Formula`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ISPRESENT(extraction1.address)`})}),_jsx(_components.td,{children:`Verify that an address has been extracted`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`extraction1.amount = extraction1.price * extraction1.quantity + extraction1.tax`})}),_jsx(_components.td,{children:`Verify that the total amount is calculated correctly`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`IF(classification1 = \"invoice\", extraction1.invoice_date, extraction2.due_date)`})}),_jsx(_components.td,{children:`If the document is an invoice, then get the invoice date, otherwise get the due date`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`variables`,children:`Variables`}),`\n`,_jsx(_components.p,{children:`A variable is simply a reference to a workflow data field. They can be outputs of document processor steps or fields retrieved from your system using External Data Validation steps.`}),`\n`,_jsx(Heading,{level:`3`,id:`classification`,children:`Classification`}),`\n`,_jsxs(_components.p,{children:[`For Classification steps, the variable is the step name, e.g. `,_jsx(_components.code,{children:`classification1`}),`.\nThe type of the variable will be `,_jsx(_components.code,{children:`text`}),` and its value will be the file’s classification type.`]}),`\n`,_jsx(Heading,{level:`3`,id:`extraction`,children:`Extraction`}),`\n`,_jsxs(_components.p,{children:[`For Extraction steps, the variable is the step name joined with the field name, e.g. `,_jsx(_components.code,{children:`extraction1.address`}),` or `,_jsx(_components.code,{children:`extraction2.line_items.quantity`}),` (for nested object or array fields).\nThe type of the variable will match the type of the extraction field.\nFor subfields of an array, the type will be an array of the subfield’s type.\nThe value may be `,_jsx(_components.code,{children:`NULL`}),` if the field could not be extracted.`]}),`\n`,_jsx(Heading,{level:`3`,id:`external-data-validation`,children:`External Data Validation`}),`\n`,_jsxs(_components.p,{children:[`For External Data Validation steps, the variable is the step name joined with the field path of the returned payload, `,_jsx(_components.code,{children:`external1.path.to.field`}),`.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`It is your responsibility to ensure that External Data Validation variables\nare populated and have the correct types. For example, to use array variables\nyou must return an object of arrays instead of an array of objects.`})}),`\n`,_jsx(Heading,{level:`2`,id:`data-types`,children:`Data types`}),`\n`,_jsx(_components.p,{children:`All formulas values, including input variables, formula constants, and function outputs belong to one of the following data types.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`boolean`})}),_jsxs(_components.td,{children:[`A `,_jsx(_components.code,{children:`TRUE`}),` or `,_jsx(_components.code,{children:`FALSE`}),` value`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`number`})}),_jsx(_components.td,{children:`A 64bit floating number`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`text`})}),_jsx(_components.td,{children:`A string of arbitrary length`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`date`})}),_jsx(_components.td,{children:`A date without a time of day or time zone`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`currency`})}),_jsxs(_components.td,{children:[`A monetary value containing a `,_jsx(_components.code,{children:`number`}),` amount and a ISO 4217 currency code`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`array\u003cT>`})}),_jsxs(_components.td,{children:[`An array of the non-array type `,_jsx(_components.code,{children:`T`}),`. Mixed type arrays are not permitted.`]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`collection-types`,children:`Collection types`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`currency`}),` and `,_jsx(_components.code,{children:`array`}),` types represent collections over one of the other primitive types and can be used wherever their underlying primitive type can be used.\nFor example, the `,_jsx(_components.code,{children:`currency`}),` type’s primitive type is `,_jsx(_components.code,{children:`number`}),`, so it can be used in numerical operations like addition or multiplication with other `,_jsx(_components.code,{children:`number`}),` or `,_jsx(_components.code,{children:`currency`}),` values.\nSo can an array of numbers, but not an array of texts.`]}),`\n`,_jsxs(_components.p,{children:[`Note that when an operation or a function uses both collection and primitive types, then the output will usually, but not always, belong to the collection type.\nFor example, adding a `,_jsx(_components.code,{children:`currency`}),` and a `,_jsx(_components.code,{children:`number`}),` produces a `,_jsx(_components.code,{children:`currency`}),`, but comparing them will produce a `,_jsx(_components.code,{children:`boolean`}),` instead.`]}),`\n`,_jsx(Heading,{level:`3`,id:`nulls`,children:`Nulls`}),`\n`,_jsxs(_components.p,{children:[`Values of any type can also be `,_jsx(_components.code,{children:`NULL`}),` which represents the absence of a value.\nGenerally, null values will be treated as zero values of their type (e.g. `,_jsx(_components.code,{children:`0`}),` or `,_jsx(_components.code,{children:`FALSE`}),` or `,_jsx(_components.code,{children:`\"\"`}),`) when used in an operation or function.\nUse the `,_jsx(_components.code,{children:`ISPRESENT`}),`, `,_jsx(_components.code,{children:`ISBLANK`}),`, or `,_jsx(_components.code,{children:`IFNULL`}),` functions to explicitly check for and handle nulls.`]}),`\n`,_jsx(Heading,{level:`2`,id:`operations`,children:`Operations`}),`\n`,_jsx(_components.p,{children:`The below table shows all the operations in their order of operations (from lowest to highest).\nAn operation with a higher order of operation will take precedence over a lower one.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Operation`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`a = b`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boolean`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`a`}),` is equal to `,_jsx(_components.code,{children:`b`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`a \u003c> b`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boolean`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`a`}),` is not equal to `,_jsx(_components.code,{children:`b`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`a \u003c b`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boolean`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`a`}),` is less than `,_jsx(_components.code,{children:`b`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`a \u003c= b`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boolean`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`a`}),` is less or equal to `,_jsx(_components.code,{children:`b`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`a > b`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boolean`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`a`}),` is greater than `,_jsx(_components.code,{children:`b`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`a >= b`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boolean`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`a`}),` is greater than or equal to `,_jsx(_components.code,{children:`b`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`a + b`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`number`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`a`}),` plus `,_jsx(_components.code,{children:`b`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`a - b`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`number`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`a`}),` subtract `,_jsx(_components.code,{children:`b`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`s \u0026 t`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`text`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`s`}),` concatenate `,_jsx(_components.code,{children:`t`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`a * b`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`number`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`a`}),` multiplied by `,_jsx(_components.code,{children:`b`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`a / b`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`number`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`a`}),` divided by `,_jsx(_components.code,{children:`b`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`a ^ b`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`number`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`a`}),` raised to the power of `,_jsx(_components.code,{children:`b`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`-a`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`number`})}),_jsxs(_components.td,{children:[`Negative `,_jsx(_components.code,{children:`a`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`( ... )`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`T`})}),_jsx(_components.td,{children:`Parentheses`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`FUNC( ... )`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`T`})}),_jsx(_components.td,{children:`Function call`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`functions`,children:`Functions`}),`\n`,_jsx(_components.p,{children:`This is the list of all functions, their return types, and their behavior.\nPlease reach out to us if there are functions not included here that would be helpful to you!`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Formula`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ISPRESENT(arg: T)`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boolean`})}),_jsxs(_components.td,{children:[`Returns whether or not the argument is not `,_jsx(_components.code,{children:`NULL`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ISBLANK(arg: T)`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boolean`})}),_jsxs(_components.td,{children:[`Returns whether or not the argument is `,_jsx(_components.code,{children:`NULL`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`IF(condition: boolean, ifTrue: T, ifFalse: T)`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`T`})}),_jsxs(_components.td,{children:[`Returns the value of `,_jsx(_components.code,{children:`ifTrue`}),` if `,_jsx(_components.code,{children:`condition`}),` is `,_jsx(_components.code,{children:`TRUE`}),`, returns the value of `,_jsx(_components.code,{children:`ifFalse`}),` otherwise.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`IFNULL(arg: T, ifNull: T)`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`T`})}),_jsxs(_components.td,{children:[`Returns the value of `,_jsx(_components.code,{children:`arg`}),` if it is not `,_jsx(_components.code,{children:`NULL`}),`, returns the value of `,_jsx(_components.code,{children:`ifNull`}),` otherwise.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`AND(arg: boolean, ...)`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boolean`})}),_jsxs(_components.td,{children:[`Returns `,_jsx(_components.code,{children:`TRUE`}),` if all the arguments are `,_jsx(_components.code,{children:`TRUE`}),`, returns `,_jsx(_components.code,{children:`FALSE`}),` otherwise.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`OR(arg: boolean, ...)`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boolean`})}),_jsxs(_components.td,{children:[`Returns `,_jsx(_components.code,{children:`TRUE`}),` if any of the arguments are `,_jsx(_components.code,{children:`TRUE`}),`, returns `,_jsx(_components.code,{children:`FALSE`}),` otherwise.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`NOT(arg: boolean)`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boolean`})}),_jsxs(_components.td,{children:[`Returns `,_jsx(_components.code,{children:`TRUE`}),` if the argument is falsey (e.g. `,_jsx(_components.code,{children:`FALSE`}),`, `,_jsx(_components.code,{children:`0`}),`, `,_jsx(_components.code,{children:`\"\"`}),`, `,_jsx(_components.code,{children:`NULL`}),`), returns `,_jsx(_components.code,{children:`FALSE`}),` otherwise.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`DATE(arg: text)`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`date`})}),_jsxs(_components.td,{children:[`Converts the given text into a `,_jsx(_components.code,{children:`date`}),` value.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`SUM(arg: array\u003cT>)`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`T`})}),_jsx(_components.td,{children:`Returns the sum of all the elements in the array.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`constants`,children:`Constants`}),`\n`,_jsxs(_components.p,{children:[`Formulas may include constant values such as numbers (e.g. `,_jsx(_components.code,{children:`0`}),`, `,_jsx(_components.code,{children:`12.50`}),`, `,_jsx(_components.code,{children:`-100`}),`), texts (e.g. `,_jsx(_components.code,{children:`\"hello!\"`}),`, `,_jsx(_components.code,{children:`\"\"`}),`), or booleans (`,_jsx(_components.code,{children:`TRUE`}),` or `,_jsx(_components.code,{children:`FALSE`}),`) only.\nTo declare a constant date, use the `,_jsx(_components.code,{children:`DATE`}),` function (e.g. `,_jsx(_components.code,{children:`DATE(\"2024-01-01\")`}),`).`]}),`\n`,_jsxs(_components.p,{children:[`To include double quotation marks in a text constant, escape it with a backslash `,_jsx(_components.code,{children:`\\\\\"`}),`, e.g. `,_jsx(_components.code,{children:`\"She said \\\\\"Hi!\\\\\"\"`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`sum`,children:`SUM`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`SUM`}),` function returns the sum of all subfield elements in an array field. For example, if you are extracting data from an invoice and have an array field `,_jsx(_components.code,{children:`line_items`}),` with a subfield `,_jsx(_components.code,{children:`cost`}),`, you can use the `,_jsx(_components.code,{children:`SUM`}),` function to get the total cost of all the line items. You could then compare that to the total amount due and validate that the data was correctly extracted.`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`SUM(extraction1.line_items.cost) = extraction1.total_amount_due`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}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":"Formulas","description":"How to write formulas that reference variables and perform calculations","href":"/product-reference/validation/formulas"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Examples","slug":"examples","depth":2,"children":[]},{"title":"Variables","slug":"variables","depth":2,"children":[{"title":"Classification","slug":"classification","depth":3,"children":[]},{"title":"Extraction","slug":"extraction","depth":3,"children":[]},{"title":"External Data Validation","slug":"external-data-validation","depth":3,"children":[]}]},{"title":"Data types","slug":"data-types","depth":2,"children":[{"title":"Collection types","slug":"collection-types","depth":3,"children":[]},{"title":"Nulls","slug":"nulls","depth":3,"children":[]}]},{"title":"Operations","slug":"operations","depth":2,"children":[]},{"title":"Functions","slug":"functions","depth":2,"children":[]},{"title":"Constants","slug":"constants","depth":2,"children":[{"title":"SUM","slug":"sum","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"tryextend","siteName":"Extend","title":"Formulas - Extend","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"2025-04-21":{"href":"/product-reference/validation/formulas","matchLevel":0},"2024-12-23":{"href":"/product-reference/validation/formulas","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T03:55:45.699Z","originalFileLocation":"product-reference/validation/formulas.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 write formulas that reference variables and perform calculations\">\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=\"Formulas - Extend\">\u003cmeta data-mint-head property=\"og:description\" content=\"How to write formulas that reference variables and perform calculations\">\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/formulas\">\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=Formulas\u0026amp;description=How+to+write+formulas+that+reference+variables+and+perform+calculations\u0026amp;theme=a092852b4845b3f9207a97d5\u0026amp;signature=aea5c2beac4d336ab9de7c0498f7f57db2fc21f9801e87fd2128ed712d77acc9\">\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=\"Formulas - Extend\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How to write formulas that reference variables and perform calculations\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tryextend.mintlify.site/_mintlify/api/og/v2?division=Validation+Rules\u0026amp;title=Formulas\u0026amp;description=How+to+write+formulas+that+reference+variables+and+perform+calculations\u0026amp;theme=a092852b4845b3f9207a97d5\u0026amp;signature=aea5c2beac4d336ab9de7c0498f7f57db2fc21f9801e87fd2128ed712d77acc9\">\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/formulas\">\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/formulas.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/formulas#webpage\",\"url\":\"https://docs.extend.app/product-reference/validation/formulas\",\"name\":\"Formulas\",\"description\":\"How to write formulas that reference variables and perform calculations\",\"dateModified\":\"2026-01-07T03:55:45.699Z\",\"isPartOf\":{\"@id\":\"https://docs.extend.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.extend.app/product-reference/validation/formulas#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.extend.app/product-reference/validation/formulas#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Validation Rules\",\"item\":\"https://docs.extend.app/product-reference/validation/rules\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Formulas\",\"item\":\"https://docs.extend.app/product-reference/validation/formulas\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.extend.app/product-reference/validation/formulas#article\",\"headline\":\"Formulas\",\"name\":\"Formulas\",\"description\":\"How to write formulas that reference variables and perform calculations\",\"url\":\"https://docs.extend.app/product-reference/validation/formulas\",\"mainEntityOfPage\":{\"@id\":\"https://docs.extend.app/product-reference/validation/formulas#webpage\"},\"dateModified\":\"2026-01-07T03:55:45.699Z\",\"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/formulas.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","href":"/product-reference/bounding_boxes"}]},{"group":"Validation Rules","pages":[{"title":"Validation Step","description":"How to define validation rules for your workflows","href":"/product-reference/validation/rules"},{"title":"Formulas","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","href":"/product-reference/bounding_boxes"}]},{"group":"Validation Rules","pages":[{"title":"Validation Step","description":"How to define validation rules for your workflows","href":"/product-reference/validation/rules"},{"title":"Formulas","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":"Formulas - Extend","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":[],"chunks":[]}