Configuring CRM Integrations - Hubspot

Configuring CRM Integrations

Please refer to the steps explained in configuration settings ‘Generic CRM’ Tab before reading below information

Integration Editor

  • Name – The Hubspot profile name.

  • Integration – Select from dropdown list ‘Hubspot CRM’

  • Requires User Login – Leave unchecked

  • Configure Integration – Refer to section below

  • Runs in Local Mode – Leave unchecked

Configure Integration

General Settings

Incoming Call

Screen Pop – Displays the Contact screen when the caller is found.

  • Never – The feature is disabled.

  • When Ringing – As soon as the call rings.

  • When Answered – When the agent has answered the call.

Pop Journal Entry – Displays the new Phone Call Activity screen once the call is answered.

Create Journal before Pop – Saves the Phone Call Activity before it is popped. This option is available only when ‘Pop Journal Entry’ is checked.

Log Call History – Creates an entry in History.

Attach Recording – Creates a link to the call recording file in History.

Ignore Internal Calls – Disables all integration features when the incoming call comes from an internal source.

Pop Unlinked Journal – Displays new Phone Call Activity even when contact is not found in CRM.

Log Unlinked Call History – Creates an entry to History even when contact is not found in CRM.

Create Callback Task – Creates a Task to remind agent of the missed call.

Create Unlinked Callback – Creates a Task to remind agent of the missed call, even when contact is not found in CRM.

Outgoing Call

Screen Pop – Displays the Contact screen when the caller is found.

  • Never – The feature is disabled.

  • When Ringing – When the call is still ringing.

  • When Answered – When the agent has answered the call.

Pop Journal Entry – Displays the new Phone Call Activity screen once the call is answered.

Create Journal before Pop – Saves the Phone Call Activity before it is popped. This option is available only when ‘Pop Journal Entry’ is checked.

Log Call History – Creates an entry in History.

Attach Recording – Creates a link to the call recording file in History.

Ignore Internal Calls – Disables all integration features when calling an internal number.

Pop Unlinked Journal – Displays new Phone Call Activity even when contact is not found in CRM.

Log Unlinked Call History – Creates an entry to History even when contact is not found in CRM

Campaign Call

Screen Pop – Displays the Contact screen when the caller is found.

  • Never – The feature is disabled.

  • When Presented – When the next campaign call is assigned to agent.

  • When Ringing – As soon as the call rings.

  • When Answered – When the agent has answered the call.

Pop Journal Entry – Displays the new Phone Call Activity screen once the call is answered

Log Call History – Creates an entry in History.

Attach Recording – Creates a link to the call recording file in History.

OmniChannel

Screen Pop – Displays the Contact screen when the caller is found.

  • Never – The feature is disabled.

  • When Presented – When the email is assigned to agent.

Pop Journal Entry – Displays the new Phone Call Activity screen once the call is answered.

Log Integration in History – Creates a log of the interaction in History

Create a New Private App & Generate Access Token

  1. In your HubSpot account, click the settings icon in the main navigation bar. 

  2. In the left sidebar menu, navigate to Integrations > Private Apps. 

  3. Click Create private app. 

  4. On the Basic Info tab, configure the details of your app: 

    1. Enter your app's name. 

    2. Hover over the placeholder logo and click the upload icon to upload a square image that will serve as the logo for your app. 

    3. Enter a description for your app. 

  5. Click the Scopes tab. 

  6. Next, select following scopes 

    1. crm.lists.read 

    2. crm.lists.write 

    3. crm.objects.contacts.read 

    4. crm.objects.contacts.write 

    5. account-info.security.read 

    6. oauth 

  7. After you're done selecting your scopes, click Create app in the top right. You can always make changes to your app after you create it. 

  8. In the dialog box, review the info about your app's access token, then click Continue creating. 

  9. With your private app created, click Show token under your access token to reveal it. 

     

     

  10. Insert this access token to CyDesk (instead of old API Key) 

HubSpot Softphone Integration

This section covers the requirements for enabling CyDesk click to dial functionality from within Hubspot.

Step 1: Create a developer account in HubSpot

If you don't already have a HubSpot developer account, sign up for one here.

Step 2: Create a an app in HubSpot

  1. For this we need a developer account (which we created in step 1)

  2. Once you’re set up and signed in, you'll start on the developer account homepage, where you'll have the option to create your first app or create a test account. Click “Create an app."

  3. You can also start from the Apps dashboard using the “Create app” button.

  4. In create app page you will two tabs i.e. App info and Auth

  5. Next, you’ll fill out some basic information and settings for your app.

  6.  In the next tab i.e., Auth, we will get App Id which we need to copy and store

  7.  In Auth page enter redirectURL to “cytrack.io”. It is important to copy the URL exactly as in quotes otherwise the verification will fail.

  8. At the bottom of the page to add new scopes to app, from the available scopes select crm.objects.contacts with Read access

Step 3: Install the app on customers main hubspot portal

In step 2 we created an App, now we get an OAuth URL

  1. Copy that OAuth URL and enter it in new browser tab and install it to the customers main account.

  2. After successful install it will redirect to redirectURL (https://www.cytrack.io/ ) and provide code in url. Copy this code and insert it into script1 file found in Configuring CRM Integrations - Hubspot | Script Files.

  3. Also update the ClientId and ClientSecret in script1.

  4. Then execute the script1 file.

Step 4: Now generate HubSpot API key.

Go to the developer account homepage then click on Apps in top menu. It will take you to Apps page. On this click on “Get HubSpot API key”.

This will generate the Hubspost API key. Store this api key.

Step 5: Now Add SoftPhone in Hubspot

  1. For this we need to execute the script2 file found in Configuring CRM Integrations - Hubspot | Script Files.

  2. Update App Id that we got in step 2 into script 2 file.

  3. Update hapikey (the the api key which we generated in step 4) that into script 2 file.

  4. Update url script 2 file to "https://server-teams-production.azurewebsites.net/hubspot-integration?url=https://server:5000" (after URL enter customers DeskWeb path)

Script Files