Skip to main content
Use the Lead Capture dialog template to collect lead details conversationally and automatically create lead objects in Salesforce CRM.

Overview

The process involves three steps:
  1. Link your Salesforce CRM account
  2. Install the Lead Capture template
  3. Train and test the dialog task

  1. Go to Marketplace in the left navigation and select Salesforce CRM integration. Marketplace Salesforce
  2. Click Install at the top right. The Instructions tab opens.
  3. Click the Authenticate and Install tab.
  4. Under Authorization Type, select Pre-authorize the Integration and then OAuth. Authorization
System Authorization Use Kore.ai’s preconfigured Salesforce app:
  1. Select System and click Authorize. You are redirected to the Salesforce login page. System Authorization
  2. Enter your developer account credentials to connect your Salesforce account.
Custom Authorization Create your own OAuth profile:
  1. Select Custom, then click Select Authorization > Create New. Custom Authorization
  2. Select OAuth v2. See Setting Up Authorization Using OAuth v2. OAuth v2
  3. Enter the following credentials:
    FieldDescription
    Callback URLYour app’s callback URL.
    Identity Provider NameName for the provider.
    Client IDOAuth client ID.
    Client Secret KeyOAuth client secret.
    Authorization URLSalesforce authorization endpoint.
    Token Request URLToken endpoint.
    ScopeRequired OAuth scopes.
    Refresh Token URLToken refresh endpoint.
    Authorization Mechanism
  4. Click Save Auth, select the new profile, and click Authorize. You are redirected to login.salesforce.com. Salesforce Authorize
  5. Enter your login credentials. After successful authorization, click Proceed. The Integration Installed Successfully confirmation is displayed. Installation Successful

Step 2: Install the Lead Capture Template for Salesforce CRM

  1. Go to Marketplace and select the Lead Capture for Salesforce CRM dialog template. Marketplace Lead Capture
  2. Click Install. Lead Capture Install
  3. Fill in the dialog task details:
    FieldDescription
    NameName of the dialog.
    DescriptionDescription of the dialog.
    UtterancesPhrases that trigger this dialog.
    Channel ExperiencesChannel-specific behavior settings.
    Lead Capture SetupFields and information to capture.
    Install Template
  4. Click Finish. The dialog task is auto-created and listed under Automation AI > Use Cases > Dialogs. Dialogs

Step 3: Train and Test the Dialog Task

  1. Click the Test icon.
  2. Select a conversation type (Voice or Chat).
  3. Click Train to process untrained utterances.
  4. Follow the prompts in the App console to create a lead. App Console
  5. Enter lead details when prompted. Lead Details
  6. The lead is created in Salesforce CRM. To view it, log in to Salesforce, then go to App Launcher > Marketing CRM Classic > Leads. Salesforce Leads
  7. Publish your app to make this capability available to end users.