{"id":19909,"date":"2019-05-02T11:33:46","date_gmt":"2019-05-02T11:33:46","guid":{"rendered":"https:\/\/developer.kore.ai\/v10-1\/?p=19909"},"modified":"2023-10-16T09:41:11","modified_gmt":"2023-10-16T08:41:11","slug":"working-with-the-message-nodes","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-builder-tool\/dialog-task\/working-with-the-message-nodes\/","title":{"rendered":"Message (Bot Response) Nodes"},"content":{"rendered":"<section class=\"l-section wpb_row height_auto\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row type_default valign_top\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p><span style=\"font-weight: 400;\">The Message Node is used to deliver a message to the user. Message nodes commonly follow an API, web service call, or webhook event to define their results as a formatted response.<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">You can format bot responses as below:<\/span><\/p>\n<ul>\n<li><b>Plain text<\/b>: Type a message in plain text. You can use stored context values with <code>{{variable brackets}}<\/code>. For example: <code>'Hello {{context.session.UserContext.firstName}}. How can I help you?'<\/code><\/li>\n<li><b>Javascript<\/b>: Compose JavaScript responses either:\n<ul>\n<li>For dynamically constructing messages using context and session variables.<\/li>\n<li>for displaying templates or widgets as supported by various channels.<br \/>\nFor example, you can compose a JavaScript message for Facebook Channel to present a Carousel template.<\/li>\n<li>Optionally, you can generate links to view the information in an HTML report format using templates and share the URL with the bot message.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>For example, the <i>Book Flights<\/i> sample dialog uses the following message nodes:<\/p>\n<ul>\n<li><i><strong>WeatherReport<\/strong>: <\/i>This <i>s<\/i>hows the weather details returned by the <i>WeatherApi<\/i> Service node, formatted using the <i>LocationScript<\/i> node.<\/li>\n<li><i><strong>FinalFlightinfo<\/strong><\/i>: This shows the flight itineraries that the <i>Flights info <\/i>service node returns.<\/li>\n<li><i><strong>Thanks<\/strong>: <\/i>After showing the final flight details, prompts the user if they have any other requests.<\/li>\n<\/ul>\n<div class=\"w-message color_blue\"><div class=\"w-message-body\"><p><span style=\"font-weight: 400;\">To understand customized JavaScript responses and channel-specific templates, refer to <a style=\"font-style: italic;\" href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-builder-tool\/dialog-task\/prompt-editor\/#Customize_JavaScript_Responses\">Customize JavaScript Responses<\/a> in <em><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-builder-tool\/dialog-task\/prompt-editor\/\">User Prompts<\/a> articles. <\/em><\/span>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t\r\n\t\t<\/div>\r\n\t<\/div><\/div><\/div>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h2><span class=\"ez-toc-section\" id=\"Set-Up\">Set-Up<\/span><\/h2>\n<p>Setting up a Message node in a dialog task involves the following steps:<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Add_Node\">Add Node<\/span><\/h3>\n<ol>\n<li>Open the dialog task to add the Message node.<\/li>\n<li><span style=\"font-weight: 400;\">Add a message node in the designated place. For steps in adding nodes, read the <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/chatbot-overview\/using-the-dialog-builder-tool\/#Adding_Nodes\"><span style=\"font-weight: 400;\">Using the Dialog Builder<\/span><\/a><span style=\"font-weight: 400;\"> article<\/span>.<\/li>\n<li>The Message window is displayed with the <strong>Component Properties<\/strong> tab selected by default.<\/li>\n<\/ol>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h2><span class=\"ez-toc-section\" id=\"Configure_Node\">Configure Node<\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Component_Properties\">Component Properties<\/span><\/h3>\n<div class=\"aler alert-info\"><b>Note<\/b>: The configurations you set up or edit in this section reflect in all other dialog tasks that use this node.<\/div>\n<ol>\n<li class=\"aler alert-info\">On the <strong>Component Properties<\/strong> tab, under the <strong>General Settings<\/strong> section, enter a <strong>Name<\/strong> and <strong>Display Name<\/strong> for the message node.<\/li>\n<li class=\"aler alert-info\">Under the <strong>Bot Responses<\/strong> section, compose and format the bot response either as plain text or as a JavaScript message. A default message is set by the platform, you can customize it.<\/li>\n<li><span style=\"font-weight: 400;\">\u00a0Enter channel-specific messages for bot responses using the <\/span><b>Manage<\/b><span style=\"font-weight: 400;\"> link. For more information, read the <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-builder-tool\/dialog-task\/prompt-editor\/\"><span style=\"font-weight: 400;\">Using the Prompt Editor<\/span><\/a><span style=\"font-weight: 400;\"> article<\/span>.<\/li>\n<li>To add more bot responses, click\u00a0<strong>Add Bot Response<\/strong> and repeat the above steps.<\/li>\n<li><span style=\"font-weight: 400;\">Use the <b>Rephrase Responses <\/b>to rewrite VA replies using AI based on conversation,context and user emotions. For Message nodes, this feature helps rephrase the responses entered under <i>Bot Responses<\/i>. To see this feature in your node\u2019s Component Properties, enable the <a href=\"https:\/\/developer.kore.ai\/v10-1\/integrations\/configuring-the-openai-action\/\">OpenAI<\/a> or <a href=\"https:\/\/developer.kore.ai\/v10-1\/integrations\/configuring-the-azure-openai-action\/\">Azure-OpenAI<\/a> integration and the <b>Dynamic Prompt and Message Rephrasing <\/b>feature under <a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/nlp\/llm-and-generative-ai\/#Enable_LLM_Features\">LLM and Generative AI<\/a><\/span><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">.<br \/>\n<\/span><\/span><\/p>\n<div class=\"alert alert-info\"><span style=\"font-weight: 400;\"><b>Note<\/b>: By default, this feature is disabled\u00a0 for each node. Turn on the toggle to enable Rephrase Responses.\u00a0<\/span><\/div>\n<p><span style=\"font-weight: 400;\">You can configure the <b>number of previous user inputs<\/b> to determine how many previous user messages should be sent to OpenAI as context based on which to rephrase the response sent through the node. You can choose between 0 and 5, where 0 means that no previous input is considered, while 5 means that the previous 5 responses are sent as context.<\/span><\/p>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230403121254\/rephrase-response.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-56497\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230403121254\/rephrase-response.png\" alt=\"\" width=\"388\" height=\"269\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230403121254\/rephrase-response.png 388w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230403121254\/rephrase-response-300x208.png 300w\" sizes=\"auto, (max-width: 388px) 100vw, 388px\" \/><\/a><\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Generate_Message_as_Report_Link_Optional\">Generate Message as Report Link (Optional)<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">The Message node allows you to generate links to view the information in an HTML report format using templates. The URL link is added to the bot message. When you add a link to a bot response, the users can select the link and get more details, such as a table of values for <\/span><i><span style=\"font-weight: 400;\">Closed Sales Opportunities<\/span><\/i><span style=\"font-weight: 400;\"> in the <\/span><i><span style=\"font-weight: 400;\">SalesForce<\/span><\/i><span style=\"font-weight: 400;\"> Bot<\/span>.<br \/>\n<span style=\"font-weight: 400;\">To generate a report link, follow these steps<\/span>:<\/p>\n<ol>\n<li>On the <strong>Component Properties<\/strong> tab, under the <strong>Report URL<\/strong> section, click <b>Generate Report <\/b><strong>Link<\/strong>.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210707065922\/messageNode_report.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28365\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210707065922\/messageNode_report.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210707065922\/messageNode_report.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210707065922\/messageNode_report-300x169.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210707065922\/messageNode_report-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><br \/>\n<span style=\"font-weight: 400;\">This image shows\u00a0 the new dialog builder, you will find this feature in legacy builder at the same location i.e. <\/span><b>Message node -&gt; Component Properties<\/b>.<\/li>\n<li>On the Generate Report dialog box, enter the following values:\n<ul>\n<li><b>Link Title<\/b> \u2013 The link text displayed in the bot channel. For example, <i>View Shopping Cart<\/i>.<\/li>\n<li><b>Header<\/b> \u2013 The title of the report. For example, <i>These are the items in your Shopping Cart<\/i>.<\/li>\n<li><b>Details<\/b> \u2013 End-user help information displayed directly below the header, describing the content of the report. For example, <i>Review your Shopping Cart<\/i>, <i>and then click Continue when you are ready to place your order.<\/i><\/li>\n<li><strong>Data Path<\/strong> &#8211; Path for the data, usually the response from the web service. For example,\u00a0<em>context.ShoppingCartService.response.body<\/em><\/li>\n<li><b>Template<\/b> \u2013 Select one of the following format templates to display the data from the task response. For each type, define the <b>Column Name<\/b>, <b>Key Mapping<\/b>, <b>Data Type<\/b>, and template-specific options.\n<ul>\n<li><b>Table<\/b><span style=\"font-weight: 400;\"> \u2013 Uses a table format with defined columns. Each mapping for the <\/span><b>Table<\/b><span style=\"font-weight: 400;\"> template is set to <\/span><b>Is Sortable<\/b><span style=\"font-weight: 400;\">, <\/span><b>Display as an image<\/b><span style=\"font-weight: 400;\">, and <\/span><b>Display it as a link<\/b><span style=\"font-weight: 400;\">. For more information, refer to the <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-builder-tool\/dialog-task\/defining-a-table-report\/\"><span style=\"font-weight: 400;\">Defining a Table Report<\/span><\/a><span style=\"font-weight: 400;\"> article and <\/span><a href=\"https:\/\/community.kore.ai\/t\/report-link-is-not-getting-displayed-in-message-node\/1676\"><span style=\"font-weight: 400;\">Report Link <\/span><\/a><span style=\"font-weight: 400;\">community post<\/span>.<\/li>\n<li><b>Fixed Column Table<\/b><span style=\"font-weight: 400;\"> \u2013 Uses a table format with one or more columns fixed. Each mapping for the <\/span><b>Fixed Column Table<\/b><span style=\"font-weight: 400;\"> template is set to <\/span><b>Is Sortable<\/b><span style=\"font-weight: 400;\">, <\/span><b>Column in fixed<\/b><span style=\"font-weight: 400;\">, <\/span><b>Display as an image<\/b><span style=\"font-weight: 400;\">, and <\/span><b>Display it as a link<\/b><span style=\"font-weight: 400;\">. For more information, refer to the <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-builder-tool\/dialog-task\/defining-a-fixed-column-table-report\/\"><span style=\"font-weight: 400;\">Defining a Fixed-Column Table Report<\/span><\/a><span style=\"font-weight: 400;\"> article<\/span>.<\/li>\n<li><b>Card Layout<\/b><span style=\"font-weight: 400;\"> \u2013 Uses a contact card format. Each mapping for the <\/span><b>Card Layout<\/b><span style=\"font-weight: 400;\"> template is set to <\/span><b>Is Sortable<\/b><span style=\"font-weight: 400;\">, <\/span><b>Display as an image<\/b><span style=\"font-weight: 400;\">, and <\/span><b>Display it as a link<\/b><span style=\"font-weight: 400;\">. For more information, refer to the <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-builder-tool\/dialog-task\/defining-a-card-layout-report\/\"><span style=\"font-weight: 400;\">Defining a Card Layout Report<\/span><\/a><span style=\"font-weight: 400;\"> article<\/span>.<\/li>\n<li><b>Weather Info<\/b> &#8211; Define a date for a weather service response payload. Each mapping for the <b>Weather Info<\/b> template is set to <b>Is Sortable<\/b>, <b>Display as an image<\/b>, and <b>Display it as a link<\/b>. For more information, refer to <a href=\"\/docs\/bots\/bot-builder-tool\/develop\/simple-task\/information-tasks\/defining-a-weather-info-report\/\">Defining a Weather Info Report<\/a> article.<\/li>\n<li><b>Card Layout with Group By<\/b><span style=\"font-weight: 400;\"> \u2013 Shows a list of items grouped by a specific field. For more information, refer to the <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-builder-tool\/dialog-task\/define-a-card-layout-with-group-by-report\/\"><span style=\"font-weight: 400;\">Define a Card Layout with Group By Report<\/span><\/a><span style=\"font-weight: 400;\"> article<\/span>.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>Click <strong>Save<\/strong>.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Variable_Namespace\">Variable Namespace<\/span><\/h3>\n<ul>\n<li>In the <strong>Variable Namespaces<\/strong> section, associate the variable namespaces to execute this node and its transitions. This option is visible only when the Variable Namespace is enabled for the bot. You can go with the task level settings or customize it for this node. For more information, refer to <a href=\"\/docs\/bots\/bot-settings\/bot-management\/managing-namespace\/\" target=\"_blank\" rel=\"noopener noreferrer\">Managing Namespace<\/a>.<\/li>\n<\/ul>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"Instance_Properties\">Instance Properties<\/span><\/h3>\n<ol>\n<li>On the Message window, click the <strong>Instance Properties<\/strong> tab.<\/li>\n<li>Under the <strong>Interruptions Behavior<\/strong> section, you can configure the interruptions behavior for this node.<br \/>\n<b>Note:<\/b> The settings in the Instance Properties tab are specific to the current task and do not reflect in other dialog tasks that use this node.<\/p>\n<ul>\n<li><strong> Use the task level \u2018Interruptions Behavior\u2019 setting<\/strong>: The bot refers to the Interruptions Behavior settings set at the dialog task level.<\/li>\n<li><b>Customize for this node option:<\/b><span style=\"font-weight: 400;\"> You can customize the Interruptions Behavior settings for this node by selecting this option and configuring the same. For more information, refer to the Interruption<\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-intelligence\/interruption-handling-context-switching-intents\/\"><span style=\"font-weight: 400;\"> Handling and Context Switching<\/span><\/a><span style=\"font-weight: 400;\"> article<\/span>.<\/li>\n<\/ul>\n<\/li>\n<li>Under the <strong>Custom Tags<\/strong> section, add tags to build custom profiles of your bot conversations. <a href=\"\/docs\/bots\/bot-builder-tool\/dialog-task\/custom-meta-tags\/\">Click here for more<\/a>.<\/li>\n<\/ol>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"IVR_Properties\">IVR Properties<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Use the IVR properties tab on the Message Node to define the initial prompts, timeout prompts, no match prompts, and error prompts with customization for the retries behavior, input mode, grammar settings for Global and Node level use cases, prompts, and call behavior parameters for this node to use in IVR Channel. These settings are defined at the Message Node level. For more information, read the <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-builder-tool\/dialog-task\/voice-call-properties\/\"><span style=\"font-weight: 400;\">Voice Call Properties<\/span><\/a> <span style=\"font-weight: 400;\">article<\/span><span style=\"font-weight: 400;\">.<\/span><\/p>\n<div class=\"alert alert-info\"><b>Note<\/b><span style=\"font-weight: 400;\">: The Message Node supports all voice call properties for the IVR, Audio Codes, Twilio Voice, and Voice Gateway channels provided the <\/span><b>On User Input Transition<\/b><span style=\"font-weight: 400;\"> setting is enabled for the node<\/span><\/div>\n<p>.<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"Connections_Properties\">Connections Properties<\/span><\/h3>\n<p>From the node\u2019s <strong>Connections<\/strong> tab, you can determine the node in the dialog task to execute next. You can write the conditional statements based on the values of any Entity or Context Objects in the dialog task, or you can use intents for transitions.<br \/>\nTo setup Component Transitions, follow these steps:<\/p>\n<ol>\n<li>On the Message window, click the <strong>Connections<\/strong> tab.<\/li>\n<li>On the <strong>Connections<\/strong> tab, under the <strong>Connection Rules<\/strong> section, you can select nodes from the <strong>Default<\/strong> drop-down list.<\/li>\n<li>To configure a conditional flow, click <b>Add IF<\/b>.<\/li>\n<li>Configure the conditional expression based on one of the following criteria:\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>Entity<\/b><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">: Compare an entity node in the dialog with a specific value using one of these operators:<\/span><\/span>\n<ul>\n<li><span style=\"font-weight: 400;\">exists<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">equals to<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">greater than equals to\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">less than equals to\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">not equal to\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">greater than\u00a0<\/span><\/li>\n<li><span style=\"font-weight: 400;\">less than <\/span><\/li>\n<\/ul>\n<\/li>\n<li><i><span style=\"font-weight: 400;\">Select the entity, operator using the respective drop-down lists, and type the number in the <\/span><b>Value <\/b><span style=\"font-weight: 400;\">box. For example, <\/span><span style=\"font-weight: 400;\">PassengerCount (entity) greater than (operator) 5 (specified value).<\/span>.<\/i><\/li>\n<li><b>Context<\/b><span style=\"font-weight: 400;\">: Compare a context object in the dialog with a specific value using one of these operators<\/span>.\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">exists<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">equals to<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">greater than equals to\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">less than equals to\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">not equal to\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">greater than<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">less than<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>For example, Context.entity.PassengerCount (Context object) greater than (operator) 5 (specified value).<\/li>\n<li><b>Intent: <\/b>Select an intent that matches the next user utterance.<\/li>\n<\/ul>\n<\/li>\n<li><i><span style=\"font-weight: 400;\">In the <\/span><b>Then go to<\/b><span style=\"font-weight: 400;\"> drop-down list, select the next node to execute in the dialog flow if the conditional expression succeeds. For example, if the <\/span><span style=\"font-weight: 400;\">PassengerCount (entity) is greater than (operator) 5 (specified value), <\/span><b>Then go to <\/b><span style=\"font-weight: 400;\">Offers (sub-dialog)<\/span>.<\/i><\/li>\n<li>In the <b>Else <\/b>drop-down list, select the node to execute if the condition fails.<\/li>\n<\/ol>\n<div class=\"alert alert-info\"><b>Note:<\/b> If you want to write multiple <em>If<\/em> conditions, click <strong>Add Else If<\/strong> below the last <em>If<\/em> conditional expression.<\/div>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>[vc_raw_html]JTNDZGl2JTIwY2xhc3MlM0QlMjJ3LXBvc3QtZWxtJTIwcG9zdF9uYXZpZ2F0aW9uJTIwbGF5b3V0X3NpbXBsZSUyMGludl9mYWxzZSUyMiUzRSUwQSUwOSUzQ2ElMjBjbGFzcyUzRCUyMnBvc3RfbmF2aWdhdGlvbi1pdGVtJTIwb3JkZXJfZmlyc3QlMjB0b19wcmV2JTIyJTIwaHJlZiUzRCUyMiUyRmRvY3MlMkZib3RzJTJGYm90LWJ1aWxkZXItdG9vbCUyRmRpYWxvZy10YXNrJTJGd29ya2luZy13aXRoLXRoZS1sb2dpYy1ub2RlJTJGJTIyJTNFJTNDJTJGcCUzRSUwQSUzQ2RpdiUyMGNsYXNzJTNEJTIycG9zdF9uYXZpZ2F0aW9uLWl0ZW0tYXJyb3clMjIlM0UlM0MlMkZkaXYlM0UlMEElM0NkaXYlMjBjbGFzcyUzRCUyMnBvc3RfbmF2aWdhdGlvbi1pdGVtLW1ldGElMjIlM0VQcmV2aW91cyUzQyUyRmRpdiUzRSUwQSUzQ2RpdiUyMGNsYXNzJTNEJTIycG9zdF9uYXZpZ2F0aW9uLWl0ZW0tdGl0bGUlMjIlM0UlM0NzcGFuJTNFTG9naWMlMjBOb2RlJTNDJTJGc3BhbiUzRSUzQyUyRmRpdiUzRSUwQSUzQ3AlM0UlM0MlMkZhJTNFJTNDYnIlMjAlMkYlM0UlMEElM0NhJTIwY2xhc3MlM0QlMjJwb3N0X25hdmlnYXRpb24taXRlbSUyMG9yZGVyX3NlY29uZCUyMHRvX25leHQlMjIlMjBocmVmJTNEJTIyJTJGZG9jcyUyRmJvdHMlMkZib3QtYnVpbGRlci10b29sJTJGZGlhbG9nLXRhc2slMkZ3b3JraW5nLXdpdGgtdGhlLWNvbmZpcm1hdGlvbi1ub2RlcyUyRiUyMiUzRSUzQyUyRnAlM0UlMEElM0NkaXYlMjBjbGFzcyUzRCUyMnBvc3RfbmF2aWdhdGlvbi1pdGVtLWFycm93JTIyJTNFJTNDJTJGZGl2JTNFJTBBJTNDZGl2JTIwY2xhc3MlM0QlMjJwb3N0X25hdmlnYXRpb24taXRlbS1tZXRhJTIyJTNFTmV4dCUzQyUyRmRpdiUzRSUwQSUzQ2RpdiUyMGNsYXNzJTNEJTIycG9zdF9uYXZpZ2F0aW9uLWl0ZW0tdGl0bGUlMjIlM0UlM0NzcGFuJTNFQ29uZmlybWF0aW9uJTIwTm9kZXMlM0MlMkZzcGFuJTNFJTNDJTJGZGl2JTNFJTBBJTNDcCUzRSUzQyUyRmElM0UlM0MlMkZkaXYlM0U=[\/vc_raw_html]<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"The Message Node is used to deliver a message to the user. Message nodes commonly follow an API, web service call, or webhook event to define their results as a formatted response. You can format bot responses as below: Plain text: Type a message in plain text. You can use stored context values with {{variable...","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[],"class_list":["post-19909","post","type-post","status-publish","format-standard","hentry","category-dialog-task"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/19909","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/comments?post=19909"}],"version-history":[{"count":23,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/19909\/revisions"}],"predecessor-version":[{"id":59861,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/19909\/revisions\/59861"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=19909"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=19909"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=19909"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}