{"id":271402,"date":"2025-07-17T12:08:40","date_gmt":"2025-07-17T12:08:40","guid":{"rendered":"https:\/\/www.revechat.com\/?post_type=help-center&#038;p=271402"},"modified":"2026-04-29T07:01:54","modified_gmt":"2026-04-29T07:01:54","slug":"condition-action","status":"publish","type":"help-center","link":"https:\/\/www.revechat.com\/help-center\/condition-action\/","title":{"rendered":"Condition Action"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>The condition action in REVE chatbot will allow users to perform various logical actions and direct their customers to a more personalized bot flow.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is chatbot condition?<\/h2>\n\n\n\n<p>In simple words, it&#8217;s like a tool that helps your chatbot think logically. It works by giving your chatbot a rule to follow: IF something specific happens (condition), THEN it should take one action (consequence) OR another action (alternative).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why is it important?<\/h2>\n\n\n\n<p>IF Conditions are important to make a dynamic chatbot. They&#8217;re used to tailor interactions based on user choices and the data collected in variables from their responses. IF Conditions bring logic to your chatbot, ensuring it makes informed decisions. Here are a few practical examples:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Personalizing greetings based on the time of day or the user&#8217;s location.<\/li>\n\n\n\n<li>Guiding users down different paths depending on various system and custom attributes.<\/li>\n<\/ul>\n\n\n\n<p>In essence, IF Conditions make your chatbot smarter and more user-centric.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to use the condition action?<\/h2>\n\n\n\n<p>You can add condition based on your required bot flow by clicking on the condition action button(green Box) under workflow actions in the actions menu.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-dominant-color=\"e4e8e7\" data-has-transparency=\"true\" style=\"--dominant-color: #e4e8e7;\" decoding=\"async\" width=\"268\" height=\"202\" src=\"https:\/\/www.revechat.com\/wp-content\/uploads\/2025\/07\/Condition-Action_chatbot.png\" alt=\"\" class=\"has-transparency wp-image-271403\"\/><\/figure><\/div>\n\n\n<p>After clicking the condition button, a new action will be added to the node. You can add the condition action according to your preference and bot flow.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-dominant-color=\"eeedee\" data-has-transparency=\"true\" style=\"--dominant-color: #eeedee;\" decoding=\"async\" width=\"394\" height=\"273\" src=\"https:\/\/www.revechat.com\/wp-content\/uploads\/2025\/07\/Condition-Action_chatbot2.png\" alt=\"\" class=\"has-transparency wp-image-271404\" srcset=\"https:\/\/www.revechat.com\/wp-content\/uploads\/2025\/07\/Condition-Action_chatbot2.png 394w, https:\/\/www.revechat.com\/wp-content\/uploads\/2025\/07\/Condition-Action_chatbot2-300x208.png 300w\" sizes=\"(max-width: 394px) 100vw, 394px\" \/><\/figure><\/div>\n\n\n<p>When user clicks the <strong><em>condition1<\/em><\/strong>, the details panel slides in from the right. Here users set the condition rules. Users have to select an attribute whose value he wants check (marked in green). Depending on the attribute and it&#8217;s value, users have to choose the logic (marked yellow). Lastly users have to provide a value that will be used to check with the attribute (marked in purple).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-dominant-color=\"a8aaad\" data-has-transparency=\"true\" style=\"--dominant-color: #a8aaad;\" decoding=\"async\" width=\"1024\" height=\"520\" src=\"https:\/\/www.revechat.com\/wp-content\/uploads\/2025\/07\/Condition-Action_chatbot3-1024x520.png\" alt=\"\" class=\"has-transparency wp-image-271405\" srcset=\"https:\/\/www.revechat.com\/wp-content\/uploads\/2025\/07\/Condition-Action_chatbot3-1024x520.png 1024w, https:\/\/www.revechat.com\/wp-content\/uploads\/2025\/07\/Condition-Action_chatbot3-300x152.png 300w, https:\/\/www.revechat.com\/wp-content\/uploads\/2025\/07\/Condition-Action_chatbot3-768x390.png 768w, https:\/\/www.revechat.com\/wp-content\/uploads\/2025\/07\/Condition-Action_chatbot3.png 1402w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>If requires users can add multiple rules by clicking the <strong><em>(+) plus<\/em><\/strong> icon (marked in yellow). Even they can add multiple condition blocks by clicking the <em><strong>+Add<\/strong><\/em> button (marked in green).<\/p>\n\n\n\n<p>These rules or condition blocks are connected with <em><strong>add\/ or<\/strong><\/em> logic<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-dominant-color=\"f6f9f3\" data-has-transparency=\"false\" style=\"--dominant-color: #f6f9f3;\" decoding=\"async\" width=\"475\" height=\"481\" src=\"https:\/\/www.revechat.com\/wp-content\/uploads\/2025\/07\/Condition-Action_chatbot4.png\" alt=\"\" class=\"not-transparent wp-image-271406\" srcset=\"https:\/\/www.revechat.com\/wp-content\/uploads\/2025\/07\/Condition-Action_chatbot4.png 475w, https:\/\/www.revechat.com\/wp-content\/uploads\/2025\/07\/Condition-Action_chatbot4-296x300.png 296w\" sizes=\"(max-width: 475px) 100vw, 475px\" \/><\/figure><\/div>\n\n\n<p>User can add multiple conditions in each condition action. When the node is triggered, the 1st condition (all the rules &amp; condition blocks inside) is checked. If all the rules are fulfilled, the node connected with the <strong><em>if success <\/em><\/strong>connector will be triggered. Otherwise the next condition will be checked &amp; the node connected with the <strong><em>Else if<\/em><\/strong> connector will be triggered.<\/p>\n\n\n\n<p>If none of the conditions are fulfilled, the node connected with the <strong><em>Else <\/em><\/strong>connector will be triggered.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-dominant-color=\"f1f2f2\" data-has-transparency=\"true\" style=\"--dominant-color: #f1f2f2;\" decoding=\"async\" width=\"388\" height=\"364\" src=\"https:\/\/www.revechat.com\/wp-content\/uploads\/2025\/07\/Condition-Action_chatbot5.png\" alt=\"\" class=\"has-transparency wp-image-271408\" srcset=\"https:\/\/www.revechat.com\/wp-content\/uploads\/2025\/07\/Condition-Action_chatbot5.png 388w, https:\/\/www.revechat.com\/wp-content\/uploads\/2025\/07\/Condition-Action_chatbot5-300x281.png 300w\" sizes=\"(max-width: 388px) 100vw, 388px\" \/><\/figure><\/div>","protected":false},"excerpt":{"rendered":"<p>The condition action in REVE chatbot will allow users to perform various logical actions and direct their customers to a more personalized bot flow. What is chatbot condition? In simple words, it&#8217;s like a tool that helps your chatbot think logically. It works by giving your chatbot a rule to follow: IF something specific happens [&hellip;]<\/p>\n","protected":false},"author":36,"featured_media":0,"menu_order":62,"template":"","meta":{"_acf_changed":false,"footnotes":""},"help_center_type":[1827],"class_list":["post-271402","help-center","type-help-center","status-publish","hentry","help_center_type-workflow-action"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.revechat.com\/wp-json\/wp\/v2\/help-center\/271402","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.revechat.com\/wp-json\/wp\/v2\/help-center"}],"about":[{"href":"https:\/\/www.revechat.com\/wp-json\/wp\/v2\/types\/help-center"}],"author":[{"embeddable":true,"href":"https:\/\/www.revechat.com\/wp-json\/wp\/v2\/users\/36"}],"version-history":[{"count":2,"href":"https:\/\/www.revechat.com\/wp-json\/wp\/v2\/help-center\/271402\/revisions"}],"predecessor-version":[{"id":302955,"href":"https:\/\/www.revechat.com\/wp-json\/wp\/v2\/help-center\/271402\/revisions\/302955"}],"wp:attachment":[{"href":"https:\/\/www.revechat.com\/wp-json\/wp\/v2\/media?parent=271402"}],"wp:term":[{"taxonomy":"help_center_type","embeddable":true,"href":"https:\/\/www.revechat.com\/wp-json\/wp\/v2\/help_center_type?post=271402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}