/
Integrate with SalesForce Service Cloud

Integrate with SalesForce Service Cloud

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?

  • When a case is created by Salesforce Service Cloud, an alert is created in Compass.

  • When the case's state is changed to Working in Salesforce Service Cloud, the corresponding alert is acknowledged in Compass.

  • When the case's state is changed to Closed in Salesforce Service Cloud, the corresponding alert is closed in Compass.

  • If Send Alert Updates Back to SalesForce Service Cloud is enabled, actions for Salesforce Service Cloud are executed in Salesforce Service Cloud when the chosen action is executed in Compass for alerts which are created by the Salesforce Service Cloud integration.

  • These action mapping features are explained in detail in the Action Mapping Feature section below.

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 Compass

  • Configure the integration in Salesforce Service Cloud

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

  • Use this section to map Compass actions to Salesforce Service Cloud actions when the source of the alert is Salesforce Service Cloud (i.e when the alert is created by Salesforce Service Cloud integration.)

  • Map different Compass actions to different Salesforce Service Cloud actions. For example, set case status to Working in Salesforce Service Cloud, when the alert is acknowledged. In order to do this, define If alert is acknowledged in Compass, set case's status to Working in Salesforce Service Cloud. mapping in Send Alert Updates Back to Salesforce Service Cloud section.

  • A tag is added to the alert and a custom action is executed on alert actions differ from other actions. When one of these actions is selected, an extra field appears to enter for which tags or for which custom action this mapping works.

  • Enter multiple tags by separating the tags with a comma. If multiple tags are entered, the mapping works if the alert has one or more of the specified tags. Leave the tags field empty to have the mapping to work for any tag.

  • If a Compass action is mapped to multiple Salesforce Service Cloud actions, an error occurs except for the a tag is added to the alert and a custom action is executed on alert actions. Save multiple mappings for these actions because they differ by the given tags and the given custom action names.

For other Compass alerts

  • Use this section to map Compass actions to Salesforce actions when the source of the alert is NOT Salesforce (i.e When the alert is created by another integration.)

  • For this purpose, use Create Salesforce Issues for Compass Alerts section. In order to use this functionality, map one Compass action to create an issue Salesforce action. The Compass action doesn't have to be alert is created, it can be other actions as well.

  • a tag is added to the alert and a custom action is executed on alert actions differ from other actions. When one of these actions is selected, an extra field appears to enter for which tags or for which custom action this mapping works.

  • Enter multiple tags by separating the tags with a comma. If multiple tags are entered, the mapping works if the alert has one or more of the specified tags. Leave the tags field empty to have the mapping to work for any tag.

  • If a Compass action is mapped to multiple Salesforce actions, an error occurs except for the a tag is added to the alert and a custom action is executed on alert actions. Save multiple mappings for these actions because they differ by the given tags and the given custom action names.

Related content

Integrate with Sematext SPM
Integrate with Sematext SPM
Read with this
Integrate with Site24x7
Integrate with Site24x7
Read with this
Integrate with Sysdig Cloud
Integrate with Sysdig Cloud
Read with this
Integrate with Splunk IT Service Intelligence
Integrate with Splunk IT Service Intelligence
Read with this
Integrate with ServiceNow
Integrate with ServiceNow
Read with this
Integrate with Sentry
Integrate with Sentry
Read with this