{"id":17980,"date":"2017-03-07T15:34:33","date_gmt":"2017-03-07T15:34:33","guid":{"rendered":"https:\/\/developer.kore.com\/?post_type=docs&#038;p=10250"},"modified":"2023-02-15T11:48:25","modified_gmt":"2023-02-15T11:48:25","slug":"general-settings","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-settings\/general-settings\/","title":{"rendered":"General Settings"},"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-6ae879ded05d5\" data-id=\"6ae879ded05d5\" 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>To modify the general settings of a bot:<\/p>\n<ol>\n<li>Select the\u00a0<strong>Build<\/strong> tab from the top.<\/li>\n<li>Click\u00a0<strong>Configuration &gt; General Settings<\/strong>.<\/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\/20230215112223\/build-configurations-general-settings.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\/20230215112223\/build-configurations-general-settings-1024x481.png\" alt=\"Bot General Settings\" width=\"640\" height=\"301\" class=\"alignnone size-large wp-image-54258\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230215112223\/build-configurations-general-settings-1024x481.png 1024w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230215112223\/build-configurations-general-settings-300x141.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230215112223\/build-configurations-general-settings.png 1921w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/ol>\n<h2 id=\"gen-settings\"><span class=\"ez-toc-section\" id=\"General_Bot_Settings\">General Bot Settings<\/span><\/h2>\n<p>Modify one or more of the settings described in the following table.<\/p>\n<table>\n<thead>\n<tr>\n<th>Field<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Bot Name<\/td>\n<td>The name of the Bot. When a Bot is published, the <strong>Name<\/strong> cannot be changed. This field is required.<\/td>\n<\/tr>\n<tr>\n<td>Description<\/td>\n<td>The description of the Bot. This field is required.<\/td>\n<\/tr>\n<tr>\n<td>Icon<\/td>\n<td>The icon\u00a0image for\u00a0the Bot\u00a0displayed in Bot\u00a0Builder, Bots Marketplace, and the end-user interface as shown in the previous illustration. The image format must be <span style=\"color: #0000ff\">.png<\/span> and best results are obtained using a 200 x 200-pixel image. This field is required.<\/td>\n<\/tr>\n<tr>\n<td>Target Audience<\/td>\n<td>\n<ul>\n<li>Select <strong style=\"font-family: inherit;font-size: inherit\">General Public<\/strong><span style=\"font-family: inherit;font-size: inherit\"> if the bot is for public use for both managed and unmanaged users in your domain. Bot assignments are not required and when the Bots Admin deploys the bot, it is available for use by all domain users. Use this option to make a bot widely available for all user types.<\/span><\/li>\n<li>Select <strong style=\"font-family: inherit;font-size: inherit\">Enterprise Users<\/strong><span style=\"font-family: inherit;font-size: inherit\"> if the bot is for managed users only in a domain, for example, for your employees or paid customers. After the Bots Admin approves and deploys this bot, it is not available to any managed users unless explicitly assigned by the Bots Admin. Use this option when you want to control which managed users in your domain can access and set up this bot on their devices.<\/span><\/li>\n<\/ul>\n<p>Once <strong>Target Audience<\/strong> is defined and saved, you cannot change them.<\/td>\n<\/tr>\n<tr>\n<td>Default Bot Language<\/td>\n<td>This is uneditable and is set at the time of Bot creation.<\/td>\n<\/tr>\n<tr>\n<td>Bot Id<\/td>\n<td>Non-editable, assigned by the platform. Can be copied for use in API calls etc..<\/td>\n<\/tr>\n<tr>\n<td>Variable Namespaces<\/td>\n<td>You can categorize variables using Namespaces and map them to various components. The XO Platform will load the variables only from the mapped namespaces while executing specific components. <a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-settings\/bot-management\/managing-namespace\/\">Learn more<\/a>.<\/td>\n<\/tr>\n<tr>\n<td>Subdomain (Tenancy)<\/td>\n<td>\n<p>Click <strong>Yes<\/strong> to enable the use of tenancy. When the tenancy is defined, the end-user is prompted to enter a tenant name as part of the URL for the Bot, for example, <span style=\"color: #0000ff\"><em>kore<\/em>,<span style=\"color: #333333\"> for the\u00a0<span style=\"color: #0000ff\">www.<strong><em>kore<\/em><\/strong>.someWebService.com<\/span> tenant-specific URL.<\/span><\/span> When enabled define the following properties:<\/p>\n<ul>\n<li><strong>Help Hint<\/strong> &#8211; The text displayed to the end-user to prompt the user to enter a tenant-specific URL for the Bot.<\/li>\n<li><strong>Base\u00a0URL<\/strong> &#8211; The base URL for the Bot that the end-user must specify their company to complete the tenant-specific URL using the following syntax: <span style=\"color: #0000ff\"> https:\/\/{tenant}.someWebService.com<span style=\"color: #333333\">\u00a0where<\/span>\u00a0{tenant}<span style=\"color: #333333\">, including the braces, represents the tenant name.<\/span><\/span><span style=\"color: #0000ff\"><span style=\"color: #333333\">\u00a0<\/span><\/span><\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>Show link for task setup\/execution<\/td>\n<td>\n<ul>\n<li>Select <strong style=\"font-family: inherit;font-size: inherit\">Yes<\/strong><span style=\"font-family: inherit;font-size: inherit\"> to display a link to enable the choice for a user to input information used to execute a task in a user interface form or input the data directly into the message input field, for example, <\/span><span style=\"color: #333333\"><em>Enter the title for new Asana task. To make edits, click <span style=\"color: #0000ff\">here.<\/span>\u00a0<\/em><\/span><span style=\"font-family: inherit;font-size: inherit\">where\u00a0<\/span><em style=\"font-family: inherit;font-size: inherit\"><span style=\"color: #0000ff\">here<\/span><\/em><span style=\"font-family: inherit;font-size: inherit\"> is a link to a form with fields.<\/span><\/li>\n<li>When <strong style=\"font-family: inherit;font-size: inherit\">No<\/strong><span style=\"font-family: inherit;font-size: inherit\"> is selected, the user can only input information for the task in the message input field. For example, <\/span><em style=\"font-family: inherit;font-size: inherit\">Enter the title for new Asana task<\/em><span style=\"font-family: inherit;font-size: inherit\">.<\/span><\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>Error Message(s)<\/td>\n<td>Edit or add custom <strong>HTTP Status Codes<\/strong> and error messages for your Bot. For more information, see <a href=\"\/docs\/bots\/bot-settings\/customizing-error-messages\/\">Customizing Error Messages<\/a>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>To save the Bot settings, click <strong>Save<\/strong>. The <em>&lt; <strong>Bot Name<\/strong> &gt; updated successfully<\/em> message is displayed.<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"ult-spacer spacer-6ae879ded0a5d\" data-id=\"6ae879ded0a5d\" 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<h2 id=\"gen-settings\"><span class=\"ez-toc-section\" id=\"Customizing_Error_Messages\">Customizing Error Messages<\/span><\/h2>\n<p>In Bot Builder, each Bot and task contains a set of predefined error messages along with actions for standard HTTP Status codes returned for an HTTP Request method. In most cases, the default response and action are sufficient for an end-user response, however, you may need to handle other HTTP Status codes not defined by default, or customize the error message itself, or change the default response by Kore.ai in the event of an error. This topic describes how to customize and create error messages for Kore.ai Bots and tasks. When you create a Bot or a task, you can add or customize error messages for HTTP Status codes in the <strong>Error Messages<\/strong> section of the Bot or task settings. <a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230215113143\/general-settings-error-messages.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\/20230215113143\/general-settings-error-messages-1024x481.png\" alt=\"General Settings for Error Messages\" width=\"640\" height=\"301\" class=\"alignnone size-large wp-image-54262\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230215113143\/general-settings-error-messages-1024x481.png 1024w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230215113143\/general-settings-error-messages-300x141.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230215113143\/general-settings-error-messages.png 1921w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><br \/>\n<\/a><\/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 id=\"ErrorCode\"><span class=\"ez-toc-section\" id=\"Custom_Status_Codes\">Custom Status Codes<\/span><\/h3>\n<p>There are approximately 25 HTTP Status codes defined by default for a Bot or task. <strong>To customize an HTTP Status code<\/strong><\/p>\n<ol>\n<li>Open the Bot or task in Bot Builder<\/li>\n<li>Select\u00a0<strong>Build<\/strong> tab from top menu<\/li>\n<li>From the left menu click <strong>Configurations -&gt; General Settings <\/strong><\/li>\n<li>Scroll down to locate the <strong>Error Messages<\/strong> section.<\/li>\n<li>Click the <strong>Edit<\/strong>\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"icon alignnone wp-image-8454\" src=\"\/wp-content\/uploads\/sites\/35\/EditIcon.png\" alt=\"Edit Icon\" width=\"20\" height=\"20\" \/>\u00a0icon for the code that you want to customize to open the\u00a0<strong>Setup Error Message<\/strong> dialog. <a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230215113604\/general-settings-error-messages-setup.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\/20230215113604\/general-settings-error-messages-setup.png\" alt=\"Setup Error Message\" width=\"500\" height=\"447\" class=\"alignnone size-full wp-image-54265\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230215113604\/general-settings-error-messages-setup.png 718w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230215113604\/general-settings-error-messages-setup-300x268.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><br \/>\n<\/a><\/li>\n<li>In the <strong>Message Type<\/strong> field, select one of:\n<ul>\n<li><strong>Custom<\/strong> &#8211; Displays a\u00a0<strong>Custom Message<\/strong> field to define an error-specific message for the end-user.<\/li>\n<li><strong>Source<\/strong> &#8211; Displays the <strong>Error Paths<\/strong> field where you can define the JSON path from the JSON response payload for HTTP Status codes other than those in the 2XX range (success messages).<\/li>\n<\/ul>\n<\/li>\n<li>In the <strong>Action<\/strong> field, specify the action to take when the number of consecutive errors defined in the <strong>Error Recurrence<\/strong>\u00a0field is reached. Select one of:\n<ul>\n<li><strong>Disable<\/strong> &#8211; The task\u00a0is set to <strong>Inactive<\/strong>\u00a0when the error occurs. The end-user can activate the task\u00a0when needed.<\/li>\n<li><strong>Reschedule<\/strong> &#8211; Displays the <strong>Retry Interval<\/strong> field used to define the elapsed time\u00a0in minutes\u00a0after which to retry the task\u00a0when the error occurs.<\/li>\n<li><strong>Disable Auth<\/strong> &#8211; When the error occurs, the authorization mechanism defined for the task is disabled. Any other task that uses the same authorization mechanism is also disabled.<\/li>\n<li><strong>Notify<\/strong> &#8211; Displays the error message in the end-user interface.<\/li>\n<\/ul>\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\/20230215114427\/general-settings-error-messages-setup-actions.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\/20230215114427\/general-settings-error-messages-setup-actions.png\" alt=\"Setup Error Message Actions\" width=\"500\" height=\"450\" class=\"alignnone size-full wp-image-54268\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230215114427\/general-settings-error-messages-setup-actions.png 714w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230215114427\/general-settings-error-messages-setup-actions-300x271.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/li>\n<li>In the <strong>Message<\/strong> field (available only for the default messages), enter the text message displayed to the end-user.<\/li>\n<li>In the <strong>Error Recurrence<\/strong>\u00a0field, specify the number of consecutive error codes must be returned before the action is executed. By default, the\u00a0<strong>Error Recurrence<\/strong>\u00a0field\u00a0is set to &#8221; <span style=\"color: #0000ff\">1<\/span> &#8220;.<\/li>\n<li>Click <strong>Add<\/strong>\u00a0to save and close the <strong>Setup Error Message<\/strong> dialog for your custom error message.<\/li>\n<\/ol>\n<p>To create a new HTTP Status code, click <strong>Add Error Message<\/strong>,\u00a0define the fields for your new code as described in the preceding section, and then click <strong>Add.<\/strong><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"ult-spacer spacer-6ae879ded0dc2\" data-id=\"6ae879ded0dc2\" 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":"To modify the general settings of a bot: Select the\u00a0Build tab from the top. Click\u00a0Configuration &gt; General Settings. General Bot Settings Modify one or more of the settings described in the following table. Field Description Bot Name The name of the Bot. When a Bot is published, the Name cannot be changed. This field is...","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[65],"tags":[],"class_list":["post-17980","post","type-post","status-publish","format-standard","hentry","category-bot-settings"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/17980","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=17980"}],"version-history":[{"count":13,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/17980\/revisions"}],"predecessor-version":[{"id":54271,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/17980\/revisions\/54271"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=17980"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=17980"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=17980"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}