{"id":44989,"date":"2022-09-19T14:27:04","date_gmt":"2022-09-19T13:27:04","guid":{"rendered":"https:\/\/developer.kore.ai\/v10-1\/?p=44989"},"modified":"2022-09-19T15:11:14","modified_gmt":"2022-09-19T14:11:14","slug":"process-nodes","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-builder-tool\/dialog-task\/process-nodes\/","title":{"rendered":"Process Nodes"},"content":{"rendered":"<p><span style=\"font-weight: 400\">Process nodes are used to connect a Dialog Task to a Process App that has been created within the XO Platform.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400\">In this article you will learn about working with the Process Node within a Dialog Task. Please see the <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/process-assistants\/\"><span style=\"font-weight: 400\">Process Assistant documentation<\/span><\/a><span style=\"font-weight: 400\"> to learn more about working with this component of the XO Platform.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Process nodes can only be added as part of a Bot Action node. Therefore, before you can add a Process node, you need to add a Bot Action node. <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-builder-tool\/dialog-task\/bot-action-node\/\"><span style=\"font-weight: 400\">Read more about Bot Action Nodes<\/span><span style=\"font-weight: 400\">.<\/span><\/a><\/p>\n<p><span style=\"font-weight: 400\">Keeping this in mind, the setup of a Process node in a Dialog Task involves the following steps:<\/span><\/p>\n<div class=\"w-separator size_medium with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\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\">To add a Process node, please follow the steps below:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><strong>Select the Virtual Assistant<\/strong><span style=\"font-weight: 400\"> that you want to work with.<\/span><\/li>\n<li style=\"font-weight: 400\"><strong>Open the Dialog Task<\/strong><span style=\"font-weight: 400\"> to which you want to add the node.&nbsp;<\/span><\/li>\n<li style=\"font-weight: 400\"><strong>Add or expand a Bot Action node<\/strong><span style=\"font-weight: 400\">.<\/span><\/li>\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\/20220919145825\/add-process.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220919145825\/add-process-300x190.png\" alt=\"\" width=\"500\" height=\"290\" class=\"alignnone size-medium wp-image-44993\" \/><\/a><\/p>\n<li style=\"font-weight: 400\"><strong>Add the Process node<\/strong><span style=\"font-weight: 400\">. The node configuration panel will open automatically, with the <\/span><strong>Component Properties<\/strong><span style=\"font-weight: 400\"> tab selected.<\/span><\/li>\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\/20220919145901\/process-node-added.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220919145901\/process-node-added-300x134.png\" alt=\"\" width=\"500\" height=\"234\" class=\"alignnone size-medium wp-image-44997\" \/><\/a><br \/>\n<div class=\"w-separator size_medium with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n<h1><span class=\"ez-toc-section\" id=\"Configure_the_Node\"><span style=\"font-weight: 400\">Configure the Node<\/span><\/span><\/h1>\n<div class=\"w-separator size_medium with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Component_Properties\"><span style=\"font-weight: 400\">Component Properties<\/span><\/span><\/h2>\n<table style=\"height: 30px;width: 100%;background-color: #fffbea\" width=\"100%\">\n<tbody>\n<tr style=\"height: 30px\">\n<td style=\"height: 30px\" width=\"100%\">\n<strong><em><\/p>\n<p><strong><em>Note<\/em><\/strong><em><span style=\"font-weight: 400\">: Any changes in this tab will affect all instances of this process. Proceed with caution.<\/span><\/em>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">The Component Properties tab lets you modify configurations of this process across all instances in all dialogs. as follows:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Under the <\/span><strong>General Settings<\/strong><span style=\"font-weight: 400\"> section, enter a <\/span><strong>Name and Display Name<\/strong><span style=\"font-weight: 400\"> for the Process node. Node names cannot have spaces.<\/span><\/li>\n<li style=\"font-weight: 400\"><strong>Select a Type<\/strong><span style=\"font-weight: 400\">. You can choose one of the following:&nbsp;<\/span><\/li>\n<ul>\n<li style=\"font-weight: 400\"><strong>Trigger<\/strong><span style=\"font-weight: 400\">: The node will trigger the Process App.<\/span><\/li>\n<li style=\"font-weight: 400\"><strong>Send Bot Response to Process App<\/strong><span style=\"font-weight: 400\">: The node sends the Bot Response to the Process App, which can then use it to complete other configured tasks.&nbsp;<\/span><\/li>\n<li style=\"font-weight: 400\"><strong>Get Process Tasks<\/strong><span style=\"font-weight: 400\">: The node retrieves process tasks from within the Process App, then includes these tasks within the current Dialog Task.&nbsp;<\/span><\/li>\n<\/ul>\n<li style=\"font-weight: 400\"><strong>Choose a Process App<\/strong><span style=\"font-weight: 400\"> to connect the node to.&nbsp;<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">In the <\/span><strong>Variable Namespaces<\/strong><span style=\"font-weight: 400\"> 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 <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-settings\/bot-management\/managing-namespace\/\"><span style=\"font-weight: 400\">Managing Namespaces<\/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\/20220919150041\/process-node-component-properties.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220919150041\/process-node-component-properties-173x300.png\" alt=\"\" width=\"273\" height=\"500\" class=\"alignnone size-medium wp-image-45000\" \/><\/a><br \/>\n<div class=\"w-separator size_medium with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Connection_Properties\"><span style=\"font-weight: 400\">Connection Properties&nbsp;<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400\">Since they are contained within Bot Action nodes, Process nodes cannot be connected on their own to any other nodes outside the Bot Action node to which they belong. Connections can only be made with nodes contained within the same Bot Action node.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400\">From the node&rsquo;s <\/span><strong>Connection Properties <\/strong><span style=\"font-weight: 400\">tab, you can configure the following:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><strong>Process Node Connections<\/strong><span style=\"font-weight: 400\">: The node within the Bot Action to execute next, after the Process node runs.&nbsp;<\/span><\/li>\n<li style=\"font-weight: 400\"><strong>Bot Action Connections<\/strong><span style=\"font-weight: 400\">, where you can update the node to trigger after the Bot Action group is executed. Updates made here will apply to all nodes within the same Bot Action.&nbsp;<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">For both connection types you can write conditional statements based on the values of any Entity or Context Objects in the dialog task, or you can use Intents for transitions.&nbsp;<\/span><\/p>\n<table style=\"height: 30px;width: 100%;background-color: #fffbea\" width=\"100%\">\n<tbody>\n<tr style=\"height: 30px\">\n<td style=\"height: 30px\" width=\"100%\">\n<p><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 this node when being used in any other dialog.<\/span><\/em><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">To set up node 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 <\/span><em><span style=\"font-weight: 400\">IF-Else<\/span><\/em><span style=\"font-weight: 400\"> Conditions to Node Connections<\/span><span style=\"font-weight: 400\"><\/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\/20220919150238\/process-node-connection-properties.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220919150238\/process-node-connection-properties-231x300.png\" alt=\"\" width=\"331\" height=\"400\" class=\"alignnone size-medium wp-image-45003\" \/><\/a><br \/>\n<div class=\"w-separator size_medium with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Process nodes are used to connect a Dialog Task to a Process App that has been created within the XO Platform.&nbsp; In this article you will learn about working with the Process Node within a Dialog Task. Please see the Process Assistant documentation to learn more about working with this component of the XO Platform&#8230;.<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[],"class_list":["post-44989","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\/44989","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\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/comments?post=44989"}],"version-history":[{"count":3,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/44989\/revisions"}],"predecessor-version":[{"id":45006,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/44989\/revisions\/45006"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=44989"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=44989"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=44989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}