You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
You are viewing the article in preview mode. It is not live at the moment.
Home > App Integrations > Enable integration with Salesforce
Enable integration with Salesforce
print icon

Salesforce integration benefits:

  • View lead/contact details from Salesforce CRM during an ongoing chat.
  • During a chat session, manually create leads/contacts in Salesforce CRM.
  • After a chat ends, automatically create leads/contacts in Salesforce CRM.
  • Create multiple leads/contacts for a customer during a chat or after the chat ends.
  • Add the chat transcript to each lead/contact once the chat ends.
  • Capture UTM parameters from the URL and update it to a lead/contact detail after the chat ends.
Important Note:
  • This integration is available in Scale and Scale plus plans.
  • Only the following editions of Salesforce account will support the integration:
    • Enterprise Edition
    • Unlimited Edition
    • Developer Edition
    • Performance Edition
    • Professional Edition with APIs enabled (refer this to enable APIs)

Pre-requisite: 

  1. Email or Phone number is a must for a contact/lead to get created on Salesforce.

How to integrate?

Step 1: Log in to your HappyFox Chat account.

Step 2: Go to AppsSalesforce CRM → Click INSTALL/TRY FOR 7 DAYS button.

Step 3: Click Connect button and you will be prompted to grant access for integrating HappyFox Chat with Salesforce. Click Allow.

On a successful connection, you will see the message below.

Step 4: Update your preferred settings under "During Chat" and "On Chat Completion".

a) On chat completion settings and use cases:

Let's consider a scenario where you want to create Lead after the chat ends. 

If the contact exists in Salesforce already,

If the Setting is, Create visitor as Lead even though the visitor exists as contact is ON and Allow creating duplicate lead or contact is ON.
  • Case 1: If only a Contact exists → A new Lead will be created.
  • Case 2: If a Lead exists already → Another Lead will be created.
If the Setting is, Create visitor as Lead even though the visitor exists as contact is ON and Allow creating duplicate lead or contact is OFF.
  • Case 1: If only a Contact exists → A new Lead will be created.
  • Case 2: If a Lead exists already → The chat transcript will get updated to the recently added Lead's /Activity or Note. 
If the Setting is, Create visitor as Lead even though the visitor exists as contact is OFF and Allow creating duplicate lead or contact is ON.
  • Case 1: If only Contact exists → The chat transcript will get updated to the Contact's case/Activity or Note. 
  • Case 2: If a Lead exists already → Another Lead will be created. 
  • Case 3: If a Contact and Lead exists already → The chat transcript will get updated to the Contact's case/Activity or Note. 
If the Setting is, Create visitor as Lead even though the visitor exists as contact is OFF and Allow creating duplicate lead or contact is OFF.
  • Case 1: If only Contact exists → The chat transcript will get updated to the Contact's case/Activity or Note. 
  • Case 2: If a Lead exists already → The chat transcript will get updated to the recently added Lead's /Activity or Note. 
  • Case 3: If a Contact and Lead exists already → The chat transcript will get updated to the Contact's case/Activity or Note.

If Contact does not exist in Salesforce already, 

If the Setting is, Create visitor as Lead even though the visitor exists as contact is ON and Allow creating duplicate lead or contact is ON
  • Case: If a Lead exists already → Another Lead will be created.
If the Setting is, Create visitor as Lead even though the visitor exists as contact is ON and Allow creating duplicate lead or contact is OFF
  • Case: If a Lead exists already → The chat transcript will get updated to the recently added lead's Activity or Note.
If the Setting is, Create visitor as Lead even though the visitor exists as contact is OFF and Allow creating duplicate lead or contact is ON
  • Case: If a Lead exists already -> Another Lead will be created.
If the Setting is, Create visitor as Lead even though the visitor exists as contact is OFF and Allow creating duplicate lead or contact is OFF
  • Case: If a Lead exists already → The chat transcript will get updated to the recently added lead's Activity or Note.

b) On chat completion settings for Mapping UTM parameters:
You can map the UTM parameters to the fields in Salesforce. Once the chat ends, the UTM values will be posted/saved to the mapped Salesforce fields.

Note:

  1. The UTM parameters mapping list will not display the fields if the Visibility setting for these fields is set to OFF in your Salesforce account. (To see the visibility settings of your Lead fields, see Setup → Customise → Leads → Click Add a custom field → click on a field and click Set field-level security button.)
  2. The mapping list will display only the fields that are of datatype = TEXT. (To see the datatype of your Lead fields in your Salesforce account, go to Setup → Customise → Leads → Click Add a custom field to leads). 

Step 5: Once you add your preferences, click Update Settings and you are all set!


NOTE: If you want the UTM parameters to be mapped to a field other than the ones that are listed in the dropdown, you can create your own custom field in your Salesforce account.
 Those custom fields will get listed under your HappyFox Chat account's- Salesforce integration UTM settings.

Settings to view notes on Salesforce CRM:

  1. Log in to Salesforce CRM account

  2. Click Setup → Click Customize under Build →  select LeadsRelated Lists

  3. Drag and drop Notes & Attachments to the Layout.

After Salesforce integration:

I) During Chat

1. View customers' lead or contact details from Salesforce CRM. On clicking the lead/contact, you will see the lead details in the chat information box as shown below.



2. Create leads or contacts manually on Salesforce CRM using command key - "!" Key on HappyFox Chat

 

 

II) On Chat completion

1. After a chat ends with a new or existing customer, leads/contacts are created on Salesforce CRM automatically.
a) This lead/contact will be assigned to the staff who handled the chat if the same staff with the same email id is present on Salesforce account. If not, the created lead/contact will be assigned to the person whose email id was used for integration (SFDC administrator).

2. Add the chat transcript as notes or activity or cases to each lead/contact. 

3.Capture UTM parameters from URL and update to a lead or contact detail in Salesforce CRM.

Feedback
3 out of 3 found this helpful

scroll to top icon