Skip to main content

 

 
8x8 Support

Email in External CRM for Salesforce: Configuring in Lightning Mode

Objective

Email in External CRM provides email-to-case functionality for Salesforce in the Contact Center integration (Agent Workspace, MAPanel 2.0). This allows Contact Center agents to not only receive and process emails as usual, it enables the storing of email messages and email chain activity into Salesforce cases.

This article provides a walkthrough for configuring the Email in External CRM feature in Salesforce Lightning mode.

Important-Icon.png

IMPORTANT: This process requires the creation of four new fields in Salesforce, two in the Case object and two in the Email Message object. The suggested configuration will effectively disable the manual creation of Salesforce cases, and also disables the sending of email messages directly from cases.

Applies To

  • 8x8 Contact Center
  • Salesforce
  • Agent Workspace
  • MAPanel 2.0

Procedure

In this guide, you’ll first confirm and/or enable a few important options, and then you’ll create four new custom fields in critical Salesforce objects.

Confirm and Enable Key Features

  1. In Salesforce at the top-right, go to the gear icon and click Setup.

clipboard_e7573dba31e3fd3026c803408e7b340b4.png

  1. At the top-left, search for enhanced and click on Enhanced Email.
  2. Perform one of the following:
    • If the Disable button is present, proceed to the next step.
    • If the Enable button is present, click Enable and then proceed to the next step.

clipboard_e23ee49dac3d720e7c6fd230c65960842.png

  1. Search for and click on Object Manager.

clipboard_e7a27d62ddb67e56a0b888498cfbc7f68.png

  1. Scroll down and verify that the Email Message object appears. You’ll add two new custom fields to this, later.

clipboard_ee30669c6f391903b607211d083102a52.png

  1. In the Setup > Quick Find field again, search for and click on Email-to-Case.

clipboard_eb7e14f282977ffa40b2bafa267fe9772.png

  1. Click Continue at the bottom of the page, if needed.

clipboard_e2bb133d413ec689b2afed84c6064c851.png

  1. Select/check Enable HTML email, and click Save. Other options are not required for this 8x8 product.
    • Note: The setting Enable Email-to-Case does not have any bearing on this integration feature, regardless of its configured state.

clipboard_e22d1fc1a64c31463544c63bd2f444958.png

Create Two New Custom Fields for the Case Object

New Custom Field: MainNumber

Field Name API Name Data Type

MainNumber

MainNumber__c

Text(255) (Required)

  1. Return to Setup > Quick Find, and search for and click on Object Manager.

clipboard_e9688e89d69f92ec8a98d4c6884055b2f.png

  1. Scroll down to and click on Case.

clipboard_e7bc0641dc15cf4c6840756c9ccc52b2e.png

  1. Click on Fields & Relationships.
  2. Click New.

clipboard_e6b7106ede36c112fabf1082e09b86fc7.png

Step 1. Choose the field type

  1. Select Text and click Next.
    • Note that this screenshot is significantly cropped. There are many more options available.

clipboard_e58e83e289eb0353d4c11f1bca24bcd9d.png

Step 2. Enter the details

  1. Enter the following text in their respective fields
    • Field Label: MainNumber
    • Length: 255
    • Field Name: MainNumber
  2. Enable/check the following options:
    • Required
    • Unique
  3. Click Next.
Important-Icon.png

Important: The purpose of enabling the Required option both in Case > MainNumber and in Email Message > MainNumber is to prevent Contact Center agents from bypassing the 8x8 MAPanel functionality (and therefore Contact Center analytics reporting) by either manually creating new cases and sending emails directly from cases instead of using the 8x8 MAPanel.

These Required options can be disabled/unchecked without affecting normal functionality of the MAPanel, but this is not recommended. Case and email creation outside of the 8x8 MAPanel operation will not be reflected in 8x8 Contact Center analytics data.

clipboard_e2f0891ea0eeef8ebaebff774d8c684d5.png

Step 3. Establish field-level security

  1. Confirm the field-level security for the listed Profile types and click Next.
    • Be sure to select Visible for the profile types of users who will access this integration functionality.

clipboard_e5afd62ac138bef209947f52e12dc6b42.png

Step 4: Add to page layouts

  1. Select or deselect the Page Layout Names appropriate to your needs.
  2. Click Save & New to begin creating another custom field.

clipboard_e299298e6f3d29fead63989a5c75e79b5.png

New Custom Field: Lead

Field Name API Name Data Type

Lead

Lead__c

Lookup

Step 1. Choose the field type

  1. This time, select Lookup Relationship.
  2. Click Next.

clipboard_e5cbc872bd24b2fcc0a10cb2fb91f061f.png

