{"id":22286,"date":"2019-08-16T11:53:07","date_gmt":"2019-08-16T10:53:07","guid":{"rendered":"https:\/\/developer.kore.ai\/v10-1\/?p=22286"},"modified":"2023-09-29T16:25:08","modified_gmt":"2023-09-29T15:25:08","slug":"working-with-the-dialog-node","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-builder-tool\/dialog-task\/working-with-the-dialog-node\/","title":{"rendered":"Dialog Node"},"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\"><div class=\"ult-spacer spacer-6ae8716e64430\" data-id=\"6ae8716e64430\" data-height=\"10\" data-height-mobile=\"10\" data-height-tab=\"10\" data-height-tab-portrait=\"\" data-height-mobile-landscape=\"\" style=\"clear:both;display:block;\"><\/div>\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 Dialog Node lets you start a new dialog task within an existing dialog task if the user intent changes.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For example, let us consider a travel assistant that has the following three dialog tasks:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Flight Availability<\/span><span style=\"font-weight: 400;\">,<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Book a Flight<\/span><span style=\"font-weight: 400;\">,<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Book a Hotel<\/span><span style=\"font-weight: 400;\">.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">While handling a user\u2019s intention to check for <\/span><span style=\"font-weight: 400;\">Flight Availability<\/span><span style=\"font-weight: 400;\">, your Virtual Assistant can detect a new user intention to Book a Flight. When this detection occurs, the VA can switch from checking flight availability to booking a flight, by invoking the dialog task that specifically handles the <\/span><span style=\"font-weight: 400;\">Book a Flight<\/span><span style=\"font-weight: 400;\"> intent.<\/span><\/p>\n<h1><span class=\"ez-toc-section\" id=\"Key_Features\"><span style=\"font-weight: 400;\">Key Features<\/span><\/span><\/h1>\n<p><span style=\"font-weight: 400;\">The key features of dialog nodes are listed below:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">The ability to carry data from the current dialog task to the target dialog task as <\/span><em><span style=\"font-weight: 400;\">entity pre-assignments,<\/span><\/em><span style=\"font-weight: 400;\"> described in a later section.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">When a target dialog task is invoked, the current dialog flow begins at the root intent of the new dialog task. If you write transitions for the dialog node, then the flow returns to the source dialog task after completing the target. If you do not write transitions, the dialog task ends after executing the target dialog task. This differs from an optional User Intent node, where the dialog flow processes a related user intent and then continues in the same dialog task thereafter.<\/span><\/li>\n<\/ul>\n<h1><span class=\"ez-toc-section\" id=\"Add_the_Node\"><span style=\"font-weight: 400;\">Add the Node<\/span><\/span><\/h1>\n<p><span style=\"font-weight: 400;\">Setting up an dialog node in a dialog task involves the following steps:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Open the dialog task that you want to add the node to..<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Add a <\/span><strong>Dialog <\/strong><span style=\"font-weight: 400;\">node in the designated place. <\/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;\">Read more about adding nodes.<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/li>\n<\/ol>\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\/20220922135617\/add-dialog-node.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-45245\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220922135617\/add-dialog-node-1024x456.png\" alt=\"\" width=\"640\" height=\"285\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220922135617\/add-dialog-node-1024x456.png 1024w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220922135617\/add-dialog-node-300x134.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220922135617\/add-dialog-node.png 1922w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<h1><span class=\"ez-toc-section\" id=\"Configure_the_Node\"><span style=\"font-weight: 400;\">Configure the Node<\/span><\/span><\/h1>\n<h2><span class=\"ez-toc-section\" id=\"Component_Properties\"><span style=\"font-weight: 400;\">Component Properties<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Once you place your node on the canvas, the dialog window is displayed with the <\/span><strong>Component Properties<\/strong><span style=\"font-weight: 400;\"> tab selected by default.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The configurations you set up or edit in the <\/span><strong>Component Properties <\/strong><span style=\"font-weight: 400;\">tab reflect in all the dialog tasks that use this node.<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">On the <\/span><strong>Component Properties<\/strong><span style=\"font-weight: 400;\"> tab, under the <\/span><strong>General Settings<\/strong><span style=\"font-weight: 400;\">, you can modify<\/span>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">The <\/span><strong>Name,<\/strong><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">The Display Name,<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">The <\/span><strong>Description<\/strong><span style=\"font-weight: 400;\">.<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\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\/20220922135701\/dialog-node-component-properties.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-45248\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220922135701\/dialog-node-component-properties.png\" alt=\"\" width=\"417\" height=\"467\" \/><\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"NLP_Properties\"><span style=\"font-weight: 400;\">NLP Properties<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">The NLP Properties are related to the underlying intent associated with a dialog. You can add these properties here or in the NLP \u2013 Training section. They are used to train the machine learning model to help improve intent identification for the dialog task. These properties are not used to execute this node in the flow.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To improve intent identification for the dialog task, add or define the following properties:\u00a0<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Machine Learning<\/b><span style=\"font-weight: 400;\"> settings to provide user utterances to improve the detection of this intent.<\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/nlp\/user-utterances\/\"> <span style=\"font-weight: 400;\">Learn more<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Patterns and Rules<\/b><span style=\"font-weight: 400;\"> to capture this intent if the user\u2019s utterance contains these specific patterns or matches the rule.<\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/nlp\/fundamental-meaning\/#Navigate_to_the_Bot_Synonyms\"> <span style=\"font-weight: 400;\">Learn more<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Bot Synonyms<\/b><span style=\"font-weight: 400;\"> or related phrases for the user intent.<\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/nlp\/fundamental-meaning\/#Adding_Bot_Synonyms\"> <span style=\"font-weight: 400;\">Learn more<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Manage Context<\/b><span style=\"font-weight: 400;\"> tags as preconditions to identify the intent and define the output context to be set when this task is initiated.<\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-intelligence\/context-management\/\"> <span style=\"font-weight: 400;\">Learn more<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/li>\n<\/ol>\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\/20220922143048\/intent-node-nlp-properties.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-45271\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220922143048\/intent-node-nlp-properties.gif\" alt=\"\" width=\"318\" height=\"574\" \/><\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Connections_Properties\"><span style=\"font-weight: 400;\">Connections Properties<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Click the <\/span><strong>Connections <\/strong><span style=\"font-weight: 400;\">tab and set the transition properties to 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. If you have defined the <\/span><em><span style=\"font-weight: 400;\">Transition Property<\/span><\/em><span style=\"font-weight: 400;\"> as <\/span><em><span style=\"font-weight: 400;\">End of Dialog<\/span><\/em><span style=\"font-weight: 400;\">, then these settings are ignored.<\/span><\/p>\n<table style=\"background-color: #fffbea; width: 100%;\" width=\"100%\">\n<tbody>\n<tr>\n<td width=\"100%\"><strong><em>Note<\/em><\/strong><em><span style=\"font-weight: 400;\">: The conditions configured here are applicable only for this instance and will not affect the node when being used in any other dialog.<\/span><\/em><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-weight: 400;\">To set up component connection conditions, please follow the steps outlined in <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-builder-tool\/dialog-task\/nodes-conditions\/\"><span style=\"font-weight: 400;\">Adding IF-Else Conditions to Node Connections.<\/span><\/a><\/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\/20220922135850\/dialog-node-connections-properties.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-us_600_600_crop wp-image-45254\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220922135850\/dialog-node-connections-properties-456x600.png\" alt=\"\" width=\"356\" height=\"500\" \/><\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Instance_Properties\"><span style=\"font-weight: 400;\">Instance Properties<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Under the <\/span><strong>Instance Properties<\/strong><span style=\"font-weight: 400;\"> tab, you can configure the instance specific fields for the selected intent node. These settings are applicable only if you are connecting an existing intent node and only for the selected node instance and will not affect other dialog tasks that may invoke the node you are working with. Here is how to configure this section:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In the<\/span><strong> Entity Pre-Assignments<\/strong><span style=\"font-weight: 400;\"> section, you can pre-assign values from this session or node data to the entities required by the Dialog Task. Any remaining required values are handled by the sub-intent.\u00a0 (<\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-builder-tool\/dialog-task\/working-with-the-dialog-node\/#Entity_Pre-Assignments\"><span style=\"font-weight: 400;\">see below for details<\/span><\/a><span style=\"font-weight: 400;\">) If you want to reset the values, you need to use the keyword <\/span><em><span style=\"font-weight: 400;\">\u201cnull\u201d<\/span><\/em><span style=\"font-weight: 400;\">, spaces would be ignored by the platform.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In the<\/span><strong> Entity Post-Assignments<\/strong><span style=\"font-weight: 400;\"> section, there is a list of entities available in the current task with an option to add custom variables. These entities are assigned with values from the linked dialogs session data. For example, <\/span><em><span style=\"font-weight: 400;\">context.entities. <\/span><\/em><span style=\"font-weight: 400;\">lists the entities from the linked sub-dialog for selection. The values are assigned once the linked dialog execution is complete.<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/p>\n<table style=\"background-color: #fffbea; width: 100%;\" width=\"100%\">\n<tbody>\n<tr>\n<td width=\"100%\"><strong><em>Important Notes:<\/em><\/strong><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><em><span style=\"font-weight: 400;\">This option is available only if the <\/span><\/em><strong><em>Transition Options<\/em><\/strong><em><span style=\"font-weight: 400;\"> is set to return to the current node on task completion.<\/span><\/em><\/li>\n<\/ul>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Currently, there is a limitation when using URL entity types. URL values with <\/span><span style=\"font-weight: 400;\">http<\/span><span style=\"font-weight: 400;\"> as opposed to <\/span><span style=\"font-weight: 400;\">https<\/span><span style=\"font-weight: 400;\"> or without the <\/span><span style=\"font-weight: 400;\">www<\/span><span style=\"font-weight: 400;\"> suffix will not work. If you want to reset the values, you need to use the keyword \u201cnull\u201d, spaces would be ignored by the platform.<\/span><\/li>\n<li>Many dialog transitions without user interference can lead to infinite dialog looping. To prevent such a situation, the Virtual Assistant displays the error, <strong>&#8216;Sorry something went wrong and I cannot complete your request now,&#8217;<\/strong> after 25 such transitions, as shown in the following screenshot. This error is displayed when the dialog nodes are connected either in a loop or in a linear manner.<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\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\/20230119094705\/DialogLoop.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-51979\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230119094705\/DialogLoop.png\" alt=\"\" width=\"600\" height=\"221\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">In the <\/span><strong>Transition Options<\/strong><span style=\"font-weight: 400;\"> section, you can define the flow to be followed once the task completes. You can choose from two options:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Initiate the linked Dialog Task, and once complete, return to this node.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">End the current task and initiate the linked Dialog Task..<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Click <\/span><strong>Advanced Controls<\/strong><span style=\"font-weight: 400;\"> to set up the below-listed options:<\/span><\/p>\n<ol>\n<li><strong>Interruptions Behavior<\/strong>\n<ul style=\"list-style-type: disc;\">\n<li><strong>Use the task level <\/strong><strong><em>Interruptions Behavior <\/em><\/strong><strong>Setting<\/strong><span style=\"font-weight: 400;\">: The VA refers to the <\/span><strong>Interruptions Behavior<\/strong><span style=\"font-weight: 400;\"> settings set at the dialog task level.<\/span><\/li>\n<li><strong>Customize for this node<\/strong><span style=\"font-weight: 400;\">: By configuring this option you can customize the <\/span><strong>Interruptions Behavior<\/strong><span style=\"font-weight: 400;\"> settings for this node.Read the <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/bot-intelligence-bots\/interruption-handling-context-switching-intents\/\"><span style=\"font-weight: 400;\">Interruption Handling and Context Switching<\/span><\/a><span style=\"font-weight: 400;\"> article for more information.<\/span><\/li>\n<\/ul>\n<\/li>\n<li><strong>Custom Tags <\/strong><span style=\"font-weight: 400;\">defines tags to build custom profiles of your bot conversations. <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-builder-tool\/dialog-task\/custom-meta-tags\/\"><span style=\"font-weight: 400;\">See here for more<\/span><\/a><span style=\"font-weight: 400;\">. You can add tags for the following:<\/span>\n<ol>\n<li><strong>Message &#8211; <\/strong><span style=\"font-weight: 400;\">Define custom tags to be added to the current message in the conversation.<\/span><\/li>\n<li><strong>User &#8211; <\/strong><span style=\"font-weight: 400;\">Define custom tags to be added to the user&#8217;s profile information.<\/span><\/li>\n<li><strong>Session &#8211; <\/strong><span style=\"font-weight: 400;\">Define custom tags to be added to the current conversation session.<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\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\/20220922140105\/dialog-node-instance.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-45257\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220922140105\/dialog-node-instance.gif\" alt=\"\" width=\"314\" height=\"580\" \/><\/a><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Entity_Pre-Assignments\"><span style=\"font-weight: 400;\">Entity Pre-Assignments<\/span><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">You can pre-populate data for the destination dialog task by:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Adding values to the entity keys.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Adding additional custom keys and values to pass data from the current dialog task <\/span><code><span style=\"font-weight: 400;\">Context<\/span><\/code><span style=\"font-weight: 400;\"> object to the destination dialog task as needed.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">By default, entity nodes defined in the target dialog task are displayed as key\/value pairs. You can then define values for associated entities or add custom keys and values as needed using session and context variables.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Transitioning from the source dialog task to the destination dialog task occurs at the runtime when the user input matches one of any linked dialog tasks. When you map more than one dialog task, you can define which dialog tasks are displayed to the end-users using conditional transitions.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">When you call another dialog task, you want to carry information from the first dialog task to the next dialog task. For example, customer information collected in a <\/span><em><span style=\"font-weight: 400;\">Book a Flight<\/span><\/em><span style=\"font-weight: 400;\"> dialog task is passed to the <\/span><em><span style=\"font-weight: 400;\">Book a Hotel<\/span><\/em><span style=\"font-weight: 400;\"> dialog task.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You can use the <\/span><code><span style=\"font-weight: 400;\">mappedIntents<\/span><\/code><span style=\"font-weight: 400;\"> variable in the <\/span><code><span style=\"font-weight: 400;\">Context<\/span><\/code><span style=\"font-weight: 400;\"> object which holds the reference of the intent nodes as well as the context of the source dialog task as shown in the following JSON syntax:<\/span><\/p>\n<p><code><span style=\"font-weight: 400;\">{ 'title': 'title of the link', 'link':' url for the link' ,'postbackpayload': 'system generated payload'}<\/span><\/code><\/p>\n<p><span style=\"font-weight: 400;\">For example, a link to <\/span><code><span style=\"font-weight: 400;\">GetEmail<\/span><\/code><span style=\"font-weight: 400;\"> in the <\/span><code><span style=\"font-weight: 400;\">Context<\/span><\/code><span style=\"font-weight: 400;\"> object can be:<\/span><\/p>\n<table style=\"width: 100%; border-collapse: collapse; background-color: #f7f7f7;\">\n<tbody>\n<tr>\n<td style=\"width: 100%;\"><code><span style=\"font-weight: 400;\">{<\/span><\/code><\/p>\n<p><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\"title\":\"GetEmail\",<\/span><\/code><\/p>\n<p><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\"link\":\"https:\/\/app.collab.ai\/wf\/1.1\/market\/users\/bots\/st-bb1eb3da-cfa7-5244-b241-b5042d333e76\/dialogue\/dg-15fd2927-219c-5795-b038-5b830718bea7\/execute?nodeId=message2&amp;contextId=dcx-f9bae173-4d69-53e4-9aa7-21e89aae776d&amp;intent=GetEmail\",<\/span><\/code><\/p>\n<p><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\"postbackpayload\":\"MappedDialog_dc-f7b42932-dc06-53ac-92c0-1db706794f91_dg-15fd2927-219c-5795-b038-5b830718bea7_dcx-f9bae173-4d69-53e4-9aa7-21e89aae776d\"<\/span><\/code><\/p>\n<p><code><span style=\"font-weight: 400;\">}<\/span><\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-weight: 400;\">You can access and present these variables in a prompt message to a user to display a list of mapped dialog tasks with the link, or as a list of choices. You can pass the source dialog context to the target dialog task even if the source dialog task is no longer actively using the <\/span><span style=\"font-weight: 400;\">Context<\/span><span style=\"font-weight: 400;\"> object.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The value for the <\/span><code><span style=\"font-weight: 400;\">postbackpayload<\/span><\/code><span style=\"font-weight: 400;\"> key is generated by the Platform and is used in some channels, such as <\/span><em><span style=\"font-weight: 400;\">Facebook<\/span><\/em><span style=\"font-weight: 400;\"> and <\/span><em><span style=\"font-weight: 400;\">Slack, <\/span><\/em><span style=\"font-weight: 400;\">which defines when a link or choice is made for a target dialog task.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For more information, refer to <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-builder-tool\/dialog-task\/using-session-and-context-variables-in-tasks\/\"><span style=\"font-weight: 400;\">Using Session and Context Variables in Tasks<\/span><\/a><span style=\"font-weight: 400;\"> and the <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-builder-tool\/dialog-task\/context-object\/\"><span style=\"font-weight: 400;\">Context Object<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"ult-spacer spacer-6ae8716e64fc5\" data-id=\"6ae8716e64fc5\" data-height=\"12\" data-height-mobile=\"12\" data-height-tab=\"12\" data-height-tab-portrait=\"\" data-height-mobile-landscape=\"\" style=\"clear:both;display:block;\"><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"The Dialog Node lets you start a new dialog task within an existing dialog task if the user intent changes. For example, let us consider a travel assistant that has the following three dialog tasks: Flight Availability, Book a Flight, Book a Hotel. While handling a user\u2019s intention to check for Flight Availability, your Virtual...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[],"class_list":["post-22286","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\/22286","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=22286"}],"version-history":[{"count":37,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/22286\/revisions"}],"predecessor-version":[{"id":59692,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/22286\/revisions\/59692"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=22286"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=22286"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=22286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}