What does the integration offer?

Use the integration to send Salesforce Service Cloud cases to Compass with detailed information. Compass acts as a dispatcher for Salesforce Service Cloud cases, determines the right people to notify based on on-call schedules, notifies via email, text messages (SMS), phone calls, and iOS and Android push notifications, and escalates alerts until the alert is acknowledged or closed.

This document describes how to configure the integration and details of data that Compass receives from Salesforce Service Cloud.

How does the integration work?

Set up the integration

Salesforce Service Cloud is a bidirectional integration. Setting it up involves the following steps:

Add a Salesforce Service Cloud integration

In this release, only incoming integrations are fully supported in the Standard plan, at a team level. To use outgoing integrations or the outgoing part of bidirectional integrations, upgrade to a higher subscription plan. There may be restrictions on how you can create and apply integration rules as well.

You can add this integration only from your team’s operations page. Adding an integration from your team’s operations page makes your team the owner of the integration. This means Compass only assigns the alerts received through this integration to your team.

To add a Salesforce Service Cloud integration in Compass, complete the following steps:

  1. Go to your team’s operations page.

  2. On the left navigation panel, select Integrations and then Add integration.

  3. Run a search and select “Salesforce Service Cloud”.

  4. On the next screen, enter a name for the integration.

  5. Optional: Select a team in Assignee team if you want a specific team to receive alerts from the integration.

  6. Select Continue.
    The integration is saved at this point.

  7. Expand the Steps to configure the integration section and copy the API URL.
    You will use this URL while configuring the integration in Salesforce Service Cloud later.

  8. Select Turn on integration.
    The rules you create for the integration will work only if you turn on the integration.

Configure the integration in Salesforce Service Cloud

To configure the integration of Salesforce Service Cloud with Compass, complete the following steps:

  1. Download the jsmClass.apxc file.

  2. In SalesForce Service Cloud, select Settings > Developer Console.

  3. On the Developer Console page, select File > New > Apex Class.

  4. Copy-paste jsmClass.apxc.

  5. Select Save.

  6. Download the jsmTrigger.apxt file.

  7. On the Developer Console page, select File.

  8. Select New > Apex Trigger and copy-paste jsmTrigger.apxt.

  9. Paste the API URL previously copied from Compass into the endpoint field in the trigger function.

  10. Select Save.

  11. Go back to the SalesForce page and select Setup.

  12. Go to Setup > Security > Remote Site Settings.

  13. Add a new remote site and name it JSM.

  14. Paste the URL copied previously into Remote Site URL.

  15. Select Save.

To use the forwarding feature of the integration, add "jsm-alias" field to Cases.

Action mapping

In Compass, you can define mappings between Compass actions and Salesforce Service Cloud actions.

For alerts created by Salesforce Service Cloud

For other Compass alerts