{"id":17931,"date":"2016-10-28T17:22:20","date_gmt":"2016-10-28T17:22:20","guid":{"rendered":"https:\/\/developer.kore.com\/?post_type=docs&#038;p=8565"},"modified":"2021-03-30T10:30:47","modified_gmt":"2021-03-30T09:30:47","slug":"publishing-bot","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v7-2\/docs\/bots\/publish\/publishing-bot\/","title":{"rendered":"Publishing your Bot"},"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>End users can interact with a bot only when it is published.\u00a0When you publish a Bot task,\u00a0 the platform initiates a request to the Bots\u00a0Admin to approve it. Depending on the\u00a0<strong>Purpose<\/strong>\u00a0defined for the bot during its initial set up, the following happens:<\/p>\n<ul>\n<li><b>For an Employee Bot:\u00a0<\/b>The Bots Admin needs to select users from the enterprise Kore.ai account who can interact with the bot, and then approve the publishing request. Once that&#8217;s done, the selected users can use the bot in the selected bot channels.<\/li>\n<li><strong>For a Consumer Bot:<\/strong>\u00a0Any user can use the bot in the selected channels soon after the Bots Admin approves the publishing request.<\/li>\n<\/ul>\n<div class=\" alert alert-info\"><strong>Note<\/strong>: The process for publishing Universal Bots is not the same as publishing Standard Bots described in this article. To publish Universal Bots, see\u00a0<a href=\"\/v7-2\/docs\/bots\/bot-builder-tool\/develop\/bot-types\/universal-bot\/creating-a-universal-bot\/#step5\" target=\"_blank\" rel=\"noopener noreferrer\">Publishing a Universal Bot<\/a>.<\/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=\"Bot_Status\">Bot Status<\/span><\/h2>\n<p>Bot tasks and flows pass through the following stages:<\/p>\n<ul>\n<li><strong>In Progress: <\/strong>Bot developers have begun configuring the task but haven&#8217;t yet defined all the required configurations. This status applies only to Alert, Action, and Information tasks.<\/li>\n<li><strong>Configured<\/strong>\u00a0\u2013 The task\u00a0configuration is complete but the Bot Owner hasn&#8217;t yet published the task.<\/li>\n<li><strong>Awaiting Approval<\/strong> \u2013 The Bot Owner has published the task thus initiating a request to the Bots Admin, but the Bots Admin hasn&#8217;t yet approved the publishing request.<\/li>\n<li><strong>Published<\/strong> \u2013 The task\u00a0is published for personal, enterprise, or public use.<\/li>\n<li><strong>Upgrade in Progress<\/strong> &#8211; Bot developers have created an upgrade version of the published task to change any configurations,\u00a0but the configuration is not yet complete.<\/li>\n<li><strong>Rejected<\/strong>\u00a0\u2013\u00a0The Bots\u00a0Admin rejects the publishing request. An email is sent to the developer with comments from the Bots\u00a0Admin.<\/li>\n<li><strong>Suspended<\/strong> \u2013 The Bots Admin suspended use of a deployed bot in an enterprise. An email is sent to the developer with comments from the Bots Admin. While the end-users cannot access the suspended bots\/tasks, developers can work with the In-development copy of the bot.<\/li>\n<\/ul>\n<div class=\"alert alert-info\"><b>Notes:<\/b> A Published task cannot be deleted. However, administrators can Suspend a task if it is no longer required. You can also Upgrade a Suspended task to create a Configured copy and make any changes to the task definition.<\/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=\"Publishing_Tasks\">Publishing Tasks<\/span><\/h2>\n<p>Follow these steps to publish bot tasks:<\/p>\n<div class=\"alert alert-info\"><strong>Note<\/strong>: Only the owners of a bot can publish it. Even the developers with whom the bot is shared cannot publish it.<\/div>\n<ol>\n<li>Open the bot whose tasks you want to publish.<\/li>\n<li>Hover over the side navigation panel, and then click <strong>Publish<\/strong>. The <em>Publish<\/em> page opens with all the bot tasks selected by default.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/13\/Publish.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-14353 alignnone\" src=\"\/wp-content\/uploads\/sites\/13\/Publish.png\" alt=\"\" width=\"1342\" height=\"686\" \/><\/a><\/li>\n<li>Clear the check boxes of any tasks you do not want to publish, and then click <strong>Next<\/strong>.<\/li>\n<li>Enter any useful <strong>comments<\/strong> for the Bots Admin and click <strong>Confirm<\/strong>.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/13\/comments.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-14354 alignnone\" src=\"\/wp-content\/uploads\/sites\/13\/comments.png\" alt=\"\" width=\"1230\" height=\"233\" \/><\/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<h2><span class=\"ez-toc-section\" id=\"Bot_Publishing_Controls\">Bot Publishing Controls<\/span><\/h2>\n<p>Bots Platform provides publishing flow to allow the enterprise administrators to review new bots and bot updates before they are made available to end users. The publishing workflow applies to any bot component that impacts the end user.<\/p>\n<p>Every bot created in the Bots Platform has two states:<\/p>\n<ul>\n<li><b>In Development: <\/b>Developers can make changes to any of the bot components in this state. So, when the bot is first created it is by default in the In Development state. When you publish any bot components, a published state of these components is created and these components are also available in the In Development version of the bot so that you can continue to make any necessary changes to them.<\/li>\n<\/ul>\n<ul>\n<li><strong>Published:<\/strong> The bot components that have approved for publishing are available in the Published state of the bot. You cannot make changes to the Published version of the bot components. The developer can pick and choose what changes are to be published during the publishing process. Enterprise admins can review the changes are approve or reject the publish request.<\/li>\n<\/ul>\n<p>You can switch between the two bot states using the drop-down on the top right side of any bot window.<\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/13\/bot-status.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21917\" src=\"\/wp-content\/uploads\/sites\/13\/bot-status.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/13\/20221201095205\/bot-status.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/13\/20221201095205\/bot-status-300x169.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/13\/20221201095205\/bot-status-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<p>All the Dialog tasks irrespective of their status are displayed. You can view the Published tasks. If you want to edit the same, you need to upgrade the task from the Published state to In Development state.<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n\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=\"Publishable_Components\">Publishable Components<\/span><\/h3>\n<p>Every bot components that impact end-user interactions or experience go through the publishing workflow in the Bots Platform. These components are categorized into the following sections in the Publish window of the bot:<\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/13\/publish-components.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21918\" src=\"\/wp-content\/uploads\/sites\/13\/publish-components.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/13\/20221201095204\/publish-components.png 1366w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/13\/20221201095204\/publish-components-300x169.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/wp-content\/uploads\/sites\/13\/20221201095204\/publish-components-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<p>The following is the description and the list of bot components under these sections:<\/p>\n<table>\n<tbody>\n<tr>\n<td colspan=\"2\"><b>Tasks &amp; Languages<\/b><\/td>\n<\/tr>\n<tr>\n<td>Tasks (Dialog, Alert, Action, and Information)<\/td>\n<td>\n<ul>\n<li>Tasks without published versions<\/li>\n<li>Upgraded versions of the published tasks. It also includes language enablement. When you enable a new language in the In Development bot version, all the bot tasks appear in the publishing window with the checkbox for the new language enabled.<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>Knowledge Graph (per language)<\/td>\n<td>\n<ul>\n<li>Level 1 terms added<\/li>\n<li>Level 1 terms updated<\/li>\n<li>Traits: Replaces the traits\/classes in the Published version with the new set of traits\/classes in In Development version with all the additions, updates, and deletions.<\/li>\n<li>Synonyms: Replaces the Synonyms in the Published version with the new set of synonyms in the In Development version, with all the additions, updates, and deletions.<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td colspan=\"2\"><b>Natural Language<\/b><\/td>\n<\/tr>\n<tr>\n<td>NL Model<\/td>\n<td>\n<ul>\n<li>Bot Synonyms: Replaces the Synonyms in the Published version with the new set of synonyms in the In Development version, with all the additions, updates, and deletions.<\/li>\n<li>ML Utterances: Replaces the user utterances in the Published version with the new set of utterances from the In Development version, with all the additions, updates, and deletions.\n<div class=\"alert alert-info\"><b>Note<\/b>: Since ML utterances are tied to tasks, only the ML utterances associated with a task that is selected for publishing get published.<\/div>\n<\/li>\n<li>Task Patterns: Replaces the Task patterns in the Published version with the new set of task patterns from the In Development version, with all the additions, updates, and deletions.\n<div class=\"alert alert-info\"><b>Note<\/b>: Since Task patterns are tied to tasks, only the patterns associated with a task that is selected for publishing get published.<\/div>\n<\/li>\n<li>Field and Entity Patterns: Replaces the Field and Entity patterns in the Published version with the new set of Field and Entity patterns from the In Development version, with all the additions, updates, and deletions.<\/li>\n<li>Entity and Fields Synonyms: Replaces the Field and Entity synonyms in the Published version with the new set of Field and Entity synonyms from the In Development version, with all the additions, updates, and deletions.\n<div class=\"alert alert-info\"><b>Note<\/b>: Since the Entity and Field synonyms are tied to tasks, only the synonyms associated with a task that is selected for publishing get published.<\/div>\n<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td>Settings<\/td>\n<td>\n<ul>\n<li>Standard Responses: Replaces the full set of standard responses in the Published version with the ones in the In Development version, with all the additions, updates, and deletions.<\/li>\n<li>Default Dialog: Replaces the Default Dialog configuration in the Published version with the one in the In Development version.<\/li>\n<li>Amend Settings: Replaces the Amend Setting configuration in the Published version with the one in the In Development version.<\/li>\n<li>Ignore Words and Fields Memory: Replaces the full set of Ignore Words and Field Memory in the Published version with the ones in the In Development version, with all the additions, updates, and deletions.<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td colspan=\"2\"><b>Channels<\/b><\/td>\n<\/tr>\n<tr>\n<td>Channels<\/td>\n<td>\n<ul>\n<li>Replaces the channels in the Published version with the new channels enabled, published channels whose configuration were changed, and channels that are disabled in the In Development version.<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td colspan=\"2\"><b>Extensions<\/b><\/td>\n<\/tr>\n<tr>\n<td>Event Handlers<\/td>\n<td>The full set of selected events in the Published Version get replaced with the ones in the In Development version.<\/td>\n<\/tr>\n<tr>\n<td>BotKit<\/td>\n<td>The BotKit configuration in the Published Version gets replaced with the configuration in the In Development version.<\/td>\n<\/tr>\n<tr>\n<td>Agent Transfer<\/td>\n<td>The Agent Transfer configuration in the Published Version gets replaced with the configuration in the In Development version.<\/td>\n<\/tr>\n<tr>\n<td>Web \/ Mobile SDK<\/td>\n<td>The Web \/ Mobile SDK Configuration configuration in the Published Version gets replaced with the configuration in the In Development version.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td colspan=\"2\"><b>Settings<\/b><\/td>\n<\/tr>\n<tr>\n<td>General Settings<\/td>\n<td>Replaces General Settings in the Published version with the ones in the In Development version.<\/td>\n<\/tr>\n<tr>\n<td>Bot Variables<\/td>\n<td>Replaces the Bot Variables in the Published version with the ones in the In Development version.<\/td>\n<\/tr>\n<tr>\n<td>PII Settings<\/td>\n<td>Replaces the PII settings in the Published version with the ones in the In Development version.<\/td>\n<\/tr>\n<tr>\n<td>IVR Settings<\/td>\n<td>Replaces the IVR Settings in the Published version with the ones in the In Development version.<\/td>\n<\/tr>\n<tr>\n<td>Hold &amp; Resume Settings<\/td>\n<td>Replaces the Hold &amp; Resume Settings in the Published version with the ones in the In Development version.<\/td>\n<\/tr>\n<tr>\n<td>Custom Script<\/td>\n<td>Replaces the Custom Script file in the Published version with the ones in the In Development version.<\/td>\n<\/tr>\n<tr>\n<td>Advanced Settings<\/td>\n<td>Replaces the following in the Published version with the ones in the In Development version:<br \/>\n&#8211; Language Detection Preference<br \/>\n&#8211; Subdomain<br \/>\n&#8211; Show link for task setup\/execution<br \/>\n&#8211; Error Messages<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div><\/div>\n<div class=\"alert alert-info\"><b>Note<\/b>: Some options slightly differ for Universal bots to reflect their publishing workflow. The following table lists the options in Standard bots that are different or not applicable to Universal bots. <a href=\"\/v7-2\/docs\/bots\/bot-builder\/bot-types\/defining-universal-bots\/\" target=\"_blank\" rel=\"noopener noreferrer\">Learn about Universal Bots.<\/a><\/div>\n<div><\/div>\n<table>\n<tbody>\n<tr>\n<td>Standard Bots<\/td>\n<td>Universal Bots<\/td>\n<\/tr>\n<tr>\n<td>Tasks &amp; Languages<\/td>\n<td>Linked Bots<\/td>\n<\/tr>\n<tr>\n<td>Natural Language:<\/p>\n<ul>\n<li>NL Model<\/li>\n<li>Settings<\/li>\n<\/ul>\n<\/td>\n<td>Natural Language:<\/p>\n<ul>\n<li>Standard Responses<\/li>\n<li>Default Dialog<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>Settings:<\/p>\n<ul>\n<li>Bot Variable<\/li>\n<\/ul>\n<\/td>\n<td>Not applicable<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n\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=\"Components_not_Published\">Components not Published<\/span><\/h3>\n<p>The publishing workflow doesn\u2019t apply to the following bot components as they do not either impact end customers or do only when used as part of a task definition. When you access these bot components from the bot either In Development or Published version, they show the same information.<\/p>\n<ul>\n<li>Batch Testing (including custom suits and test reports)<\/li>\n<li>Manage Developer Access<\/li>\n<li>App Creation, Resetting, and Deletion<\/li>\n<li>Language enablement: When you enable a new language in the &#8220;In Development&#8221; version of the bot, the publishing workflow works similar to publishing tasks- you need to publish all the bot tasks all over again by selecting the checkbox for the newly enabled language.<\/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=\"Approve_All\">Approve All<\/span><\/h3>\n<p>Bot Admins can set up auto-approval for any updates made to Enterprise or Consumer bots in your account using the following steps:<\/p>\n<ol>\n<li>Open the Admin Console.<\/li>\n<li>Go to <b>Bots Management &gt; Consumer Bots<\/b> or <b>Bots Management &gt; Enterprise Bots<\/b>.<\/li>\n<li>Click the more icon for the required bot and select <strong>Bot Settings<\/strong>.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/13\/bot-settings-1024x137.png\" rel=\"attachment wp-att-15470\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-15470 alignnone\" src=\"\/wp-content\/uploads\/sites\/13\/bot-settings-1024x137.png\" alt=\"\" width=\"709\" height=\"95\" \/><\/a><\/li>\n<li>On the Bot Settings window, select <b>Auto Approve<\/b>.<\/li>\n<li>Select <b>Auto approve all publish requests for this bot<\/b>.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/13\/Auto-Approve-All.png\" rel=\"attachment wp-att-15471\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-15471 alignnone\" src=\"\/wp-content\/uploads\/sites\/13\/Auto-Approve-All.png\" alt=\"\" width=\"386\" height=\"208\" \/><\/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><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"End users can interact with a bot only when it is published.\u00a0When you publish a Bot task,\u00a0 the platform initiates a request to the Bots\u00a0Admin to approve it. Depending on the\u00a0Purpose\u00a0defined for the bot during its initial set up, the following happens: For an Employee Bot:\u00a0The Bots Admin needs to select users from the enterprise...","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35],"tags":[],"class_list":["post-17931","post","type-post","status-publish","format-standard","hentry","category-publish"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/posts\/17931","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/comments?post=17931"}],"version-history":[{"count":9,"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/posts\/17931\/revisions"}],"predecessor-version":[{"id":22973,"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/posts\/17931\/revisions\/22973"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/media?parent=17931"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/categories?post=17931"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-2\/wp-json\/wp\/v2\/tags?post=17931"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}