Route your workflow based on variable values or logic.
The Condition block is used to compare a variable against a value and route the conversation across different paths.For chatbot flows requiring a logical condition to be evaluated to branch out to the next step in the flow, you can use the condition action block.
If you want to move the flow to a specific block without checking a rule, use the Jump block instead.
If none of the conditions are satisfied, the chat flow will automatically proceed toward the ‘Default condition’ branch on the bot builder canvas.Use the ‘Default condition’ to handle users who do not meet any of your defined rules.This default branch cannot be deleted.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"WotNot","description":"Official WotNot documentation. WotNot is a no-code platform for automating customer conversations with AI Agents on Websites, WhatsApp, Instagram, Email, Mobile apps, and Voice.","colors":{"primary":"#141414","light":"#D4D4D4","dark":"#141414"},"logo":{"light":"https://mintcdn.com/wotnot/o37K8lyT2Z_o0x92/images/fullblack.svg?fit=max\u0026auto=format\u0026n=o37K8lyT2Z_o0x92\u0026q=85\u0026s=4dfa08701dcc20afca4595cbfb547804","dark":"https://mintcdn.com/wotnot/o37K8lyT2Z_o0x92/images/fullwhite.svg?fit=max\u0026auto=format\u0026n=o37K8lyT2Z_o0x92\u0026q=85\u0026s=3bfcd2981bfc3a8eab403f5f4d527244","href":"https://wotnot.io"},"favicon":{"light":"https://mintcdn.com/wotnot/o37K8lyT2Z_o0x92/images/icon.svg?fit=max\u0026auto=format\u0026n=o37K8lyT2Z_o0x92\u0026q=85\u0026s=5e8a7f6f7b7d15e3af99771027edba5d","dark":"https://mintcdn.com/wotnot/o37K8lyT2Z_o0x92/images/icon.svg?fit=max\u0026auto=format\u0026n=o37K8lyT2Z_o0x92\u0026q=85\u0026s=5e8a7f6f7b7d15e3af99771027edba5d"},"navbar":{"links":[{"href":"mailto:support@wotnot.io","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.wotnot.io"}},"footer":{"socials":{"x":"https://x.com/wotnot_io","linkedin":"https://www.linkedin.com/company/wotnot-io","youtube":"https://www.youtube.com/c/WotNot-io","website":"https://wotnot.io"}},"fonts":{"family":"Inter"},"integrations":{"posthog":{"apiKey":"phc_qpdLU97h6kaY5SAAvjZi9FeFyrnSX3twYoaFQQoptzdF","apiHost":"https://analytics.wotnot.io","sessionRecording":false}},"metadata":{"timestamp":true},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Changelog","icon":"book-open-cover","href":"https://product.wotnot.io/docs"},{"anchor":"Chatbot Tutorials","icon":"youtube","href":"https://www.youtube.com/playlist?list=PLGWj1ASfMDAE"},{"anchor":"Platform Tutorial","icon":"newspaper","href":"https://www.youtube.com/playlist?list=PLkWf3r2dTB-LeKqNZZgoJG_FTNYMUqnMw"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"wotnot","hasAudioNarration":false,"actualSubdomain":"wotnot","customDomains":["help.wotnot.io"],"gitSource":{"type":"github","owner":"hardikmakadia1001","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adf184f9fac823faefcf6a2","collectionId":"a89bcdcf-1604-45f3-ae29-2c077df27773","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adf184f9fac823faefcf6a2"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6aede8fe27d3b48d167b52a8","clientVersion":"0.0.4074","searchFilterCounts":[{"language":"default","tag":"Documentation","count":95},{"language":"default","tag":"Build","count":58},{"language":"default","tag":"Action blocks","count":36},{"language":"default","tag":"API Reference","count":25},{"language":"default","tag":"Whitelabel","count":22},{"language":"default","tag":"Integrations","count":20},{"language":"default","tag":"Deploy","count":15},{"language":"default","tag":"Setting Up","count":15},{"language":"default","tag":"Channels","count":14},{"language":"default","tag":"Account management","count":11}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","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":"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":"assistant-v5","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"build/blocks/condition","slug":"/build/blocks/condition","pageMetadata":{"title":"Condition","description":"Route your workflow based on variable values or logic.","href":"/build/blocks/condition"},"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: \"Route your workflow based on variable values or logic.\"\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`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Frame,Heading,OptimizedImage,Table,Warning}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/wotnot/U-7FfmJOCeYvTynD/images/Screenshot-2026-08-14-180859.png?fit=max\u0026auto=format\u0026n=U-7FfmJOCeYvTynD\u0026q=85\u0026s=ed3a1c256a6b4a7c1904a076ff46cf04`,alt:`Screenshot 2026 08 14 180859`,\"data-og-width\":`2047`,width:`2047`,\"data-og-height\":`1007`,height:`1007`,\"data-path\":`images/Screenshot-2026-08-14-180859.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/wotnot/U-7FfmJOCeYvTynD/images/Screenshot-2026-08-14-180859.png?w=280\u0026fit=max\u0026auto=format\u0026n=U-7FfmJOCeYvTynD\u0026q=85\u0026s=e1dd874de6bab90f0868a2bc2f5c08f8 280w, https://mintcdn.com/wotnot/U-7FfmJOCeYvTynD/images/Screenshot-2026-08-14-180859.png?w=560\u0026fit=max\u0026auto=format\u0026n=U-7FfmJOCeYvTynD\u0026q=85\u0026s=995c829d64dfe5ffd84c4bc0a6d0e829 560w, https://mintcdn.com/wotnot/U-7FfmJOCeYvTynD/images/Screenshot-2026-08-14-180859.png?w=840\u0026fit=max\u0026auto=format\u0026n=U-7FfmJOCeYvTynD\u0026q=85\u0026s=6398181963743da5599cd4f038e4c139 840w, https://mintcdn.com/wotnot/U-7FfmJOCeYvTynD/images/Screenshot-2026-08-14-180859.png?w=1100\u0026fit=max\u0026auto=format\u0026n=U-7FfmJOCeYvTynD\u0026q=85\u0026s=b5763428cc246b42afcd3d68e1bb3c6b 1100w, https://mintcdn.com/wotnot/U-7FfmJOCeYvTynD/images/Screenshot-2026-08-14-180859.png?w=1650\u0026fit=max\u0026auto=format\u0026n=U-7FfmJOCeYvTynD\u0026q=85\u0026s=7498cec2d5af6cf0a06f3282d76eefb1 1650w, https://mintcdn.com/wotnot/U-7FfmJOCeYvTynD/images/Screenshot-2026-08-14-180859.png?w=2500\u0026fit=max\u0026auto=format\u0026n=U-7FfmJOCeYvTynD\u0026q=85\u0026s=6b9e8b8eda478eb021a794071762a15c 2500w`})}),`\n`,_jsx(_components.p,{children:`The Condition block is used to compare a variable against a value and route the conversation across different paths.`}),`\n`,_jsx(_components.p,{children:`For chatbot flows requiring a logical condition to be evaluated to branch out to the next step in the flow, you can use the condition action block.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`If you want to move the flow to a specific block without checking a rule, use the `,_jsx(_components.a,{href:`/jump`,children:_jsx(_components.strong,{children:`Jump`})}),` block instead.`]})}),`\n`,_jsx(Heading,{level:`1`,id:`using-the-condition-block`,children:`Using the Condition Block`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Drag the `,_jsx(_components.strong,{children:`Condition`}),` block onto the canvas.`]}),`\n`,_jsx(_components.li,{children:`Connect it to the preceding block.`}),`\n`,_jsx(_components.li,{children:`Add one or more conditions.`}),`\n`,_jsx(_components.li,{children:`Configure the variable, operator, and comparison value for each condition.`}),`\n`,_jsx(_components.li,{children:`Connect each condition’s output path to the appropriate next block.`}),`\n`,_jsxs(_components.li,{children:[`Configure the `,_jsx(_components.strong,{children:`Else`}),` path for cases where none of the conditions match.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Each condition creates a separate output path on the canvas.`}),`\n`,_jsx(Heading,{level:`2`,id:`configurations`,children:`Configurations`}),`\n`,_jsx(Heading,{level:`3`,id:`condition-rule`,children:`Condition Rule`}),`\n`,_jsx(_components.p,{children:`You can create a set of conditions for each branch in the chatbot flow.`}),`\n`,_jsx(_components.p,{children:`Each condition is made up of:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Variable`}),` - which contains the value to be compared.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Operator`}),` - specifies the operation to be carried out.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Value`}),` - the value against which the variable’s value is to be compared.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`operators`,children:`Operators`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.strong,{children:`OPERATOR`})}),_jsx(_components.th,{children:_jsx(_components.strong,{children:`WHAT IT DOES`})}),_jsx(_components.th,{children:_jsx(_components.strong,{children:`VARIABLE TYPE`})}),_jsx(_components.th,{children:_jsx(_components.strong,{children:`EXAMPLE`})})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`equals`}),_jsx(_components.td,{children:`Checks whether the variable exactly matches the comparison value.`}),_jsx(_components.td,{children:`Text, Number`}),_jsx(_components.td,{children:`”City” ‘Equals To’ “New York”`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`not equals`}),_jsx(_components.td,{children:`Checks whether the variable does not match the comparison value.`}),_jsx(_components.td,{children:`Text, Number`}),_jsx(_components.td,{children:`”City” ‘Not Equals To’ “New York”`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`contains`}),_jsx(_components.td,{children:`Checks whether the variable contains the specified value.`}),_jsx(_components.td,{children:`Text`}),_jsx(_components.td,{children:`”URL” ‘Contains’ “Web”`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`does not contain`}),_jsx(_components.td,{children:`Checks whether the variable does not contain the specified value.`}),_jsx(_components.td,{children:`Text`}),_jsx(_components.td,{children:`”URL” ‘Does Not Contain’ “Web”`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`greater than`}),_jsx(_components.td,{children:`Checks whether the variable is greater than the comparison value.`}),_jsx(_components.td,{children:`Number`}),_jsx(_components.td,{children:`”Age” greater than “50”`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`less than`}),_jsx(_components.td,{children:`Checks whether the variable is less than the comparison value.`}),_jsx(_components.td,{children:`Number`}),_jsx(_components.td,{children:`”Age” less than “10”`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`greater than or equals to`}),_jsx(_components.td,{children:`Checks whether the variable is greater than or equal to the comparison value.`}),_jsx(_components.td,{children:`Number`}),_jsx(_components.td,{children:`”Age” greater than “25”`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`less than or equals to`}),_jsx(_components.td,{children:`Checks whether the variable is less than or equal to the comparison value.`}),_jsx(_components.td,{children:`Number`}),_jsx(_components.td,{children:`”Age” greater than “35”`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`is empty`}),_jsx(_components.td,{children:`To identify whether the variable is empty or not`}),_jsx(_components.td,{children:`Text, Number`}),_jsx(_components.td,{children:`”Phone” is ‘Empty’`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`in not empty`}),_jsx(_components.td,{children:`To ensure that variable is not empty`}),_jsx(_components.td,{children:`Text, Number`}),_jsx(_components.td,{children:`”Name” is ‘Not Empty’`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`grouping-conditions`,children:`Grouping Conditions`}),`\n`,_jsx(_components.p,{children:`You can add multiple conditions to the same Condition block.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`ANY`}),` if you want any one condition to be satisfied`]}),`\n`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/wotnot/9dFb9jDqAX6_tYFX/images/image-315.png?fit=max\u0026auto=format\u0026n=9dFb9jDqAX6_tYFX\u0026q=85\u0026s=74add5c8ae4d4845f547355bee59a605`,alt:`Image`,\"data-og-width\":`2047`,width:`2047`,\"data-og-height\":`998`,height:`998`,\"data-path\":`images/image-315.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/wotnot/9dFb9jDqAX6_tYFX/images/image-315.png?w=280\u0026fit=max\u0026auto=format\u0026n=9dFb9jDqAX6_tYFX\u0026q=85\u0026s=90f10dbe83b3e7390aaf856599d3ca46 280w, https://mintcdn.com/wotnot/9dFb9jDqAX6_tYFX/images/image-315.png?w=560\u0026fit=max\u0026auto=format\u0026n=9dFb9jDqAX6_tYFX\u0026q=85\u0026s=99e00e0d343c0f821d99a2c045423654 560w, https://mintcdn.com/wotnot/9dFb9jDqAX6_tYFX/images/image-315.png?w=840\u0026fit=max\u0026auto=format\u0026n=9dFb9jDqAX6_tYFX\u0026q=85\u0026s=d4cd982e21738f82c0b9560b04cc0dd9 840w, https://mintcdn.com/wotnot/9dFb9jDqAX6_tYFX/images/image-315.png?w=1100\u0026fit=max\u0026auto=format\u0026n=9dFb9jDqAX6_tYFX\u0026q=85\u0026s=39f18fe0e2ee80bf6ba54e3e03443c5e 1100w, https://mintcdn.com/wotnot/9dFb9jDqAX6_tYFX/images/image-315.png?w=1650\u0026fit=max\u0026auto=format\u0026n=9dFb9jDqAX6_tYFX\u0026q=85\u0026s=4bc56852aa4424a501bb029d78b71ace 1650w, https://mintcdn.com/wotnot/9dFb9jDqAX6_tYFX/images/image-315.png?w=2500\u0026fit=max\u0026auto=format\u0026n=9dFb9jDqAX6_tYFX\u0026q=85\u0026s=74af60eb14bdab1bb2ce2e2ce14aa615 2500w`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`ALL`}),` if you want all conditions to be satisfied.`]}),`\n`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/wotnot/9dFb9jDqAX6_tYFX/images/image-314.png?fit=max\u0026auto=format\u0026n=9dFb9jDqAX6_tYFX\u0026q=85\u0026s=d067278ab1a25583f0e7cb617804359b`,alt:`Image`,\"data-og-width\":`2047`,width:`2047`,\"data-og-height\":`1010`,height:`1010`,\"data-path\":`images/image-314.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/wotnot/9dFb9jDqAX6_tYFX/images/image-314.png?w=280\u0026fit=max\u0026auto=format\u0026n=9dFb9jDqAX6_tYFX\u0026q=85\u0026s=3417e21f12098d3e36a9b3629a9d2745 280w, https://mintcdn.com/wotnot/9dFb9jDqAX6_tYFX/images/image-314.png?w=560\u0026fit=max\u0026auto=format\u0026n=9dFb9jDqAX6_tYFX\u0026q=85\u0026s=b8813ed15fbebef2abca82fec7591f5f 560w, https://mintcdn.com/wotnot/9dFb9jDqAX6_tYFX/images/image-314.png?w=840\u0026fit=max\u0026auto=format\u0026n=9dFb9jDqAX6_tYFX\u0026q=85\u0026s=cfd72c9bf69c3e1b4f9e8c69d6009ac4 840w, https://mintcdn.com/wotnot/9dFb9jDqAX6_tYFX/images/image-314.png?w=1100\u0026fit=max\u0026auto=format\u0026n=9dFb9jDqAX6_tYFX\u0026q=85\u0026s=2774978fd89471c19e34896b0b30c8a5 1100w, https://mintcdn.com/wotnot/9dFb9jDqAX6_tYFX/images/image-314.png?w=1650\u0026fit=max\u0026auto=format\u0026n=9dFb9jDqAX6_tYFX\u0026q=85\u0026s=a0407086b6831afc35ce509ca9eb8e40 1650w, https://mintcdn.com/wotnot/9dFb9jDqAX6_tYFX/images/image-314.png?w=2500\u0026fit=max\u0026auto=format\u0026n=9dFb9jDqAX6_tYFX\u0026q=85\u0026s=38ff41ed11a949e283463aec8f5ff004 2500w`})}),`\n`,_jsx(Heading,{level:`3`,id:`default-condition`,children:`Default Condition`}),`\n`,_jsx(_components.p,{children:`If none of the conditions are satisfied, the chat flow will automatically proceed toward the ‘Default condition’ branch on the bot builder canvas.`}),`\n`,_jsx(_components.p,{children:`Use the ‘Default condition’ to handle users who do not meet any of your defined rules.`}),`\n`,_jsx(_components.p,{children:`This default branch cannot be deleted.`}),`\n`,_jsx(Heading,{level:`2`,id:`output-path`,children:`Output Path`}),`\n`,_jsx(_components.p,{children:`The Condition block creates:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`One output path for each condition`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`One ‘Default condition’`}),` `,_jsx(_components.strong,{children:`output path`})]}),`\n`]})]})}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":"Condition","description":"Route your workflow based on variable values or logic.","href":"/build/blocks/condition"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Using the Condition Block","slug":"using-the-condition-block","depth":1,"children":[]},{"title":"Configurations","slug":"configurations","depth":2,"children":[{"title":"Condition Rule","slug":"condition-rule","depth":3,"children":[]},{"title":"Operators","slug":"operators","depth":3,"children":[]},{"title":"Grouping Conditions","slug":"grouping-conditions","depth":3,"children":[]},{"title":"Default Condition","slug":"default-condition","depth":3,"children":[]}]},{"title":"Output Path","slug":"output-path","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"wotnot","siteName":"WotNot","title":"Condition - WotNot","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-22T05:29:14.672Z","gitLastModified":"2026-10-22T05:28:45.000Z","originalFileLocation":"build/blocks/condition.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=\"Route your workflow based on variable values or logic.\">\u003cmeta data-mint-head name=\"application-name\" content=\"WotNot\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/wotnot/8-BMyhs8AwEwoRlA/_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/wotnot/8-BMyhs8AwEwoRlA/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/wotnot/8-BMyhs8AwEwoRlA/_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/wotnot/8-BMyhs8AwEwoRlA/_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/wotnot/8-BMyhs8AwEwoRlA/_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/wotnot/8-BMyhs8AwEwoRlA/_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/wotnot/8-BMyhs8AwEwoRlA/_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/wotnot/8-BMyhs8AwEwoRlA/_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/wotnot/8-BMyhs8AwEwoRlA/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Condition - WotNot\">\u003cmeta data-mint-head property=\"og:description\" content=\"Route your workflow based on variable values or logic.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"WotNot\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://help.wotnot.io/build/blocks/condition\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://wotnot.mintlify.site/_mintlify/api/og/v2?division=Action+blocks\u0026amp;title=Condition\u0026amp;description=Route+your+workflow+based+on+variable+values+or+logic.\u0026amp;theme=d9717b5e43a8114c1f6e4db6\u0026amp;signature=72826cff67795ea8f04c27c2d44eb3eeebbbca67f43624099d894afe98148cc1\">\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=\"Condition - WotNot\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Route your workflow based on variable values or logic.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://wotnot.mintlify.site/_mintlify/api/og/v2?division=Action+blocks\u0026amp;title=Condition\u0026amp;description=Route+your+workflow+based+on+variable+values+or+logic.\u0026amp;theme=d9717b5e43a8114c1f6e4db6\u0026amp;signature=72826cff67795ea8f04c27c2d44eb3eeebbbca67f43624099d894afe98148cc1\">\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/wotnot/8-BMyhs8AwEwoRlA/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"WotNot\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#141414\">\u003clink data-mint-head rel=\"canonical\" href=\"https://help.wotnot.io/build/blocks/condition\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/build/blocks/condition.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://help.wotnot.io/#organization\",\"name\":\"WotNot\",\"url\":\"https://help.wotnot.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/wotnot/o37K8lyT2Z_o0x92/images/fullblack.svg?fit=max\u0026auto=format\u0026n=o37K8lyT2Z_o0x92\u0026q=85\u0026s=4dfa08701dcc20afca4595cbfb547804\"}},{\"@type\":\"WebSite\",\"@id\":\"https://help.wotnot.io#website\",\"name\":\"WotNot\",\"url\":\"https://help.wotnot.io\",\"publisher\":{\"@id\":\"https://help.wotnot.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://help.wotnot.io/build/blocks/condition#webpage\",\"url\":\"https://help.wotnot.io/build/blocks/condition\",\"name\":\"Condition\",\"description\":\"Route your workflow based on variable values or logic.\",\"dateModified\":\"2026-10-22T05:28:45.000Z\",\"isPartOf\":{\"@id\":\"https://help.wotnot.io#website\"},\"breadcrumb\":{\"@id\":\"https://help.wotnot.io/build/blocks/condition#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://help.wotnot.io/build/blocks/condition#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Build\",\"item\":\"https://help.wotnot.io/build/bot-builder\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Action blocks\",\"item\":\"https://help.wotnot.io/build/blocks/trigger\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Condition\",\"item\":\"https://help.wotnot.io/build/blocks/condition\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://help.wotnot.io/build/blocks/condition#article\",\"headline\":\"Condition\",\"name\":\"Condition\",\"description\":\"Route your workflow based on variable values or logic.\",\"url\":\"https://help.wotnot.io/build/blocks/condition\",\"mainEntityOfPage\":{\"@id\":\"https://help.wotnot.io/build/blocks/condition#webpage\"},\"dateModified\":\"2026-10-22T05:28:45.000Z\",\"publisher\":{\"@id\":\"https://help.wotnot.io/#organization\"},\"isPartOf\":{\"@id\":\"https://help.wotnot.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"WotNot\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"WotNot","nav":{"global":{"anchors":[{"anchor":"Changelog","icon":"book-open-cover","href":"https://product.wotnot.io/docs"},{"anchor":"Chatbot Tutorials","icon":"youtube","href":"https://www.youtube.com/playlist?list=PLGWj1ASfMDAE"},{"anchor":"Platform Tutorial","icon":"newspaper","href":"https://www.youtube.com/playlist?list=PLkWf3r2dTB-LeKqNZZgoJG_FTNYMUqnMw"}]},"tabs":[{"tab":"Documentation","groups":[{"group":"Getting started","pages":[{"title":"Welcome to WotNot","href":"/getting-started/welcome"},{"title":"Building your first chatbot","href":"/getting-started/building-chatbot"},{"title":"Build your first AI Agent","href":"/getting-started/building-ai-agent"}]},{"group":"Build","pages":[{"title":"Bot Builder","href":"/build/bot-builder"},{"group":"Action blocks","pages":[{"title":"Trigger","href":"/build/blocks/trigger"},{"title":"Send Message","href":"/build/blocks/send-message"},{"title":"Image gallery","href":"/build/blocks/image-gallery"},{"title":"Collect Input","href":"/build/blocks/collect-input"},{"title":"Collect File","href":"/build/blocks/collect-file"},{"title":"Collect Location","href":"/build/blocks/collect-location"},{"title":"WhatsApp Flow","href":"/build/blocks/whatsapp-flow"},{"title":"Reply Buttons","href":"/build/blocks/reply-buttons"},{"title":"Catalogue","href":"/build/blocks/catalogue"},{"title":"Buttons","href":"/build/blocks/buttons"},{"title":"Options","href":"/build/blocks/options"},{"title":"Form","href":"/build/blocks/form"},{"title":"List","href":"/build/blocks/list"},{"title":"Carousel","href":"/build/blocks/carousel"},{"title":"Carousel","href":"/build/blocks/carousel"},{"title":"Slider","href":"/build/blocks/slider"},{"title":"Calendar","description":"Collects the date from the user.","href":"/build/blocks/calendar"},{"title":"Condition","href":"/build/blocks/condition"},{"title":"Jump","description":"Routes the conversation flow to a specific action block.","href":"/build/blocks/jump"},{"title":"Delay","href":"/build/blocks/delay"},{"title":"Javascript","href":"/build/blocks/javascript"},{"title":"Webhook","href":"/build/blocks/webhook"},{"title":"Talk to human","href":"/build/blocks/talk-to-human"},{"title":"Send an email","href":"/build/blocks/send-an-email"},{"title":"AI Agent","href":"/build/blocks/ai-agent"},{"title":"Answer AI","href":"/build/blocks/answer-ai"},{"title":"Answer AI","href":"/build/blocks/answer-ai"},{"title":"Set AI","href":"/build/blocks/set-ai"},{"title":"Set Variable","href":"/build/blocks/set-variable"},{"title":"Flow","href":"/build/blocks/flow"},{"title":"Dynamic data ","href":"/build/blocks/dynamic-data"},{"title":"Codeblock","href":"/build/blocks/codeblock"},{"title":"Send SMS","href":"/build/blocks/send-sms"},{"title":"Send MMS","href":"/build/blocks/send-mms"},{"title":"Send Email","href":"/build/blocks/send-email"},{"title":"Send WhatsApp","href":"/build/blocks/send-whatsapp"},{"title":"Send Status","href":"/build/blocks/send-status"},{"title":"Send Template","href":"/build/blocks/send-template"}]},{"title":"Knowledge base","href":"/build/knowledge-base"},{"title":"Prompts","href":"/build/prompts"},{"title":"Functions","href":"/build/functions"},{"group":"Campaigns","pages":[{"title":"Outbound Campaign - One off","href":"/campaigns/one-off"},{"title":"Outbound Campaign - Ongoing","href":"/campaigns/ongoing"}]},{"group":"Data","pages":[{"title":"Variables","href":"/data/variables"},{"title":"Contacts","href":"/data/contacts"}]},{"group":"Integrations","pages":[{"title":"HTTP request/API","href":"/build/integrations/http-request-api"},{"title":"Zapier","href":"/build/integrations/zapier"},{"title":"Salesforce","href":"/build/integrations/salesforce"},{"title":"HubSpot ","href":"/build/integrations/hubspot"},{"title":"Zoho CRM","href":"/build/integrations/zoho-crm"},{"title":"Airtable","href":"/build/integrations/airtable"},{"title":"Slack","href":"/build/integrations/slack"},{"title":"Outlook Calendar","href":"/build/integrations/outlook-calendar"},{"title":"Google Calendar","href":"/build/integrations/google-calendar"},{"title":"Google Sheets","href":"/build/integrations/google-sheets"},{"title":"Google Analytics","href":"/build/integrations/google-analytics"},{"title":"Calendly","href":"/build/integrations/calendly"},{"title":"Zendesk","href":"/build/integrations/zendesk"},{"title":"Freshdesk","href":"/build/integrations/freshdesk"}]}]},{"group":"Operate","pages":[{"title":"Operate","href":"/operate"},{"group":"Live Chat","pages":[{"title":"Live Chat","href":"/operate/live-chat/overview"},{"title":"Creating Views","href":"/operate/live-chat/creating-view"},{"title":"Adding Labels","href":"/operate/live-chat/adding-labels"},{"title":"Saved Replies","href":"/operate/live-chat/saved-replies"},{"title":"Voice Transcripts","href":"/operate/live-chat/voice-transcripts"},{"title":"Chat assignment log ","href":"/operate/live-chat/chat-assignment-log"},{"title":"Live Chat Settings","href":"/operate/live-chat/settings"}]},{"title":"Custom Answers","href":"/operate/custom-answers"},{"title":"Automations","href":"/operate/automations"}]},{"group":"Deploy","pages":[{"title":"Testing","href":"/deploy/testing"},{"group":"Channels","pages":[{"title":"Channels","href":"/deploy/channels"},{"title":"Web","href":"/deploy/channels/web"},{"group":"WhatsApp","pages":[{"title":"WhatsApp","href":"/deploy/channels/whatsapp"},{"title":"WhatsApp Template","href":"/deploy/channels/whatsapp/templates"},{"title":"Messaging Limits and Quality Rating \u0026 cost","href":"/deploy/channels/whatsapp/messaging-quality-rating-cost"},{"title":"Green Tick (Official Business Account)","href":"/deploy/channels/whatsapp/green-tick"}]},{"title":"Instagram","href":"/deploy/channels/instagram"},{"title":"Facebook Messenger","href":"/deploy/channels/facebook"},{"title":"Email","href":"/deploy/channels/email"},{"title":"Mobile App","href":"/deploy/channels/mobile-app"},{"title":"Voice","href":"/deploy/channels/voice"},{"title":"SMS","href":"/deploy/channels/sms"},{"title":"API","href":"/deploy/channels/api"},{"title":"Chat Widget","href":"/deploy/channels/chat-widget"}]}]},{"group":"Reports","pages":[{"title":"Reports overview","href":"/reports/overview"},{"title":"Chatbot Report","href":"/reports/chatbot"},{"title":"AI Report","href":"/reports/ai-report"},{"title":"Human Agent Report","href":"/reports/human-agent"},{"title":"Ticketing Report","href":"/reports/ticketing"},{"title":"Outbound Report","href":"/reports/campaigns"},{"title":"Link Analytics","href":"/reports/link-analytics"}]},{"group":"Account","pages":[{"title":"Billing","href":"/account/billing"},{"title":"User Management","href":"/account/user-management"},{"title":"Account Settings","href":"/account/settings"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/overview"}]},{"tab":"Whitelabel","pages":[{"title":"Whitelabel","href":"/whitelabel/setting-up/help-center"}]},{"tab":"Help \u0026 Support","pages":[{"title":"Help \u0026 Support","href":"/creating-a-ticket"}]}]},"basePath":"","title":"Condition - WotNot","buildId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","deploymentId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-CK6QbnxT.js","DynamicMarkdown-BKiHAm_d.js","zoom-image-lightbox-CLQdF-Ar.js","lightbox-handle-r17bVUz3.js"]}