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

Overview

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

  1. Go to Marketplace in the left navigation and select HubSpot integration. Marketplace HubSpot
  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 HubSpot app:
  1. Select System and click Authorize. You are redirected to the HubSpot login page. System Authorization
  2. Enter your developer account credentials to connect your HubSpot 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
  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 URLHubSpot authorization endpoint.
    Token Request URLToken endpoint.
    ScopeRequired OAuth scopes.
    Refresh Token URLToken refresh endpoint.
  4. Click Save Auth, select the new profile, and click Authorize. You are redirected to app.hubspot.com. HubSpot Authorization
  5. Enter your login credentials. After successful authorization, click Proceed. The Integration Installed Successfully confirmation is displayed.

Step 2: Install the Lead Capture Template for HubSpot CRM

  1. Go to Marketplace and select the Lead Capture for HubSpot CRM dialog template. Marketplace Lead Capture
  2. Click Install. Install Lead Capture
  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. Dialog Task

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 HubSpot. To view it, log in to HubSpot, then go to CRM > Contacts. HubSpot Contacts
  7. Publish your app to make this capability available to end users.