{"id":51997,"date":"2023-01-21T15:07:09","date_gmt":"2023-01-21T15:07:09","guid":{"rendered":"https:\/\/developer.kore.ai\/v10-1\/?p=51997"},"modified":"2023-03-09T15:07:04","modified_gmt":"2023-03-09T15:07:04","slug":"using-the-salesforce-crm-action-templates","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/integrations\/using-the-salesforce-crm-action-templates\/","title":{"rendered":"Using the Salesforce CRM Action Templates"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">You can use the <\/span><b>Prebuilt Action Templates <\/b><span style=\"font-weight: 400;\">from your Salesforce integration to auto create dialog tasks and test them using the <\/span><b>Talk to Bot<\/b><span style=\"font-weight: 400;\"> option.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Steps to create a dialog task using Salesforce action templates:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Go to <\/span><b>Build &gt; Conversation Skills <\/b><span style=\"font-weight: 400;\">and then click the <\/span><b>Dialog Tasks<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click the <\/span><b>Create a Dialog Task<\/b><span style=\"font-weight: 400;\"> to create a new task.<\/span><br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127105135\/create_dailog_task.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1899\" height=\"901\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127105135\/create_dailog_task.png\" alt=\"\" class=\"alignnone size-medium wp-image-53142\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127105135\/create_dailog_task.png 1899w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127105135\/create_dailog_task-300x142.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127105135\/create_dailog_task-1024x486.png 1024w\" sizes=\"auto, (max-width: 1899px) 100vw, 1899px\" \/><\/a><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">On the Dialog Task pop-up, under the <\/span><b>Integration<\/b><span style=\"font-weight: 400;\">, select the <\/span><b>Salesforce <\/b><span style=\"font-weight: 400;\">option to view the action templates.<\/span><br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127105748\/salesforce17.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1196\" height=\"908\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127105748\/salesforce17.png\" alt=\"\" class=\"alignnone size-medium wp-image-53146\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127105748\/salesforce17.png 1196w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127105748\/salesforce17-300x228.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127105748\/salesforce17-1024x777.png 1024w\" sizes=\"auto, (max-width: 1196px) 100vw, 1196px\" \/><\/a><b>Note<\/b><span style=\"font-weight: 400;\">: <br \/>If you have not configured any integration for your virtual assistant, you will see the <\/span><b>Explore Integrations<\/b><span style=\"font-weight: 400;\"> option. Once you click this option, you will be redirected to the <\/span><b>Actions <\/b><span style=\"font-weight: 400;\">page to configure an integration for your VA. For more information, see <\/span><a href=\" https:\/\/developer.kore.ai\/v10-1\/integrations\/actions\/\"><span style=\"font-weight: 400;\">Actions Overview<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127110434\/explore_integrations.png\"><img loading=\"lazy\" decoding=\"async\" width=\"899\" height=\"913\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127110434\/explore_integrations.png\" alt=\"\" class=\"alignnone size-medium wp-image-53149\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127110434\/explore_integrations.png 899w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127110434\/explore_integrations-295x300.png 295w\" sizes=\"auto, (max-width: 899px) 100vw, 899px\" \/><\/a><\/li>\n<\/ol>\n<h2><span class=\"ez-toc-section\" id=\"Salesforce_CRM_Actions\"><span style=\"font-weight: 400;\">Salesforce CRM Actions\u00a0<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">The following Salesforce CRM actions are supported in this release:<\/span><\/p>\n<table>\n<tbody>\n<tr>\n<td><b>Supported Actions<\/b><\/td>\n<td><b>Description<\/b><\/td>\n<td><b>Method<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Create a Lead<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Creates a new marketing lead in the CRM.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">POST<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Create an Opportunity<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Creates a new opportunity in the CRM.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">POST<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Update a Lead<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Updates the lead with changes<\/span><\/td>\n<td><span style=\"font-weight: 400;\">PATCH<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">View a Lead By ID<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Retrieves the lead details.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">GET<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">List All Leads<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Retrieves all leads from the CRM<\/span><\/td>\n<td><span style=\"font-weight: 400;\">GET<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Search Leads<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Searches all leads that matches with the keyword<\/span><\/td>\n<td><span style=\"font-weight: 400;\">GET<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Delete a Lead<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Deletes a lead<\/span><\/td>\n<td><span style=\"font-weight: 400;\">DELETE<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span class=\"ez-toc-section\" id=\"Create_a_Lead\"><b>Create a Lead<\/b><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Steps to create a new lead in the Salesforce CRM:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Refer to the <a href=\"https:\/\/developer.kore.ai\/v10-1\/integrations\/configuring-the-salesforce-crm-action\/#Step_2_Install_the_Salesforce_Action_Templates\">Installing the Salesforce CRM Action Templates<\/a> section to install this template.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">The <i>Create a Lead<\/i> dialog task is added with the following components:<\/li>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Createlead <\/b><span style=\"font-weight: 400;\">: A user intent to create a lead.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>firstName<\/b><span style=\"font-weight: 400;\">, <\/span><b>lastName<\/b><span style=\"font-weight: 400;\">, and <\/span><b>companyName <\/b><span style=\"font-weight: 400;\">&#8211; Entity nodes for gathering the required lead details.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>CreateLeadService<\/b><span style=\"font-weight: 400;\"> &#8211; A bot action service to create a lead in an external integration. Click the <\/span><b>Plus <\/b><span style=\"font-weight: 400;\">icon to expand to view the createLeadService bot action component properties.<\/span><br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127111343\/salesforce19.png\"><img loading=\"lazy\" decoding=\"async\" width=\"685\" height=\"699\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127111343\/salesforce19.png\" alt=\"\" class=\"alignnone size-medium wp-image-53153\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127111343\/salesforce19.png 685w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127111343\/salesforce19-294x300.png 294w\" sizes=\"auto, (max-width: 685px) 100vw, 685px\" \/><a><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">In the <\/span><b>Component Properties<\/b><span style=\"font-weight: 400;\"> window, click the <\/span><b>Edit Request<\/b><span style=\"font-weight: 400;\"> link to edit the request parameters as shown below:<br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127113918\/salesforce_servicenode_payload.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1919\" height=\"877\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127113918\/salesforce_servicenode_payload.png\" alt=\"\" class=\"alignnone size-medium wp-image-53162\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127113918\/salesforce_servicenode_payload.png 1919w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127113918\/salesforce_servicenode_payload-300x137.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127113918\/salesforce_servicenode_payload-1024x468.png 1024w\" sizes=\"auto, (max-width: 1919px) 100vw, 1919px\" \/><\/a><\/span><br \/>\n<strong>Sample Request:<\/strong><br \/>\n<span style=\"font-weight: 400;\"><code>\t\t{<br \/>\n\"attributes\": {<br \/>\n\"type\": \"Lead\"<br \/>\n},<br \/>\n\"LastName\": \"Doe\",<br \/>\n\"FirstName\": \"John\",<br \/>\n\"Salutation\": \"Mr.\",<br \/>\n\"Title\": null,<br \/>\n\"Company\": \"ABC\",<br \/>\n\"Street\": null,<br \/>\n\"City\": null,<br \/>\n\"State\": null,<br \/>\n\"PostalCode\": null,<br \/>\n\"Country\": null,<br \/>\n\"Latitude\": null,<br \/>\n\"Longitude\": null,<br \/>\n\"GeocodeAccuracy\": null,<br \/>\n\"Phone\": null,<br \/>\n\"MobilePhone\": \"93445667xx\",<br \/>\n\"Fax\": null,<br \/>\n\"Email\": null,<br \/>\n\"Website\": null,<br \/>\n\"Description\": null,<br \/>\n\"LeadSource\": null,<br \/>\n\"Status\": \"Open - Not Contacted\",<br \/>\n\"Industry\": null,<br \/>\n\"Rating\": null,<br \/>\n\"AnnualRevenue\": null,<br \/>\n\"NumberOfEmployees\": null,<br \/>\n\"OwnerId\": \"0055g00000ECRvPAAX\",<br \/>\n\"IsConverted\": false,<br \/>\n\"IsUnreadByOwner\": false,<br \/>\n\"Jigsaw\": null,<br \/>\n\"CleanStatus\": \"Pending\",<br \/>\n\"CompanyDunsNumber\": null,<br \/>\n\"IndividualId\": null,<br \/>\n\"SICCode__c\": null,<br \/>\n\"ProductInterest__c\": null,<br \/>\n\"Primary__c\": null,<br \/>\n\"CurrentGenerators__c\": null,<br \/>\n\"NumberofLocations__c\": null<br \/>\n}<br \/>\n<\/code><\/span><br \/>\n<span style=\"font-weight: 400;\">To add one or more responses scroll down and click the <\/span><b>+Add Response<\/b><span style=\"font-weight: 400;\"> button:<\/span><br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127114345\/create_lead_add_response.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1014\" height=\"448\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127114345\/create_lead_add_response.png\" alt=\"\"  class=\"alignnone size-medium wp-image-53166\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127114345\/create_lead_add_response.png 1014w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127114345\/create_lead_add_response-300x133.png 300w\" sizes=\"auto, (max-width: 1014px) 100vw, 1014px\" \/><\/a><br \/><b>Sample Response:<\/b><br \/>\n<code>\t\t{<br \/>\n\"id\": \"00Q5g00000DZ0d4EAD\",<br \/>\n\"success\": true,<br \/>\n\"errors\": []\n}<br \/>\n<\/code><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>subDomainService<\/b><span style=\"font-weight: 400;\"> &#8211; A bot action service to fetch subdomain in an external integration. Click the <\/span><b>Plus <\/b><span style=\"font-weight: 400;\">icon to expand to view the subDomainService bot action component properties.<\/span><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127113526\/salesforce20.png\"><img loading=\"lazy\" decoding=\"async\" width=\"677\" height=\"654\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127113526\/salesforce20.png\" alt=\"\" class=\"alignnone size-medium wp-image-53159\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127113526\/salesforce20.png 677w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127113526\/salesforce20-300x290.png 300w\" sizes=\"auto, (max-width: 677px) 100vw, 677px\" \/><\/a><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\u00a0<\/span><b>createLeadMessage <\/b><span style=\"font-weight: 400;\">&#8211; A message node with script to display responses for various scenarios.\u00a0<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click the <\/span><b>Train <\/b><span style=\"font-weight: 400;\">tab<\/span> <span style=\"font-weight: 400;\">to complete the Dialog task training.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Click the <b>Talk to Bot <\/b>icon to test and debug the dialog task<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Follow the prompts in the VA console to create a lead as shown below:<\/span><br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127114936\/salesforce22.png\"><img loading=\"lazy\" decoding=\"async\" width=\"563\" height=\"851\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127114936\/salesforce22.png\" alt=\"\" class=\"alignnone size-medium wp-image-53170\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127114936\/salesforce22.png 563w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127114936\/salesforce22-198x300.png 198w\" sizes=\"auto, (max-width: 563px) 100vw, 563px\" \/><\/a><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Enter all lead details when prompted by the VA as shown below:<\/span><br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127115110\/salesforce23.png\"><img loading=\"lazy\" decoding=\"async\" width=\"554\" height=\"853\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127115110\/salesforce23.png\" alt=\"\" class=\"alignnone size-medium wp-image-53174\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127115110\/salesforce23.png 554w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127115110\/salesforce23-195x300.png 195w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/a><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">The new lead is created in Salesforce CRM.<\/span><br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127115303\/salesforce24.png\"><img loading=\"lazy\" decoding=\"async\" width=\"481\" height=\"594\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127115303\/salesforce24.png\" alt=\"\"  class=\"alignnone size-medium wp-image-53177\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127115303\/salesforce24.png 481w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127115303\/salesforce24-243x300.png 243w\" sizes=\"auto, (max-width: 481px) 100vw, 481px\" \/><\/a><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click the <\/span><b>View Lead<\/b><span style=\"font-weight: 400;\"> button to view the lead details in Salesforce CRM.<\/span><br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127115540\/view_lead_details.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1038\" height=\"547\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127115540\/view_lead_details.png\" alt=\"\" class=\"alignnone size-medium wp-image-53180\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127115540\/view_lead_details.png 1038w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127115540\/view_lead_details-300x158.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127115540\/view_lead_details-1024x540.png 1024w\" sizes=\"auto, (max-width: 1038px) 100vw, 1038px\" \/><\/a><\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Update_a_Lead\"><b>Update a Lead<\/b><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Steps to update an existing lead in Salesforce CRM:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Refer to the <a href=\"https:\/\/developer.kore.ai\/v10-1\/integrations\/configuring-the-salesforce-crm-action\/#Step_2_Install_the_Salesforce_Action_Templates\">Installing the Salesforce CRM Action Templates<\/a> section to install this template.<\/li>\n<li><span style=\"font-weight: 400;\">The <\/span><i><span style=\"font-weight: 400;\">Update a Lead<\/span><\/i><span style=\"font-weight: 400;\"> dialog task is added with the following components:<br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127160204\/update_lead1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1712\" height=\"780\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127160204\/update_lead1.png\" alt=\"\" class=\"alignnone size-medium wp-image-53188\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127160204\/update_lead1.png 1712w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127160204\/update_lead1-300x137.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127160204\/update_lead1-1024x467.png 1024w\" sizes=\"auto, (max-width: 1712px) 100vw, 1712px\" \/><\/a><\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Update lead <\/b><span style=\"font-weight: 400;\">: A user intent to update a lead.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Id<\/b><span style=\"font-weight: 400;\">, <\/span><b>AskOptions<\/b><span style=\"font-weight: 400;\">, <\/span><b>LeadStatus<\/b><span style=\"font-weight: 400;\">, <\/span><b>Title<\/b><span style=\"font-weight: 400;\">, and <\/span><b>MobilePhone<\/b><span style=\"font-weight: 400;\">&#8211; Entity nodes for updating the lead details.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>updateLeadScript<\/b><span style=\"font-weight: 400;\"> &#8211; A bot action script to update a lead in an external integration. Click the <\/span><b>Plus <\/b><span style=\"font-weight: 400;\">icon to expand to view the updateLeadScript bot action component properties.<\/span><br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127160611\/update_lead2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1033\" height=\"481\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127160611\/update_lead2.png\" alt=\"\" class=\"alignnone size-medium wp-image-53191\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127160611\/update_lead2.png 1033w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127160611\/update_lead2-300x140.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127160611\/update_lead2-1024x477.png 1024w\" sizes=\"auto, (max-width: 1033px) 100vw, 1033px\" \/><\/a><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>updateLeadService<\/b><span style=\"font-weight: 400;\"> &#8211; A bot action service to update a lead in an external integration. Click the <\/span><b>Plus <\/b><span style=\"font-weight: 400;\">icon to expand to view the updateLeadService bot action component properties.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>subDomainService<\/b><span style=\"font-weight: 400;\"> &#8211; A bot action service to fetch subdomain in an external integration. Click the <\/span><b>Plus <\/b><span style=\"font-weight: 400;\">icon to expand to view the subDomainService bot action component properties.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\u00a0<\/span><b>updateLeadMessage <\/b><span style=\"font-weight: 400;\">&#8211; A message node with script to display responses for various scenarios.\u00a0<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click the <\/span><b>Train <\/b><span style=\"font-weight: 400;\">tab<\/span> <span style=\"font-weight: 400;\">to complete the Dialog task training.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click the <\/span><b>Talk to Bot <\/b><span style=\"font-weight: 400;\">icon to test and debug the dialog task.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Follow the prompts in the VA console to update a lead.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Enter all lead details when prompted by the VA<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">The existing lead is updated in Salesforce CRM.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click the <\/span><b>View Lead<\/b><span style=\"font-weight: 400;\"> button to view the lead details in Salesforce CRM.<\/span><br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127115540\/view_lead_details.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1038\" height=\"547\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127115540\/view_lead_details.png\" alt=\"\" class=\"alignnone size-medium wp-image-53180\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127115540\/view_lead_details.png 1038w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127115540\/view_lead_details-300x158.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127115540\/view_lead_details-1024x540.png 1024w\" sizes=\"auto, (max-width: 1038px) 100vw, 1038px\" \/><\/a><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Delete_a_Lead\"><b>Delete a Lead<\/b><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Steps to delete a lead in Salesforce CRM:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Refer to the <a href=\"https:\/\/developer.kore.ai\/v10-1\/integrations\/configuring-the-salesforce-crm-action\/#Step_2_Install_the_Salesforce_Action_Templates\">Installing the Salesforce CRM Action Templates<\/a> section to install this template.<\/li>\n<li><span style=\"font-weight: 400;\">The <\/span><i><span style=\"font-weight: 400;\">Delete Lead <\/span><\/i><span style=\"font-weight: 400;\">dialog task is added for the Salesforce CRM with the following components:<br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127161334\/delete_lead1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1515\" height=\"916\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127161334\/delete_lead1.png\" alt=\"\"  class=\"alignnone size-medium wp-image-53195\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127161334\/delete_lead1.png 1515w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127161334\/delete_lead1-300x181.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127161334\/delete_lead1-1024x619.png 1024w\" sizes=\"auto, (max-width: 1515px) 100vw, 1515px\" \/><\/a><\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Delete Lead<\/b><span style=\"font-weight: 400;\">: A user intent to delete lead.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>ID<\/b><span style=\"font-weight: 400;\"> &#8211; Entity nodes for entering the lead ID.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>deleteLeadService <\/b><span style=\"font-weight: 400;\">&#8211; A bot action script to delete a lead in an external integration. Click the <\/span><b>Plus <\/b><span style=\"font-weight: 400;\">icon to expand to view the deleteLeadService bot action component properties.<\/span><br \/><img loading=\"lazy\" decoding=\"async\" width=\"1901\" height=\"907\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127161534\/delete_lead2.png\" alt=\"\"  class=\"alignnone size-medium wp-image-53198\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127161534\/delete_lead2.png 1901w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127161534\/delete_lead2-300x143.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127161534\/delete_lead2-1024x489.png 1024w\" sizes=\"auto, (max-width: 1901px) 100vw, 1901px\" \/><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>deleteLeadMessage <\/b><span style=\"font-weight: 400;\">&#8211; A message node with script to display responses for various scenarios<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\u00a0<\/span><span style=\"font-weight: 400;\">Click the <\/span><b>Train <\/b><span style=\"font-weight: 400;\">tab<\/span> <span style=\"font-weight: 400;\">to complete the Dialog task training.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click the <\/span><b>Talk to Bot <\/b><span style=\"font-weight: 400;\">icon to test and debug the dialog task<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Follow the prompts in the VA console to delete a lead as shown below:<\/span><br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127162010\/delete_lead3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"549\" height=\"737\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127162010\/delete_lead3.png\" alt=\"\"  class=\"alignnone size-medium wp-image-53201\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127162010\/delete_lead3.png 549w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127162010\/delete_lead3-223x300.png 223w\" sizes=\"auto, (max-width: 549px) 100vw, 549px\" \/><\/a><\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"List_All_Leads\"><b>List All Leads<\/b><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Steps to view all leads in Salesforce CRM:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Refer to the <a href=\"https:\/\/developer.kore.ai\/v10-1\/integrations\/configuring-the-salesforce-crm-action\/#Step_2_Install_the_Salesforce_Action_Templates\">Installing the Salesforce CRM Action Templates<\/a> section to install this template.<\/li>\n<li><span style=\"font-weight: 400;\">The <\/span><i><span style=\"font-weight: 400;\">List All Leads<\/span><\/i><span style=\"font-weight: 400;\"> dialog task is added for the Salesforce CRM with the following components:<\/span><br \/><img loading=\"lazy\" decoding=\"async\" width=\"1514\" height=\"901\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127162938\/list_all_leads1.png\" alt=\"\" class=\"alignnone size-medium wp-image-53205\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127162938\/list_all_leads1.png 1514w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127162938\/list_all_leads1-300x179.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127162938\/list_all_leads1-1024x609.png 1024w\" sizes=\"auto, (max-width: 1514px) 100vw, 1514px\" \/>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>List All Lead<\/b><span style=\"font-weight: 400;\">: A user intent to list all leads.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>listAllLeadsService <\/b><span style=\"font-weight: 400;\">&#8211; A bot action script to view all leads in an external integration. Click the <\/span><b>Plus <\/b><span style=\"font-weight: 400;\">icon to expand to view the listAllLeadsService bot action component properties.<\/span><br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127163243\/list_all_leads3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1913\" height=\"835\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127163243\/list_all_leads3.png\" alt=\"\" class=\"alignnone size-medium wp-image-53208\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127163243\/list_all_leads3.png 1913w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127163243\/list_all_leads3-300x131.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127163243\/list_all_leads3-1024x447.png 1024w\" sizes=\"auto, (max-width: 1913px) 100vw, 1913px\" \/><\/a><\/li>\n<\/ul>\n<p><b>Sample Response:<\/b><\/p>\n<p><span style=\"font-weight: 400;\"><code>\t\t\t{<br \/>\n\"objectDescribe\": {<br \/>\n\"activateable\": false,<br \/>\n\"associateEntityType\": null,<br \/>\n\"associateParentEntity\": null,<br \/>\n\"createable\": true,<br \/>\n\"custom\": false,<br \/>\n\"customSetting\": false,<br \/>\n\"deepCloneable\": false,<br \/>\n\"deletable\": true,<br \/>\n\"deprecatedAndHidden\": false,<br \/>\n\"feedEnabled\": true,<br \/>\n\"hasSubtypes\": false,<br \/>\n\"isInterface\": false,<br \/>\n\"isSubtype\": false,<br \/>\n\"keyPrefix\": \"00Q\",<br \/>\n\"label\": \"Lead\",<br \/>\n\"labelPlural\": \"Leads\",<br \/>\n\"layoutable\": true,<br \/>\n\"mergeable\": true,<br \/>\n\"mruEnabled\": true,<br \/>\n\"name\": \"Lead\",<br \/>\n\"queryable\": true,<br \/>\n\"replicateable\": true,<br \/>\n\"retrieveable\": true,<br \/>\n\"searchable\": true,<br \/>\n\"triggerable\": true,<br \/>\n\"undeletable\": true,<br \/>\n\"updateable\": true,<br \/>\n\"urls\": {<br \/>\n\"compactLayouts\": \"\/services\/data\/v52.0\/sobjects\/Lead\/describe\/compactLayouts\",<br \/>\n\"rowTemplate\": \"\/services\/data\/v52.0\/sobjects\/Lead\/{ID}\",<br \/>\n\"approvalLayouts\": \"\/services\/data\/v52.0\/sobjects\/Lead\/describe\/approvalLayouts\",<br \/>\n\"listviews\": \"\/services\/data\/v52.0\/sobjects\/Lead\/listviews\",<br \/>\n\"describe\": \"\/services\/data\/v52.0\/sobjects\/Lead\/describe\",<br \/>\n\"quickActions\": \"\/services\/data\/v52.0\/sobjects\/Lead\/quickActions\",<br \/>\n\"layouts\": \"\/services\/data\/v52.0\/sobjects\/Lead\/describe\/layouts\",<br \/>\n\"sobject\": \"\/services\/data\/v52.0\/sobjects\/Lead\"<br \/>\n}<br \/>\n},<br \/>\n\"recentItems\": [<br \/>\n{<br \/>\n\"attributes\": {<br \/>\n\"type\": \"Lead\",<br \/>\n\"url\": \"\/services\/data\/v52.0\/sobjects\/Lead\/00Q5g00000DYz3xxxx\"<br \/>\n},<br \/>\n\"Id\": \"00Q5g00000DYz3xxxD\",<br \/>\n\"Name\": \"Hogya, Tanmay\"<br \/>\n},<br \/>\n{<br \/>\n\"attributes\": {<br \/>\n\"type\": \"Lead\",<br \/>\n\"url\": \"\/services\/data\/v52.0\/sobjects\/Lead\/00Q5g00000ENUBxxxx\"<br \/>\n},<br \/>\n\"Id\": \"00Q5g00000ENUBxxxx\",<br \/>\n\"Name\": \"Smith, Steve\"<br \/>\n},<br \/>\n{<br \/>\n\"attributes\": {<br \/>\n\"type\": \"Lead\",<br \/>\n\"url\": \"\/services\/data\/v52.0\/sobjects\/Lead\/00Q5g00000DZ5xxxT\"<br \/>\n},<br \/>\n\"Id\": \"00Q5g00000DZ5xxxxT\",<br \/>\n\"Name\": \"Doe, John\"<br \/>\n}<br \/>\n]\n}<\/code><\/span><\/p>\n<ul>\n<li><b>subDomainService<\/b> &#8211; A bot action service to fetch subdomain in an external integration. Click the <b>Plus <\/b> icon to expand to view the subDomainService bot action component properties. <\/li>\n<li><b>listAllLeadsMessage <\/b> &#8211; A message node with script to display responses for various scenarios.<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click the <\/span><b>Train <\/b><span style=\"font-weight: 400;\">tab<\/span> <span style=\"font-weight: 400;\">to complete the Dialog task training.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click the <\/span><b>Talk to Bot <\/b><span style=\"font-weight: 400;\">icon to test and debug the dialog task<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Follow the prompts in the VA console to view all leads as shown below:<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127163715\/list_all_leads4_new.png\"><img loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"743\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127163715\/list_all_leads4_new.png\" alt=\"\" class=\"alignnone size-medium wp-image-53211\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127163715\/list_all_leads4_new.png 512w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127163715\/list_all_leads4_new-207x300.png 207w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/a><\/span><\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"View_a_Lead_By_ID\"><b>View a Lead By ID<\/b><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Steps to view all leads in Salesforce CRM:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Refer to the <a href=\"https:\/\/developer.kore.ai\/v10-1\/integrations\/configuring-the-salesforce-crm-action\/#Step_2_Install_the_Salesforce_Action_Templates\">Installing the Salesforce CRM Action Templates<\/a> section to install this template.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"> The <i><span style=\"font-weight: 400;\">View Lead by Id<\/span><\/i><span style=\"font-weight: 400;\"> dialog task is added for the Salesforce CRM with the following components:<\/span><br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127164504\/view_lead_id1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1470\" height=\"910\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127164504\/view_lead_id1.png\" alt=\"\" class=\"alignnone size-medium wp-image-53215\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127164504\/view_lead_id1.png 1470w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127164504\/view_lead_id1-300x186.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127164504\/view_lead_id1-1024x634.png 1024w\" sizes=\"auto, (max-width: 1470px) 100vw, 1470px\" \/><\/a>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>View Lead by Id<\/b><span style=\"font-weight: 400;\">: A user intent to view a lead using ID.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>ID<\/b><span style=\"font-weight: 400;\"> &#8211; Entity nodes for entering the lead ID.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>viewLeadbyIdService <\/b><span style=\"font-weight: 400;\">&#8211; A bot action script to view a lead using ID in an external integration. Click the <\/span><b>Plus <\/b><span style=\"font-weight: 400;\">icon to expand to view the listAllLeadsService bot action component properties and click the <strong>+ Add Response<\/strong> link.<\/span><br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127165349\/view_lead_id3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1914\" height=\"901\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127165349\/view_lead_id3.png\" alt=\"\" class=\"alignnone size-medium wp-image-53218\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127165349\/view_lead_id3.png 1914w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127165349\/view_lead_id3-300x141.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127165349\/view_lead_id3-1024x482.png 1024w\" sizes=\"auto, (max-width: 1914px) 100vw, 1914px\" \/><\/a><\/li>\n<\/ul>\n<p><b>Sample Response:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0<code>\t    {<br \/>\n\"attributes\": {<br \/>\n\"type\": \"Lead\",<br \/>\n\"url\": \"\/services\/data\/v52.0\/sobjects\/Lead\/00Q5g00000DYz3mEAD\"<br \/>\n},<br \/>\n\"Id\": \"00Q5g00000DYz3mEAD\",<br \/>\n\"IsDeleted\": false,<br \/>\n\"MasterRecordId\": null,<br \/>\n\"LastName\": \"Doe\",<br \/>\n\"FirstName\": \"John\",<br \/>\n\"Salutation\": \"Mr.\",<br \/>\n\"Name\": \"John Doe\",<br \/>\n\"Title\": null,<br \/>\n\"Company\": \"Kore\",<br \/>\n\"Street\": null,<br \/>\n\"City\": null,<br \/>\n\"State\": null,<br \/>\n\"PostalCode\": null,<br \/>\n\"Country\": null,<br \/>\n\"Latitude\": null,<br \/>\n\"Longitude\": null,<br \/>\n\"GeocodeAccuracy\": null,<br \/>\n\"Address\": null,<br \/>\n\"Phone\": null,<br \/>\n\"MobilePhone\": \"9344566xxx\",<br \/>\n\"Fax\": null,<br \/>\n\"Email\": null,<br \/>\n\"Website\": null,<br \/>\n\"PhotoUrl\": \"\/services\/images\/photo\/00Q5g00000DYz3mxxx\",<br \/>\n\"Description\": null,<br \/>\n\"LeadSource\": null,<br \/>\n\"Status\": \"Open - Not Contacted\",<br \/>\n\"Industry\": null,<br \/>\n\"Rating\": null,<br \/>\n\"AnnualRevenue\": null,<br \/>\n\"NumberOfEmployees\": null,<br \/>\n\"OwnerId\": \"0055g00000ECRvxxxX\",<br \/>\n\"IsConverted\": false,<br \/>\n\"ConvertedDate\": null,<br \/>\n\"ConvertedAccountId\": null,<br \/>\n\"ConvertedContactId\": null,<br \/>\n\"ConvertedOpportunityId\": null,<br \/>\n\"IsUnreadByOwner\": false,<br \/>\n\"CreatedDate\": \"2022-08-30T06:49:28.000+0000\",<br \/>\n\"CreatedById\": \"0055g00000ECRVXXXX\",<br \/>\n\"LastModifiedDate\": \"2022-08-30T11:25:21.000+0000\",<br \/>\n\"LastModifiedById\": \"0055g00000ECRvPAAX\",<br \/>\n\"SystemModstamp\": \"2022-08-30T11:25:21.000+0000\",<br \/>\n\"LastActivityDate\": null,<br \/>\n\"LastViewedDate\": \"2022-08-30T11:26:32.000+0000\",<br \/>\n\"LastReferencedDate\": \"2022-08-30T11:26:32.000+0000\",<br \/>\n\"Jigsaw\": null,<br \/>\n\"JigsawContactId\": null,<br \/>\n\"CleanStatus\": \"Pending\",<br \/>\n\"CompanyDunsNumber\": null,<br \/>\n\"DandbCompanyId\": null,<br \/>\n\"EmailBouncedReason\": null,<br \/>\n\"EmailBouncedDate\": null,<br \/>\n\"IndividualId\": null,<br \/>\n\"SICCode__c\": null,<br \/>\n\"ProductInterest__c\": null,<br \/>\n\"Primary__c\": null,<br \/>\n\"CurrentGenerators__c\": null,<br \/>\n\"NumberofLocations__c\": null<br \/>\n}<\/code><\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>subDomainService<\/b><span style=\"font-weight: 400;\"> &#8211; A bot action service to fetch subdomain in an external integration. Click the <\/span><b>Plus <\/b><span style=\"font-weight: 400;\">icon to expand to view the subDomainService bot action component properties.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>viewLeadbyIdMessage <\/b><span style=\"font-weight: 400;\">&#8211; A message node with script to display responses for various scenarios.<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click the <\/span><b>Train <\/b><span style=\"font-weight: 400;\">tab<\/span> <span style=\"font-weight: 400;\">to complete the Dialog task training.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click the <\/span><b>Talk to Bot <\/b><span style=\"font-weight: 400;\">icon to test and debug the dialog task<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Follow the prompts in the VA console to view a lead by ID as shown below:<br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127165746\/view_lead_id4.png\"><img loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"720\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127165746\/view_lead_id4.png\" alt=\"\" class=\"alignnone size-medium wp-image-53221\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127165746\/view_lead_id4.png 512w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127165746\/view_lead_id4-213x300.png 213w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/a><\/span><\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Search_Leads\"><b>Search Leads<\/b><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Steps to search all leads in Salesforce CRM:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Refer to the <a href=\"https:\/\/developer.kore.ai\/v10-1\/integrations\/configuring-the-salesforce-crm-action\/#Step_2_Install_the_Salesforce_Action_Templates\">Installing the Salesforce CRM Action Templates<\/a> section to install this template.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">The <\/span><i><span style=\"font-weight: 400;\">Search Leads<\/span><\/i><span style=\"font-weight: 400;\"> dialog task is added for the Salesforce CRM with the following components:<br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127170513\/search_leads1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1703\" height=\"877\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127170513\/search_leads1.png\" alt=\"\" class=\"alignnone size-medium wp-image-53225\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127170513\/search_leads1.png 1703w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127170513\/search_leads1-300x154.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127170513\/search_leads1-1024x527.png 1024w\" sizes=\"auto, (max-width: 1703px) 100vw, 1703px\" \/><\/a><\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Search Leads<\/b><span style=\"font-weight: 400;\">: A user intent to search leads.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Keyword <\/b><span style=\"font-weight: 400;\">&#8211; Entity nodes for entering the keywords for the searching leads.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>searchLeadsService <\/b><span style=\"font-weight: 400;\">&#8211; A bot action script to search leads in an external integration. Click the <\/span><b>Plus <\/b><span style=\"font-weight: 400;\">icon to expand to view the searchLeadsService bot action component properties and click the <strong>+Add Response<\/strong> link.<\/span> <br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127171056\/search_leads2_new.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1914\" height=\"835\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127171056\/search_leads2_new.png\" alt=\"\" class=\"alignnone size-medium wp-image-53228\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127171056\/search_leads2_new.png 1914w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127171056\/search_leads2_new-300x131.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127171056\/search_leads2_new-1024x447.png 1024w\" sizes=\"auto, (max-width: 1914px) 100vw, 1914px\" \/><\/a><\/li>\n<\/ul>\n<p><b>Sample Response:<\/b><\/p>\n<p><span style=\"font-weight: 400;\"><code>\t      {<br \/>\n\"searchRecords\": [<br \/>\n{<br \/>\n\"attributes\": {<br \/>\n\"type\": \"Lead\",<br \/>\n\"url\": \"\/services\/data\/v52.0\/sobjects\/Lead\/00Q5g00000ENk9xxxxT\"<br \/>\n},<br \/>\n\"Id\": \"00Q5g00000ENk9xxxT\"<br \/>\n},<br \/>\n{<br \/>\n\"attributes\": {<br \/>\n\"type\": \"Lead\",<br \/>\n\"url\": \"\/services\/data\/v52.0\/sobjects\/Lead\/00Q5g00000DZ52HEAT\"<br \/>\n},<br \/>\n\"Id\": \"00Q5g00000DZ52HEAT\"<br \/>\n},<br \/>\n{<br \/>\n\"attributes\": {<br \/>\n\"type\": \"Lead\",<br \/>\n\"url\": \"\/services\/data\/v52.0\/sobjects\/Lead\/00Q5g00000ENnKlEAL\"<br \/>\n},<br \/>\n\"Id\": \"00Q5g00000ENnKlEAL\"<br \/>\n},<br \/>\n{<br \/>\n\"attributes\": {<br \/>\n\"type\": \"Lead\",<br \/>\n\"url\": \"\/services\/data\/v52.0\/sobjects\/Lead\/00Q5g00000ENnKgEAL\"<br \/>\n},<br \/>\n\"Id\": \"00Q5g00000ENnKgEAL\"<br \/>\n},<br \/>\n{<br \/>\n\"attributes\": {<br \/>\n\"type\": \"Lead\",<br \/>\n\"url\": \"\/services\/data\/v52.0\/sobjects\/Lead\/00Q5g00000ENcKqEAL\"<br \/>\n},<br \/>\n\"Id\": \"00Q5g00000ENcKqEAL\"<br \/>\n},<br \/>\n{<br \/>\n\"attributes\": {<br \/>\n\"type\": \"Lead\",<br \/>\n\"url\": \"\/services\/data\/v52.0\/sobjects\/Lead\/00Q5g00000ENcKlEAL\"<br \/>\n},<br \/>\n\"Id\": \"00Q5g00000ENcKlEAL\"<br \/>\n},<br \/>\n{<br \/>\n\"attributes\": {<br \/>\n\"type\": \"Lead\",<br \/>\n\"url\": \"\/services\/data\/v52.0\/sobjects\/Lead\/00Q5g00000ENcKgEAL\"<br \/>\n},<br \/>\n\"Id\": \"00Q5g00000ENcKgEAL\"<br \/>\n},<br \/>\n{<br \/>\n\"attributes\": {<br \/>\n\"type\": \"Lead\",<br \/>\n\"url\": \"\/services\/data\/v52.0\/sobjects\/Lead\/00Q5g00000ENcHDEA1\"<br \/>\n},<br \/>\n\"Id\": \"00Q5g00000ENcHDEA1\"<br \/>\n},<br \/>\n{<br \/>\n\"attributes\": {<br \/>\n\"type\": \"Lead\",<br \/>\n\"url\": \"\/services\/data\/v52.0\/sobjects\/Lead\/00Q5g00000ENXzXEAX\"<br \/>\n},<br \/>\n\"Id\": \"00Q5g00000ENXzXEAX\"<br \/>\n}<br \/>\n]\n}<br \/>\n<\/code><\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>subDomainService<\/b><span style=\"font-weight: 400;\"> &#8211; A bot action service to fetch subdomain in an external integration. Click the <\/span><b>Plus <\/b><span style=\"font-weight: 400;\">icon to expand to view the subDomainService bot action component properties.<\/span> <span style=\"font-weight: 400;\"><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>searchLeadsMessage <\/b><span style=\"font-weight: 400;\">&#8211; A message node with script to display responses for various scenarios.\u00a0<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click the <\/span><b>Train <\/b><span style=\"font-weight: 400;\">tab<\/span> <span style=\"font-weight: 400;\">to complete the Dialog task training.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click the <\/span><b>Talk to Bot <\/b><span style=\"font-weight: 400;\">icon to test and debug the dialog task<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Follow the prompts in the VA console to view all leads as shown below:<\/span><br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127171324\/search_leads3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"550\" height=\"838\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127171324\/search_leads3.png\" alt=\"\" class=\"alignnone size-medium wp-image-53231\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127171324\/search_leads3.png 550w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127171324\/search_leads3-197x300.png 197w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Create_an_Opportunity\"><b>Create an Opportunity<\/b><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Steps to create a new opportunity in Salesforce CRM:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Refer to the <a href=\"https:\/\/developer.kore.ai\/v10-1\/integrations\/configuring-the-salesforce-crm-action\/#Step_2_Install_the_Salesforce_Action_Templates\">Installing the Salesforce CRM Action Templates<\/a> section to install this template.<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">The <i><span style=\"font-weight: 400;\">Create Opportunity<\/span><\/i><span style=\"font-weight: 400;\"> dialog task is added for the Salesforce CRM with the following components:<br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127172146\/create_opportunity.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1517\" height=\"910\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127172146\/create_opportunity.png\" alt=\"\" class=\"alignnone size-medium wp-image-53235\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127172146\/create_opportunity.png 1517w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127172146\/create_opportunity-300x180.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127172146\/create_opportunity-1024x614.png 1024w\" sizes=\"auto, (max-width: 1517px) 100vw, 1517px\" \/><\/a><\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Create Opportunity <\/b><span style=\"font-weight: 400;\">: A user intent to create an opportunity.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Opportunity Name<\/b><span style=\"font-weight: 400;\">, <\/span><b>Closed Date<\/b><span style=\"font-weight: 400;\">, and <\/span><b>Stage of Opportunity<\/b><span style=\"font-weight: 400;\">&#8211; Entity nodes for gathering the required opportunity details.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>CreateOpportunityService <\/b><span style=\"font-weight: 400;\">&#8211; A bot action script to create an opportunity in an external integration. Click the <\/span><b>Plus <\/b><span style=\"font-weight: 400;\">icon to expand to view the createOpportunityService bot action component properties.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">In the <\/span><b>Component Properties<\/b><span style=\"font-weight: 400;\"> window, click the <\/span><b>Edit Request<\/b><span style=\"font-weight: 400;\"> link to edit the request parameters as shown below:<\/span><br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127172339\/create_opportunity1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1919\" height=\"833\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127172339\/create_opportunity1.png\" alt=\"\" class=\"alignnone size-medium wp-image-53238\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127172339\/create_opportunity1.png 1919w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127172339\/create_opportunity1-300x130.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127172339\/create_opportunity1-1024x444.png 1024w\" sizes=\"auto, (max-width: 1919px) 100vw, 1919px\" \/><\/a><\/li>\n<\/ul>\n<p><b>Sample Request:<\/b><\/p>\n<p><span style=\"font-weight: 400;\"><code>\t   \t{<br \/>\n\"attributes\": {<br \/>\n\"type\": \"Opportunity\"<br \/>\n},<\/code><\/span><\/p>\n<p>&#8220;Name&#8221;: &#8220;Project Charlie&#8221;,<br \/>\n&#8220;CloseDate&#8221;: &#8220;2022-08-31&#8221;,<br \/>\n&#8220;StageName&#8221;: &#8220;Prospecting&#8221;<br \/>\n}<\/p>\n<p><span style=\"font-weight: 400;\">To add one or more responses scroll down and click the <\/span><b>+Add Response<\/b><span style=\"font-weight: 400;\"> button:<\/span><br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127172750\/search_leads2_new-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1914\" height=\"835\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127172750\/search_leads2_new-1.png\" alt=\"\" class=\"alignnone size-medium wp-image-53241\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127172750\/search_leads2_new-1.png 1914w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127172750\/search_leads2_new-1-300x131.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127172750\/search_leads2_new-1-1024x447.png 1024w\" sizes=\"auto, (max-width: 1914px) 100vw, 1914px\" \/><\/a><\/p>\n<p><b>Sample Response:<\/b><\/p>\n<p><span style=\"font-weight: 400;\"><code>\t {<br \/>\n\"id\": \"0065g00000O4bgDAAR\",<br \/>\n\"success\": true,<br \/>\n\"errors\": []\n}<br \/>\n<\/code><\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>subDomainService<\/b><span style=\"font-weight: 400;\"> &#8211; A bot action service to add subdomain in an external integration. Click the <\/span><b>Plus <\/b><span style=\"font-weight: 400;\">icon to expand to view the subDomainService bot action component properties.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\u00a0<\/span><b>createOpportunityMessage <\/b><span style=\"font-weight: 400;\">&#8211; A message node with script to display responses for various scenarios.\u00a0<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click the <\/span><b>Train <\/b><span style=\"font-weight: 400;\">tab<\/span> <span style=\"font-weight: 400;\">to complete the Dialog task training.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click the <\/span><b>Talk to Bot <\/b><span style=\"font-weight: 400;\">icon to test and debug the dialog task<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Follow the prompts in the VA console to create a lead as shown below:<\/span><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127173147\/create_opportunity2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"550\" height=\"845\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127173147\/create_opportunity2.png\" alt=\"\"  class=\"alignnone size-medium wp-image-53244\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127173147\/create_opportunity2.png 550w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127173147\/create_opportunity2-195x300.png 195w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Enter all opportunity details when prompted by the VA.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">The new opportunity is created in Salesforce CRM. Click the <\/span><b>Chevron <\/b><span style=\"font-weight: 400;\">icon to expand the new opportunity.<\/span><br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127173445\/create_opportunity4.png\"><img loading=\"lazy\" decoding=\"async\" width=\"552\" height=\"781\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127173445\/create_opportunity4.png\" alt=\"\" class=\"alignnone size-medium wp-image-53247\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127173445\/create_opportunity4.png 552w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127173445\/create_opportunity4-212x300.png 212w\" sizes=\"auto, (max-width: 552px) 100vw, 552px\" \/><\/a><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click the <\/span><b>View Opportunity <\/b><span style=\"font-weight: 400;\">button to view the opportunity details in Salesforce CRM.<\/span><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127173710\/create_opportunity6.png\"><img loading=\"lazy\" decoding=\"async\" width=\"548\" height=\"852\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127173710\/create_opportunity6.png\" alt=\"\" class=\"alignnone size-medium wp-image-53250\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127173710\/create_opportunity6.png 548w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230127173710\/create_opportunity6-193x300.png 193w\" sizes=\"auto, (max-width: 548px) 100vw, 548px\" \/><\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>You can use the Prebuilt Action Templates from your Salesforce integration to auto create dialog tasks and test them using the Talk to Bot option. Steps to create a dialog task using Salesforce action templates: Go to Build &gt; Conversation Skills and then click the Dialog Tasks. Click the Create a Dialog Task to create&#8230;<\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[201],"tags":[],"class_list":["post-51997","post","type-post","status-publish","format-standard","hentry","category-integrations"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/51997","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\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/comments?post=51997"}],"version-history":[{"count":27,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/51997\/revisions"}],"predecessor-version":[{"id":55781,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/51997\/revisions\/55781"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=51997"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=51997"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=51997"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}