Skip to content

How to configure Salesforce Scheduler integration with Revenue Grid (v1)

3 min read · For users on:

Introduction

This guide provides step-by-step instructions on how to set up the Salesforce Scheduler Adapter (SSA) integration with the RG Email Sidebar.

Important

This guide focuses on the version 1 integration scenario, which does not include Salesforce widgets. For guidance on configuring SSA integration version 2, see this article.


Before you start

Before you proceed, complete the following prerequisites:

  1. Configure Salesforce Scheduler as described in this Salesforce article.
  2. Create a Salesforce Integration User with system administrator permissions as described in this article.

    Important

    To ensure the smooth integration, use the Salesforce Integration User exclusively to connect the Revenue Grid Salesforce Scheduler Adapter. Do not use personal user credentials for this purpose.

  3. Enable the Publish Appointments as Platform Events setting in the Salesforce Scheduler settings as described below.

Enable the Publish Appointments as Platform Events setting

  1. Switch to Lightning Experience.
  2. Open the Salesforce Setup menu.
  3. In the Quick Search field, enter Scheduler Settings.
  4. Click Salesforce Scheduler Settings in the search results.
  5. Enable the Publish Appointments as Platform Events setting.


Configuration

The configuration process includes the next steps:

  1. Install the dedicated Salesforce managed package.
  2. Set the custom Apex class.
  3. Add a new remote site.
  4. Connect the Salesforce Scheduler Adapter.
  5. Check the connection status.

Step 1: Install the dedicated managed package

The Salesforce Scheduler integration relies on specific Salesforce objects and classes. To simplify the setup, Revenue Grid provides a secure Salesforce managed package that contains all necessary objects and classes and complies with Revenue Grid Privacy & Security policies.

To install the package:

  1. Open the package installation link:

    RG Salesforce Scheduler Adapter managed package (version 1.30)

  2. Log in to your Salesforce account with administrative permissions.

  3. Choose the installation scope:

    • Admins Only
    • All Users
    • Specific Profiles (recommended) – restrict access to users using the Salesforce Scheduler integration.
  4. If you select Specific Profiles, set access for the required profiles using the controls provided. For detailed instructions, refer to this Salesforce guide.

  5. Acknowledge the warning about installing a non-Salesforce application.

  6. Click Install. You will see the following notification:

  7. Click Done. You will receive an email confirming the successful installation or providing details about any issues.


Step 2: Set the custom Apex class

To retrieve Salesforce Scheduler time slots accurately, configure the custom Apex class included in the managed package within the Salesforce scheduling policy settings.

  1. Open the Salesforce Setup Menu.
  2. In the Quick Find field, type Scheduling Policies.
  3. Click Scheduling Policies in the search results.
  4. Click Edit next to the scheduling policy marked as Is Default.

  5. In the Check External Systems for Resource Availability field, enter the Apex class: ServiceResourceScheduleHandlerImpl.

  6. Click Save.

Important

If your flows use additional scheduling policies, repeat steps 4–6 for each.


Step 3: Add a new remote site

  1. In the Quick Find field, type Remote Site Settings.
  2. Click Remote Site Settings in the search results.

  3. Click New Remote Site.

  4. Fill in the required fields:

    • Remote Site Name: SSA
    • Remote Site URL: Enter the Sync URL provided by the RG support team (e.g., https://sample-sync.revenuegrid.com).
    • Select the Active checkbox.

  5. Click Save.


Step 4: Connect the Salesforce Scheduler Adapter

  1. In the Quick Find field, type Installed Packages.
  2. Click Installed Packages in the search results.
  3. Click Configure next to the RG Salesforce Scheduler Adapter package.

  4. Enter the Client ID and Sync URL provided by the RG support team.

  5. Click Connect.

  6. In the Salesforce OAuth window, log in with the Salesforce Integration User’s credentials.

After a successful connection, the connection status will update accordingly.


Step 5: Check the connection status

  1. Open the Sync URL in your browser.
  2. Select Sign in with Salesforce and log in.
  3. Navigate to the Connectivity tab and check the CRM configuration status.

If the connection is unsuccessful, contact our support team.


Troubleshooting

Error: Dependent classes need recompilation

You may encounter the following error during the installation of the RG Salesforce Scheduler Adapter managed package:

This package can't be installed.
There are problems that prevent this package from being installed.

• ApexClass: Dependent class is invalid and needs recompilation:
  Class RGLSA.SM007_postEvent

• ApexClass: Invalid type: AppointmentSchedulingEvent

• ApexClass: Dependent class is invalid and needs recompilation:
  Class SM007_postEventTest: Dependent class is invalid and needs recompilation:
  Class RGLSA.SM007_postEvent: Invalid type: AppointmentSchedulingEvent

• AppSchedEventLSASendHandlerTest: Dependent class is invalid and needs recompilation:
  Class RGLSA.SM007_postEvent: Invalid type: AppointmentSchedulingEvent

Cause

This error occurs when the Publish Appointments as Platform Events setting is not enabled in Salesforce Scheduler settings.

Resolution

To resolve this issue:

  1. Enable the Publish Appointments as Platform Events setting.
  2. Retry the package installation.

If the issue persists, please contact our support team for further assistance.


See also