{"id":17754,"date":"2016-06-13T10:21:08","date_gmt":"2016-06-13T10:21:08","guid":{"rendered":"http:\/\/apidocs.kore.com\/?post_type=docs&#038;p=2640"},"modified":"2020-07-10T12:10:30","modified_gmt":"2020-07-10T11:10:30","slug":"integrating-with-salesforce","status":"publish","type":"post","link":"https:\/\/multisite.korebots.com\/v9-0\/docs\/bots\/bot-store\/adding-bots\/integrating-with-salesforce\/","title":{"rendered":"Adding a Salesforce Bot"},"content":{"rendered":"<section class=\"l-section wpb_row height_auto\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_grid cols_1 laptops-cols_inherit tablets-cols_inherit mobiles-cols_1 valign_top type_default stacking_default\"><div class=\"wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p>Kore.ai provides integration for a built-in <em>Salesforce<\/em>\u00a0Bot\u00a0that you can use to display\u00a0message notifications and execute tasks directly\u00a0from the\u00a0Kore.ai application. To use the <em>Salesforce<\/em>\u00a0Bot, you just need to add the Bot to your Kore.ai account, and then configure the settings for the Bot, such as authentication to access <em>Salesforce<\/em>, and the\u00a0notification messages that you want. This topic describes the <em>Salesforce<\/em>\u00a0built-in Bot\u00a0for Kore.ai.\u00a0For more information about other Kore.ai Bots, see\u00a0<a href=\"\/docs\/bots\/about-kore-bots\/addingbots\/\">Adding Bots<\/a>.<\/p>\n<h1><span class=\"ez-toc-section\" id=\"About_the_Koreai_Bot_for_Salesforce\"><\/span><span class=\"wysiwyg-font-size-x-large\">About the Kore.ai Bot for\u00a0Salesforce<\/span><span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p><img decoding=\"async\" class=\"logo2 alignleft\" src=\"\/wp-content\/uploads\/sites\/22\/DIYSalesforceLogo-2.png\" alt=\"DIYSalesforceLogo\" \/><em>Salesforce<\/em> is the leader in cloud computing, offering applications for all aspects of your business, including CRM, sales, ERP, customer service, marketing automation, business analytics, mobile application building, and much more. And it all works on the same, connected platform, drawing from the same customer data.<\/p>\n<table border=\"0\" width=\"90%\">\n<tbody>\n<tr>\n<td><strong>Integration Type<\/strong><\/td>\n<td><strong>Web Service<\/strong> &#8211; Connect to this Bot using a web service integration where Kore.ai polls the service for updates based on a specified interval.<\/td>\n<\/tr>\n<tr>\n<td><strong>Category<\/strong><\/td>\n<td><strong>Customer Relationship Management (CRM)<\/strong>\u00a0&#8211; This Bot is available in the Kore.ai application in the\u00a0<strong>CRM<\/strong>\u00a0category.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h1><span class=\"ez-toc-section\" id=\"Configuring_Salesforce\"><\/span><span class=\"wysiwyg-font-size-x-large\">Configuring\u00a0<em>Salesforce<\/em><\/span><span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>To configure web service tasks, you need to add the <em>Salesforce\u00a0<\/em>Bot from the Kore.ai <strong>Marketplace<\/strong>tab in the Kore.ai application, and then setup the task.<br \/>\nTo setup a <em>Salesforce<\/em>\u00a0task, click <strong>Connect to Salesforce<\/strong>, enter the\u00a0<em>Salesforce<\/em>\u00a0URL for your company, for example,\u00a0<span style=\"color: #0000ff\">https:\/\/salesforce.com<\/span>, your <em>Salesforce<\/em>\u00a0account user name (not your email address), your password, and then press <strong>Enter<\/strong>.<br \/>\nAfter you are connected, you can perform tasks for\u00a0<em>Salesforce<\/em><em>\u00a0<\/em>directly from the Kore.ai application and setup message notifications to get notified in the Kore.ai application when an event occurs in\u00a0<em>Salesforce<\/em>.<br \/>\nThe following table describes <em>Salesforce<\/em>\u00a0tasks that you can integrate with Kore.ai.<\/p>\n<table border=\"0\" width=\"90%\">\n<tbody>\n<tr>\n<th><strong>TASK<\/strong><\/th>\n<th>TO CONFIGURE THIS TASK&#8230;<\/th>\n<\/tr>\n<tr>\n<td><strong>Add Opportunity to Note<\/strong><\/td>\n<td>In the <strong>Perform Task<\/strong> dialog,<\/p>\n<ul>\n<li>search for an <strong>Opportunity<\/strong><\/li>\n<li>enter a <strong>Title<\/strong><\/li>\n<li>optionally enter a <strong>Description<\/strong>.<\/li>\n<\/ul>\n<p>In a space room, you can enter the\u00a0<span style=\"color: #0000ff\">@salesforce addoppnote<\/span> <strong>Bot\u00a0<\/strong>command to invoke and configure this task.<\/td>\n<\/tr>\n<tr>\n<td><strong>Change\u00a0Lead Status<\/strong><\/td>\n<td>In the <strong>Perform Task<\/strong> dialog,<\/p>\n<ul>\n<li>search for a <strong>Lead<\/strong><\/li>\n<li>and then select a <strong>Lead Status<\/strong>.<\/li>\n<\/ul>\n<p>In a space room, you can enter the\u00a0<span style=\"color: #0000ff\">@salesforce updtleadstat<\/span><strong> Bot\u00a0<\/strong>command to invoke and configure this task.<\/td>\n<\/tr>\n<tr>\n<td><strong>Change Opportunity Owner<\/strong><\/td>\n<td>In the <strong>Perform Task<\/strong> dialog,<\/p>\n<ul>\n<li>search for an\u00a0<strong>Opportunity<\/strong><\/li>\n<li>and then select an\u00a0<strong>Owner<\/strong>.<\/li>\n<\/ul>\n<p>In a space room, you can enter the <span style=\"color: #0000ff\">@salesforce changeoppowner<\/span>\u00a0<strong>Bot\u00a0<\/strong>command to invoke and configure this task.<\/td>\n<\/tr>\n<tr>\n<td><strong>Create\u00a0Case<\/strong><\/td>\n<td>In the <strong>Perform Task<\/strong> dialog,<\/p>\n<ul>\n<li>enter a <strong>Subject<\/strong><\/li>\n<li>select a <strong>Status<\/strong><\/li>\n<li>select an\u00a0<strong>Origin<\/strong><\/li>\n<li>optionally enter a <strong>Description<\/strong><\/li>\n<li>optionally select a <strong>Type<\/strong><\/li>\n<li>optionally select a <strong>Priority<\/strong>.<\/li>\n<\/ul>\n<p>In a space room, you can enter the\u00a0<span style=\"color: #0000ff\">@salesforce newcase<\/span> <strong>Bot<\/strong> command to invoke and configure this task.<\/td>\n<\/tr>\n<tr>\n<td><strong>Create\u00a0Contact<\/strong><\/td>\n<td>In the <strong>Perform Task<\/strong> dialog,<\/p>\n<ul>\n<li>enter a <strong>Name<\/strong><\/li>\n<li>optionally enter an\u00a0<strong>Email address<\/strong><\/li>\n<li>optionally enter a <strong>Phone number<\/strong><\/li>\n<li>optionally enter a <strong>Description<\/strong>.<\/li>\n<\/ul>\n<p>In a space room, you can enter the\u00a0<span style=\"color: #0000ff\">@salesforce newcontact<\/span>\u00a0<strong>Bot\u00a0<\/strong>command to invoke and configure this task.<\/td>\n<\/tr>\n<tr>\n<td><strong>Create\u00a0Lead<\/strong><\/td>\n<td>In the <strong>Perform Task<\/strong> dialog,<\/p>\n<ul>\n<li>enter a <strong>Name<\/strong><\/li>\n<li>select a <strong>Status<\/strong><\/li>\n<li>enter a <strong>Company<\/strong><\/li>\n<li>optionally enter an\u00a0<strong>Email address<\/strong><\/li>\n<li>optionally enter a\u00a0<strong>Phone number<\/strong><\/li>\n<li>optionally enter \u00a0a\u00a0<strong>Description<\/strong>.<\/li>\n<\/ul>\n<p>In a space room, you can enter the\u00a0<span style=\"color: #0000ff\">@salesforce newlead<\/span>\u00a0<strong>Bot<\/strong> command to invoke and configure this task.<\/td>\n<\/tr>\n<tr>\n<td><strong>Create\u00a0Opportunity<\/strong><\/td>\n<td>In the <strong>Perform Task<\/strong> dialog,<\/p>\n<ul>\n<li>enter an <strong>Opportunity Name<\/strong><\/li>\n<li>select a <strong>Closed Date<\/strong><\/li>\n<li>select a <strong>Stage<\/strong><\/li>\n<li>optionally select a <strong>Type<\/strong><\/li>\n<li>optionally select a <strong>Lead Source<\/strong><\/li>\n<li>optionally enter an <strong>Amount<\/strong>.<\/li>\n<\/ul>\n<p>In a space room, you can enter the\u00a0<span style=\"color: #0000ff\">@salesforce newopp<\/span> <strong>Bot<\/strong> command to invoke and configure this task.<\/td>\n<\/tr>\n<tr>\n<td><strong>Recently Closed Opportunities<\/strong><\/td>\n<td>In the <strong>Perform Task<\/strong> dialog, select\u00a0<strong>Send Opportunities that closed in the last<\/strong> to generate the report.<br \/>\nIn a space room, you can enter the \u00a0<span style=\"color: #0000ff\">@salesforce getrcopps<\/span>\u00a0<strong>Bot\u00a0<\/strong>command to invoke and configure this task.<\/td>\n<\/tr>\n<tr>\n<td><strong>Update Contact<\/strong><\/td>\n<td>In the <strong>Perform Task<\/strong> dialog,<\/p>\n<ul>\n<li>search for a <strong>Contact<\/strong><\/li>\n<li>optionally enter the\u00a0<strong>Lastname<\/strong><\/li>\n<li>optionally enter the\u00a0<strong>Firstname<\/strong><\/li>\n<li>optionally enter an\u00a0<strong>Email address<\/strong><\/li>\n<li>optionally enter a\u00a0<strong>Phone number<\/strong><\/li>\n<li>optionally enter a <strong>Description<\/strong>.<\/li>\n<\/ul>\n<p>In a space room, you can enter the\u00a0<span style=\"color: #0000ff\">@salesforce updtcontact<\/span>\u00a0<strong>Bot\u00a0<\/strong>command to invoke and configure this task.<\/td>\n<\/tr>\n<tr>\n<td><strong>Top Opportunities<\/strong><\/td>\n<td>In the <strong>Perform Task<\/strong> dialog, enter\u00a0<strong>Number of Opportunities<\/strong>.<br \/>\nIn a space room, you can enter the\u00a0<span style=\"color: #0000ff\">@salesforce gettopopps<\/span>\u00a0<strong>Bot\u00a0<\/strong>command to invoke and configure this task.<\/td>\n<\/tr>\n<tr>\n<td><strong>Update Opportunity\u00a0<\/strong><\/td>\n<td>In the <strong>Perform Task<\/strong> dialog,<\/p>\n<ul>\n<li>search for an <strong>Opportunity<\/strong><\/li>\n<li>optionally enter an <strong>Amount<\/strong><\/li>\n<li>optionally select a <strong>Closed Date<\/strong><\/li>\n<li>optionally select a <strong>Stage<\/strong><\/li>\n<li>optionally select a <strong>Type<\/strong>.<\/li>\n<\/ul>\n<p>In a space room, you can enter the <span style=\"color: #0000ff\">@salesforce updtoppstat<\/span>\u00a0<strong>Bot\u00a0<\/strong>command to invoke and configure this task.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>You can setup message notifications to your Kore.ai account using a <em>Salesforce<\/em><em>\u00a0<\/em>web service. Click\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"inline alignnone\" src=\"\/wp-content\/uploads\/sites\/22\/newtask.png\" alt=\"\" width=\"30\" height=\"34\" \/>, click <strong>Get notified when&#8230;<\/strong>, and then click one of the following <em>Salesforce<\/em><em>\u00a0<\/em>web services described in the following table.<\/p>\n<table border=\"0\" width=\"498\">\n<tbody>\n<tr>\n<th>TASK<\/th>\n<th>TO CONFIGURE THIS TASK&#8230;<\/th>\n<\/tr>\n<tr>\n<td><strong>Case\u00a0Updates<\/strong><\/td>\n<td>In the <strong>Setup Task<\/strong> dialog,<\/p>\n<ul>\n<li>optionally, click the gray box in\u00a0<strong>Filters<\/strong>\u00a0to setup one or more filters to prevent message notifications for specified criteria. You can filter on one or more of the following:\n<ul>\n<li><strong>Status<\/strong><\/li>\n<li><strong>Priority<\/strong><\/li>\n<li>Click <strong>Done<\/strong> to save the filter.<\/li>\n<\/ul>\n<\/li>\n<li>optionally customize the <strong>Task Name\u00a0<\/strong><\/li>\n<li>optionally customize the <strong>Short Description<\/strong><\/li>\n<li>enable or disable <strong>Mute task notifications<\/strong><\/li>\n<li>optionally customize the interval for message notifications in the\u00a0<strong>Check for updates<\/strong>\u2026 section<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>Opportunity Closed Lost<\/strong><\/td>\n<td>In the <strong>Setup Task<\/strong> dialog,<\/p>\n<ul>\n<li>optionally customize the <strong>Task Name\u00a0<\/strong><\/li>\n<li>optionally customize the <strong>Short Description<\/strong><\/li>\n<li>enable or disable <strong>Mute task notifications<\/strong><\/li>\n<li>optionally customize the interval for message notifications in the\u00a0<strong>Check for updates<\/strong>\u2026 section<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>Opportunity Closed Won<\/strong><\/td>\n<td>In the <strong>Setup Task<\/strong> dialog,<\/p>\n<ul>\n<li>optionally customize the\u00a0<strong>Task Name<\/strong><\/li>\n<li>optionally customize the\u00a0<strong>Short Description<\/strong><\/li>\n<li>enable or disable\u00a0<strong>Mute task notifications<\/strong><\/li>\n<li>optionally customize the interval for message notifications in the\u00a0<strong>Check for updates<\/strong>\u2026 section<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>Opportunity Updates<\/strong><\/td>\n<td>In the <strong>Setup Task<\/strong> dialog,<\/p>\n<ul>\n<li>optionally, click the gray box in\u00a0<strong>Filters<\/strong>\u00a0to setup one or more filters to prevent message notifications for specified criteria. You can filter on one or more of the following:\n<ul>\n<li><strong>Account Name<\/strong><\/li>\n<li><strong>Amount<\/strong><\/li>\n<li><strong>Opportunity Name<\/strong><\/li>\n<li><strong>Owner<\/strong><\/li>\n<li>Click <strong>Done<\/strong> to save the filter.<\/li>\n<\/ul>\n<\/li>\n<li>optionally customize the <strong>Task Name\u00a0<\/strong><\/li>\n<li>optionally customize the <strong>Short Description<\/strong><\/li>\n<li>enable or disable <strong>Mute task notifications<\/strong><\/li>\n<li>optionally customize the interval for message notifications in the\u00a0<strong>Check for updates<\/strong>\u2026 section<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>Opportunity Created\/Updated over $x<\/strong><\/td>\n<td>In the <strong>Setup Task<\/strong> dialog,<\/p>\n<ul>\n<li>enter <strong>Amount<\/strong><\/li>\n<li>optionally customize the <strong>Task Name\u00a0<\/strong><\/li>\n<li>optionally customize the <strong>Short Description<\/strong><\/li>\n<li>enable or disable <strong>Mute task notifications<\/strong><\/li>\n<li>optionally customize the interval for message notifications in the\u00a0<strong>Check for updates<\/strong>\u2026 section<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>Lead Updates<\/strong><\/td>\n<td>In the <strong>Setup Task<\/strong> dialog,<\/p>\n<ul>\n<li>optionally, click the gray box in\u00a0<strong>Filters<\/strong>\u00a0to setup one or more filters to prevent message notifications for specified criteria. You can filter on one or more of the following:\n<ul>\n<li><strong>Lead Source<\/strong><\/li>\n<li><strong>Assignee<\/strong><\/li>\n<li>Click <strong>Done<\/strong> to save the filter.<\/li>\n<\/ul>\n<\/li>\n<li>optionally customize the <strong>Task Name\u00a0<\/strong><\/li>\n<li>optionally customize the <strong>Short Description<\/strong><\/li>\n<li>enable or disable <strong>Mute task notifications<\/strong><\/li>\n<li>optionally customize the interval for message notifications in the\u00a0<strong>Check for updates<\/strong>\u2026 section<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h1><span class=\"ez-toc-section\" id=\"Next_Steps\"><\/span><em><span class=\"wysiwyg-font-size-x-large\">Next Steps<\/span><\/em><span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>After <em>Salesforce<\/em><em>\u00a0<\/em>\u00a0is configured as web service, when any of the events occur in <em>Salesforce<\/em>, a message is displayed on the <strong>Bots<\/strong> tab in the <strong>Messages<\/strong> section for the Kore.ai account.<\/p>\n<\/div><\/div><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><\/section>\n","protected":false},"excerpt":{"rendered":"Kore.ai provides integration for a built-in Salesforce\u00a0Bot\u00a0that you can use to display\u00a0message notifications and execute tasks directly\u00a0from the\u00a0Kore.ai application. To use the Salesforce\u00a0Bot, you just need to add the Bot to your Kore.ai account, and then configure the settings for the Bot, such as authentication to access Salesforce, and the\u00a0notification messages that you want. This...","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts\/17754"}],"collection":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/comments?post=17754"}],"version-history":[{"count":3,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts\/17754\/revisions"}],"predecessor-version":[{"id":23960,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts\/17754\/revisions\/23960"}],"wp:attachment":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/media?parent=17754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/categories?post=17754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/tags?post=17754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}