Step 2. Choose the related object

  1. In Related To, select Lead.
  2. Click Next.

clipboard_e50db1bd540dc08fad76b0d5699d36d0c.png

Step 3. Enter the label and name for the lookup field

  1. Enter the following text in their respective fields
    • Field Label: Lead
    • Field Name: Lead
    • Child Relationship Name: Cases
  2. Click Next.

clipboard_e4b6f2f14a78276578a17d0ef46cb5355.png

Step 4. Establish field-level security for reference field

  1. Confirm the field-level security for the listed Profile types and click Next.
    • Be sure to select Visible for the profile types of users who will access this integration functionality.
  2. Click Next.

clipboard_e56272a7becb19514c0299ab9e249b327.png

Step 5: Add reference field to Page Layouts

  1. Select or deselect the Page Layout Names appropriate to your needs.
  2. Click Next.

clipboard_e7590d304375294d066530efb4a8e820a.png

Step 6: Add custom related lists

  1. Leave the default Related List Label set to Cases.
  2. Click Save to complete your new field creation.

clipboard_e497e483b9d1f8bec31c0ee5c717c5669.png

  1. Confirm that the MainNumber and Lead fields appear in Setup > Object Manager > Case > Fields & Relationships.

This completes the creation of the first two new custom fields. Proceed to the next section to create the final two custom fields.

clipboard_ee74368ac9a1e386c3bcdde2e6f05c2a2.png

Create Two New Custom Fields for the Email Message Object

New Custom Field: MainNumber

Field Name API Name Data Type

MainNumber

MainNumber__c

Text(255) (Required)

  1. In the Setup > Quick Find field, search for and click on Object Manager.

clipboard_ea353b81d6c5107f2ef407b02db196770.png

  1. Scroll down and click on Email Message.

clipboard_ed680f36c53de83c96e0c28368095dc90.png

  1. Click on Fields & Relationships.
  2. Click New.

clipboard_ee85ad9fc705dc4ea4d896f0646adbbac.png

Step 1. Choose the field type

  1. Select Text and click Next.
    • Note that this screenshot is significantly cropped. There are many more options available.

clipboard_ec000e519358d1c91c10434a510b6fd57.png

Step 2. Enter the details

  1. Enter the following text in their respective fields
    • Field Label: MainNumber
    • Length: 255
    • Field Name: MainNumber
  2. Enable/check the following options:
    • Required
  3. Click Next.
Important-Icon.png

Important: The purpose of enabling the Required option both in Case > MainNumber and in Email Message > MainNumber is to prevent Contact Center agents from bypassing the 8x8 MAPanel functionality (and therefore Contact Center analytics reporting) by either manually creating new cases and sending emails directly from cases instead of using the 8x8 MAPanel.

These Required options can be disabled/unchecked without affecting normal functionality of the MAPanel, but this is not recommended. Case and email creation outside of the 8x8 MAPanel operation will not be reflected in 8x8 Contact Center analytics data.

clipboard_e99d0942e40af69f53bbf26182b363ebe.png

Step 3. Establish field-level security

  1. Confirm the field-level security for the listed Profile types and click Next.
    • Be sure to select Visible for the profile types of users who will access this integration functionality.

clipboard_ee7998caaf6a4392097bb3c53484ba284.png

Step 4. Add to page layouts

  1. Confirm that Email Message Layout is selected.
  2. Click Save & New to begin creating the final custom field.

clipboard_e20ef1785e0df9185caacffddb87230a1.png

New Custom Field: ChildNumber

Field Name API Name Data Type

ChildNumber

ChildNumber__c

Text(255)

Step 1. Choose the field type

  1. Select Text and click Next.
    • Again, this screenshot is significantly cropped. There are many more options available.

clipboard_ef1ec1b64b86c44dbd35c2d5e2dc2fd6a.png

Step 2. Enter the details

  1. Enter the following text in their respective fields
    • Field Label: ChildNumber
    • Length: 255
    • Field Name: ChildNumber
  2. Click Next.

clipboard_ec2df7b5c1289cac94b50eeefd6fb66c0.png

Step 3. Establish field-level security

  1. Confirm the field-level security for the listed Profile types and click Next.
    • Be sure to select Visible for the profile types of users who will access this integration functionality.

clipboard_eaadc3b274993e797c3cdf3cf910da788.png

Step 4. Add to page layouts

  1. Confirm that Email Message Layout is selected.
  2. Click Save to complete the creation of your custom fields.

clipboard_eb59646bef3dff196ee3ec613829185a6.png

  1. Finally, confirm that your new MainNumber and ChildNumber fields appear in the Setup > Object Manager > Fields & Relationships > Email Message object.

clipboard_e093f60df2fa74dddc45423e8355aee4a.png