{"id":1443,"date":"2026-03-19T09:45:23","date_gmt":"2026-03-19T09:45:23","guid":{"rendered":"https:\/\/onesystemcrm.com\/help\/?post_type=docs&#038;p=1443"},"modified":"2026-03-19T09:45:23","modified_gmt":"2026-03-19T09:45:23","password":"","slug":"workflow-action-if-else","status":"publish","type":"docs","link":"https:\/\/onesystemcrm.com\/help\/docs\/workflow-action-if-else\/","title":{"rendered":"Workflow Action &#8211; If\/Else"},"content":{"rendered":"<p>The\u00a0<span class=\"s3\"><strong>If\/Else<\/strong><\/span>\u00a0workflow action allows you to route contacts through different paths based on defined conditions. With the latest enhancement, you can now use\u00a0<span class=\"s3\"><strong>Dynamic Custom Values<\/strong><\/span>\u00a0in If\/Else conditions to compare live values from earlier workflow steps or stored fields\u2014eliminating the need to hard-type values and reducing duplicate logic.<\/p>\n<h2 id=\"What-Is-the-If\/Else-Workflow-Action?\"><strong>What Is the If\/Else Workflow Action?<\/strong><\/h2>\n<p class=\"p4\">The If\/Else action evaluates contact-specific data and splits a workflow into multiple branches based on whether conditions are met. Each branch represents a logical path that a contact follows depending on the outcome of the condition check.<\/p>\n<p class=\"p4\">This makes it possible to create personalized, data-driven workflows that adapt dynamically to a contact\u2019s behavior, attributes, or calculated values.<\/p>\n<hr \/>\n<h2 id=\"Key-Benefits-of-the-If\/Else-Action\u200b\"><strong>Key Benefits of the If\/Else Action<\/strong><\/h2>\n<ul>\n<li>\n<p class=\"p1\"><span class=\"s1\"><strong>Conditional Logic:<\/strong><\/span> Route contacts down different paths based on real-time data<\/p>\n<\/li>\n<li>\n<p class=\"p1\"><span class=\"s1\"><strong>Automation Efficiency:<\/strong><\/span> Reduce manual sorting and duplicate workflow steps<\/p>\n<\/li>\n<li>\n<p class=\"p1\"><span class=\"s1\"><strong>Scalable Segmentation:<\/strong><\/span> Handle complex branching logic as workflows grow<\/p>\n<\/li>\n<li>\n<p class=\"p1\"><span class=\"s1\"><strong>Visual Clarity:<\/strong><\/span>\u00a0Clearly see and manage decision points in the workflow builder<\/p>\n<\/li>\n<\/ul>\n<hr \/>\n<h2 id=\"How-to-Use-the-If\/Else-Action\"><strong>How to Use the If\/Else Action<\/strong><\/h2>\n<h3 id=\"Step-1:\u00a0Add-the-If\/Else-Action\u200b\"><strong>Step 1:\u00a0<\/strong><u>Add the If\/Else Action<\/u><\/h3>\n<ol start=\"1\">\n<li>\n<p class=\"p1\">Open your workflow.<\/p>\n<\/li>\n<li>\n<p class=\"p1\">Click the\u00a0<span class=\"s1\"><strong>+<\/strong><\/span> icon to add a new action.<\/p>\n<\/li>\n<li>\n<p class=\"p1\">Select <span class=\"s1\"><strong>If \/ Else<\/strong><\/span> from the action list.<\/p>\n<\/li>\n<\/ol>\n<p class=\"p3\"><img decoding=\"async\" class=\"fr-fil fr-dib fr-bordered fw-lightbox-img\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/155064138111\/original\/QHWzWp0cVu8mQcNsqQ1TRvlxEjAvSdSZVA.png?1770186397\" data-attachment=\"[object Object]\" data-id=\"155064138111\" data-index=\"0\" \/><\/p>\n<h3 id=\"Step-2:\u00a0Choose-a-Logic-Setup-Method\u200b\">\n<strong>Step 2:\u00a0<\/strong><u dir=\"ltr\">Choose a Logic Setup Method<\/u><\/h3>\n<p class=\"p4\">You can either:<\/p>\n<ul>\n<li>\n<p class=\"p1\">Build logic manually using\u00a0<span class=\"s1\"><strong>Build My Own<\/strong><\/span>, or<\/p>\n<\/li>\n<li>\n<p class=\"p1\">Start from a prebuilt recipe with common conditions.<\/p>\n<\/li>\n<\/ul>\n<h3 id=\"Step-3:\u00a0Configure-the-First-Branch\u200b\"><strong>Step 3:\u00a0<\/strong><u>Configure the First Branch<\/u><\/h3>\n<ol start=\"1\">\n<li>\n<p class=\"p1\">Select the field you want to evaluate.<\/p>\n<\/li>\n<li>\n<p class=\"p1\">Choose the appropriate operator.<\/p>\n<\/li>\n<li>\n<p class=\"p1\">Set the comparison value.<\/p>\n<\/li>\n<li>\n<p class=\"p1\" dir=\"ltr\">Click\u00a0<span class=\"s1\"><strong>Add Segment<\/strong><\/span> to add additional conditions.<\/p>\n<\/li>\n<li>\n<p class=\"p1\" dir=\"ltr\">Use\u00a0<span class=\"s1\"><strong>AND \/ OR<\/strong><\/span>\u00a0to control how conditions are grouped.<\/p>\n<\/li>\n<\/ol>\n<p class=\"p4\"><span class=\"s3\"><strong dir=\"ltr\"><img decoding=\"async\" class=\"fr-fic fr-fil fr-dib fr-bordered fw-lightbox-img\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/155064138158\/original\/uBsuEu4NYpnkmlNxnWjDMlDv-IJU3EEDwg.png?1770186485\" data-attachment=\"[object Object]\" data-id=\"155064138158\" data-index=\"1\" \/><\/strong><\/span><\/p>\n<h3 id=\"Step-4:\u00a0Add-Additional-Branches-(Optional)\">\n<strong>Step 4:\u00a0<\/strong><u>Add Additional Branches (Optional)<\/u><\/h3>\n<ul>\n<li>\n<p class=\"p1\">Click\u00a0<span class=\"s1\"><strong>Add Branch<\/strong><\/span> to define more condition groups.<\/p>\n<\/li>\n<li>\n<p class=\"p1\" dir=\"ltr\">Each branch represents a separate path in the workflow.<\/p>\n<\/li>\n<\/ul>\n<p class=\"p4\"><span class=\"s3\"><strong dir=\"ltr\"><img decoding=\"async\" class=\"fr-fic fr-fil fr-dib fr-bordered fw-lightbox-img\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/155064138205\/original\/VkxzPJfxHTDdkMNNRo9GLZ8bEIE7fBW4-g.png?1770186527\" data-attachment=\"[object Object]\" data-id=\"155064138205\" data-index=\"2\" \/><\/strong><\/span><\/p>\n<h3 id=\"Step-5:\u00a0Configure-the-\u201cNone\u201d-(Else)-Branch\u200b\">\n<strong>Step 5:\u00a0<\/strong><u>Configure the \u201cNone\u201d (Else) Branch<\/u><\/h3>\n<ul>\n<li>\n<p class=\"p1\">The\u00a0<span class=\"s1\"><strong>None<\/strong><\/span>\u00a0branch is created automatically.<\/p>\n<\/li>\n<li>\n<p class=\"p1\">It runs when no defined conditions are met.<\/p>\n<\/li>\n<li>\n<p class=\"p1\">This branch does not support conditions and cannot be removed.<\/p>\n<\/li>\n<li>\n<p class=\"p1\">You can rename it and add fallback actions.<\/p>\n<\/li>\n<\/ul>\n<p class=\"p4\"><span class=\"s3\"><strong dir=\"ltr\"><img decoding=\"async\" class=\"fr-fic fr-fil fr-dib fr-bordered fw-lightbox-img\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/155064138232\/original\/npnbPACEOdDdptOOZHUT5SqhUnQ1wOtwXw.png?1770186570\" data-attachment=\"[object Object]\" data-id=\"155064138232\" data-index=\"3\" \/><\/strong><\/span><\/p>\n<hr \/>\n<h2 id=\"Using-Dynamic-Values-in-If\/Else-Conditions\u00a0\u200b\"><strong dir=\"ltr\">Using Dynamic Values in If\/Else Conditions<span class=\"Apple-converted-space\">\u00a0<\/span><\/strong><\/h2>\n<p class=\"p4\">You can now use\u00a0<span class=\"s3\"><strong>Dynamic Values<\/strong><\/span>\u00a0on the right-hand side of If\/Else conditions. This allows you to compare live values\u2014such as outputs from earlier workflow steps or stored fields\u2014without hard-coding numbers or text.<\/p>\n<p class=\"p4\">This enhancement lets you branch directly on values that were calculated or captured upstream.<\/p>\n<hr \/>\n<h2 id=\"Supported-Field-Types\"><strong>Supported Field Types<\/strong><\/h2>\n<p class=\"p4\">Dynamic Values are supported for the following condition types in If\/Else actions:<\/p>\n<ul>\n<li>\n<p class=\"p1\"><span class=\"s1\"><strong>Numeric<\/strong><\/span> \u2013 scores, counts, totals<\/p>\n<\/li>\n<li>\n<p class=\"p1\"><span class=\"s1\"><strong>Date<\/strong><\/span> \u2013 appointment dates, renewal dates<\/p>\n<\/li>\n<li>\n<p class=\"p1\"><span class=\"s1\"><strong>Select \/ Dropdown<\/strong><\/span>\u00a0<em>(advanced \u2013 requires option IDs)<\/em><\/p>\n<\/li>\n<li>\n<p class=\"p1\"><span class=\"s1\"><strong>Monetary<\/strong><\/span>\u00a0\u2013 invoice totals or amounts<\/p>\n<\/li>\n<\/ul>\n<hr \/>\n<h2 id=\"How-to-Use-Dynamic-Values\u200b\"><strong>How to Use Dynamic Values<\/strong><\/h2>\n<ol start=\"1\">\n<li>\n<p class=\"p1\">Add an\u00a0<span class=\"s1\"><strong>If\/Else<\/strong><\/span> action to your workflow.<\/p>\n<\/li>\n<li>\n<p class=\"p1\">Configure the left-hand field as usual.<\/p>\n<\/li>\n<li>\n<p class=\"p1\">In the right-hand input, switch the value type to\u00a0<span class=\"s1\"><strong>Dynamic Value<\/strong><\/span>.<\/p>\n<\/li>\n<li>\n<p class=\"p1\">Select a value from:<\/p>\n<ul>\n<li>\n<p class=\"p1\">An earlier workflow step output, or<\/p>\n<\/li>\n<li>\n<p class=\"p1\">A stored field.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p class=\"p1\">Choose the appropriate operator (number, date, or value).<\/p>\n<\/li>\n<li>\n<p class=\"p1\">Save and publish the workflow.<\/p>\n<\/li>\n<\/ol>\n<h3 id=\"Important-Note-for-Select-\/-Dropdown-Fields\"><strong>Important Note for Select \/ Dropdown Fields<\/strong><\/h3>\n<blockquote><p><span class=\"s3\"><strong>Select \/ Dropdown fields require option IDs<\/strong><\/span>, not display names, when used with Dynamic Values in If\/Else conditions.<br \/>\nIn many cases, these IDs can be found in settings (for example, Pipeline IDs or Stage IDs).<\/p><\/blockquote>\n<hr \/>\n<h2 id=\"Example-Use-Case\"><strong>Example Use Case<\/strong><\/h2>\n<p class=\"p4\">When a proposal value is captured earlier in the workflow, you can compare that value dynamically.<\/p>\n<p class=\"p4\" dir=\"ltr\">If the amount is\u00a0<span class=\"s3\"><strong>$25,000 or more<\/strong><\/span>, route the contact to a priority path; otherwise, continue with the standard process.<\/p>\n<p class=\"p4\"><span class=\"s3\"><strong dir=\"ltr\"><img decoding=\"async\" class=\"fr-fic fr-fil fr-dib fr-bordered fw-lightbox-img\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/155064138289\/original\/62n-GtQVJ-ot77skqfvb9KV8KVkYWqodmQ.png?1770186683\" data-attachment=\"[object Object]\" data-id=\"155064138289\" data-index=\"4\" \/><\/strong><\/span><\/p>\n<hr \/>\n<h2 id=\"Action-Details\"><strong>Action Details<\/strong><\/h2>\n<table>\n<thead>\n<tr>\n<th>\n<p class=\"p1\"><strong>Field<\/strong><\/p>\n<\/th>\n<th>\n<p class=\"p1\"><strong>Description<\/strong><\/p>\n<\/th>\n<th>\n<p class=\"p1\"><strong>Required<\/strong><\/p>\n<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\n<p class=\"p1\">Action Name<\/p>\n<\/td>\n<td>\n<p class=\"p1\">Label used to identify the action in the workflow<\/p>\n<\/td>\n<td>\n<p class=\"p1\">Yes<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p class=\"p1\">Condition<\/p>\n<\/td>\n<td>\n<p class=\"p1\">The rule evaluated to determine the branch<\/p>\n<\/td>\n<td>\n<p class=\"p1\">Yes<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p class=\"p1\">Branches<\/p>\n<\/td>\n<td>\n<p class=\"p1\">Workflow paths created by the If\/Else action<\/p>\n<\/td>\n<td>\n<p class=\"p1\">Yes<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p class=\"p1\">Segments<\/p>\n<\/td>\n<td>\n<p class=\"p1\">Groups of conditions combined using AND \/ OR logic<\/p>\n<\/td>\n<td>\n<p class=\"p1\">No<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h2 id=\"Example:-Follow-Up-Based-on-Email-Engagement\"><strong dir=\"ltr\">Example: Follow-Up Based on Email Engagement<\/strong><\/h2>\n<p class=\"p3\"><strong>Scenario:<\/strong><\/p>\n<p class=\"p4\">You want to follow up differently based on whether a contact opened an email.<\/p>\n<p class=\"p3\"><strong>Workflow Logic:<\/strong><\/p>\n<ul>\n<li>\n<p class=\"p1\" dir=\"ltr\">Trigger: Promotional email sent<\/p>\n<\/li>\n<li>\n<p class=\"p1\">If\/Else Condition: Email Event \u2192 Is Opened<\/p>\n<\/li>\n<li>\n<p class=\"p1\">Yes Branch: Send thank-you email with an offer<\/p>\n<\/li>\n<li>\n<p class=\"p1\">No Branch: Resend the email with a different subject line<\/p>\n<\/li>\n<\/ul>\n<p class=\"p4\">This ensures follow-ups are relevant to each contact\u2019s engagement.<\/p>\n<hr \/>\n<h2 id=\"Frequently-Asked-Questions\"><strong>Frequently Asked Questions<\/strong><\/h2>\n<p class=\"p3\"><strong>Q: How can I control when the If\/Else condition is evaluated?<\/strong><\/p>\n<p class=\"p4\">Insert a\u00a0<span class=\"s2\"><strong>Wait<\/strong><\/span>\u00a0action before the If\/Else step. You can wait for an event or a timeout (for example, \u201cWait until email is opened OR 1 day passes\u201d) before evaluating the condition.<\/p>\n<p class=\"p3\"><strong>Q: Can I edit a branch after it\u2019s created?<\/strong><\/p>\n<p class=\"p4\">Yes. You can update fields, operators, and values before or after publishing the workflow.<\/p>\n<p class=\"p3\"><strong>Q: Is the None branch required?<\/strong><\/p>\n<p class=\"p4\">Yes. It is created automatically and cannot be removed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The\u00a0If\/Else\u00a0workflow action allows you to route contacts through different paths based on defined conditions. With the latest enhancement, you can [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"doc_category":[68],"doc_tag":[],"class_list":["post-1443","docs","type-docs","status-publish","hentry","doc_category-internal-tools-workflow-actions"],"year_month":"2026-12","word_count":741,"total_views":"118","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"usamasaeed219","author_nicename":"usamasaeed219","author_url":"https:\/\/onesystemcrm.com\/help\/author\/usamasaeed219\/"},"doc_category_info":[{"term_name":"Internal Tools Workflow Actions","term_url":"https:\/\/onesystemcrm.com\/help\/docs-category\/internal-tools-workflow-actions\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/docs\/1443","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/comments?post=1443"}],"version-history":[{"count":1,"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/docs\/1443\/revisions"}],"predecessor-version":[{"id":1444,"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/docs\/1443\/revisions\/1444"}],"wp:attachment":[{"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/media?parent=1443"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/doc_category?post=1443"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/doc_tag?post=1443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}