Skip to main content

Salesforce

Overview

Salesforce is a cloud-based CRM software designed for service, marketing, and sales.

info

Before you set up your data sync destination, make sure to configure your Source.

tip

The Salesforce destination supports batch and real-time syncs.

Destination tab

The following table outlines the mandatory and optional parameters you will find on the Destination tab (Image 1).

The following parameters will help to define your data sync destination and how it functions.

ParameterDescriptionExample
DestinationMandatory. Select your destination from the drop-down menu.Salesforce
ObjectMandatory. The API name of the platform event (with the __e).Notification__e
Auth URLMandatory. The URL that issues your Salesforce token.https://test.salesforce.com/services/oauth2/token
Client IDMandatory. The encrypted Client ID for the connected app. The Connection UI will automatically encrypt this value for you.
Client SecretMandatory. The encrypted Client Secret for the connected app. The Connection UI will automatically encrypt this value for you.
UsernameMandatory. The Username of a Salesforce account with the permissions to connect to your Object. The Connection UI will automatically encrypt this value for you.
PasswordMandatory. The Password of the above Salesforce account. The Connection UI will automatically encrypt this value for you.
Auto AssignOptional. You can set this to true to leverage auto assignment in Salesforce.
Platform EventOptional. You can set this to true to enable Platform Events.
Test ConnectionYou can use the "Test Connection" button to ensure that your credentials are properly configured to access your destination. If configured correctly, a "Connection Successful" pop-up will appear. If configured incorrectly, a "Connection Failed" pop-up will appear along with a link to the applicable error logs to help you troubleshoot.

Image 2: Define your Destination

Next steps

Troubleshooting

Source null values aren't updating correctly in Salesforce

When performing a data sync with a Salesforce destination, you need to replace any nulls in the source with '#N/A'.

You can use ISNULL([Column],'#N/A') in the source query.

For more information, review the Salesforce documentation here