Salesforce Integration Set Up for DSR Automation
Utilize Salesforce in the automation of your Data Subject Requests
Overview
The DSR Automation functionality of the integration allows for programmatic fulfillment of data subject requests (DSRs) directly against a Salesforce instance. Property-level settings are available for datapoints that support access and erasure requests to allow for fine-grained redaction customizations.
The integration finds personal information in the contact, lead and individual objects in Salesforce. It identifies the user record with a data subject's email address, phone number, or a custom identifier. It also supports access and erasure for custom objects. See Custom Objects.
| Object | Access | Erasure | Opt-out and opt-in |
|---|---|---|---|
| Contact | Yes | Yes | Contact opt-out and opt-in |
| Lead | Yes | Yes | Contact opt-out and opt-in |
| Individual | Yes | Yes | Contact opt-out and opt-in, tracking opt-out and opt-in, and restriction of processing |
| Custom and other objects | Yes | Yes | Not supported |
When an erasure request is submitted, the contact, lead, or individual record is permanently deleted, unless the corresponding datapoint is configured for redaction. Keep these limits in mind:
- Transcend skips a Contact that belongs to a Salesforce "Person Account". It is not possible to delete these records through the integration.
- When you turn on Skip Deletions for Open Cases, Transcend skips a Contact that Salesforce refuses to delete because of open cases.
- Transcend skips a Lead that Salesforce has converted when it writes an opt-out or opt-in, because Salesforce makes a converted Lead read-only.
Property Visibility: Redaction Customization Settings
For standard datapoints in the Salesforce data system, it's possible to configure which fields on the corresponding object should be redacted for access and erasure requests.
For erasure requests, the default is to hard delete the object from Salesforce. If property settings are configured to redact specific fields, the object in Salesforce will be retained and the specific configured fields will be redacted. Email fields get a unique masked address.
When redacting an Individual record in Salesforce, Transcend also sets the ShouldForget flag to true through the Salesforce consent API. This native Salesforce field indicates a right to be forgotten, which indicates the user would like their personally identifiable information (PII) and any related records deleted. There is no automatic functionality tied to this field, however, Salesforce suggests customers should build automations off of this field using Apex Triggers.
There are a few considerations when deciding whether to redact or delete data when responding to an erasure DSR for Salesforce. Deleting records from Salesforce may reduce compliance risk, but it may interrupt reporting and analytics flows. Additionally, hard deleting records may result in an issue if other integrations re-sync deleted data into Salesforce, in which case redaction would preserve the record and reduce risk of re-syncing data.
For access requests, an object matching the data subject's identifier (email, phone, or custom identifier) will be returned to the data subject with all fields from the object. If property settings are configured for redaction, the specified fields on the object will not be returned to the data subject. In other words, using the visibility settings, gives flexibility in determining which fields on the object should be redacted from the final payload returned to the user. For example, there may be a field on the contact object that contains internal notes. It's possible to redact this field from the data returned to a data subject, if this information should be kept internal.
For more information about how to configure redaction for specific fields, see the next section on how to configure Salesforce for DSRs.
Configuring DSR Automation
1. Navigate to the Manage Datapoints tab within the Salesforce data system
2. Configure the request types that should be available for each standard datapoint
For the individual, lead and contact objects, confirm which types of data actions will be enabled.
Review the access and erasure actions to ensure configuration is as expected.

3. Optionally configure property-level settings for redaction on datapoints that support access and/or erasure
- For each standard datapoint where redaction of certain fields is desired, select the review button, which reads Review 1 Property or Review 3 Properties, to configure Property Visibility Settings.

- Configure Access Request Visibility and Erasure Properties to Redact as desired.

4. Set the data system live for DSRs
Go to the DSR Automation tab of the Salesforce data system and turn on DSR Automation Live Mode.
Erasure settings
These connection settings are optional. Set them in the Connection tab of the Salesforce data system.
| Setting | What it does |
|---|---|
| Delete Field History Objects | When Transcend redacts a record, it also deletes the field history objects for that record. This setting has no effect on a hard delete. Salesforce handles history for deleted records. |
| Skip Deletions for Open Cases | Transcend skips a Contact that Salesforce refuses to delete because of open cases. |
| Skip Redacting Non-Nullable Fields | Transcend skips a field that cannot be empty. If this is off, redacting that field is an error. |
Preference Management settings
Define which Salesforce fields store each preference in a preference workflow. This is the recommended approach. If a preference workflow maps a purpose and topic to Salesforce fields, Transcend writes those fields.
The settings below are deprecated in favor of preference workflow mappings. Transcend uses them only when no preference workflow mapping applies.
- Additional API field name(s) for Opt-Out and Opt-In privacy requests for Contact object, and the matching Lead and Individual settings. Enter a comma-separated list of field API names. Transcend sets each field to
trueon opt-out andfalseon opt-in. Transcend always updates the standard fields too. - Preference Topic Field Mapping. Enter a JSON object that maps each preference topic to one Salesforce field. Preference workflow mappings override this JSON.
The standard fields that Transcend updates are:
| Object | Fields |
|---|---|
| Contact | DoNotCall, HasOptedOutOfEmail, HasOptedOutOfFax |
| Lead | HasOptedOutOfEmail |
| Individual | HasOptedOutSolicit |
Custom Objects
Transcend supports running Access and Erasure-based DSR Automation on more than just the Contact, Individual, and Lead standard Salesforce Objects.
Pre-Requisites for Custom Objects
In order to enable running DSR Automation on these objects, you will first need to enable the Datapoint Schema Discovery plugin on the Structured Discovery tab, and then allow the plugin to discover your custom objects.
Custom Object Configuration Steps
- Once the plugin populates the Manage Datapoints view for the Salesforce data system in question with all of your custom objects, you should then tag the attributes for all the custom objects you wish to run DSRs on, with the
Contact/EmailorContact/Phonedata categories. Transcend looks up records by the attributes that are labeled with the identifier type of the request. If no attribute has that label, Transcend skips the object. - You may then enable the access and/or erasure actions for the custom object, from the Manage Datapoints view for the system. a. You can follow the instructions in the Configuring DSR Automation section in order to enable hard-deletion vs. redaction workflows for custom objects too.
That's it! Any new requests (or old ones, re-started) will now also run through those custom objects.
Note: Be aware that Transcend supports only custom objects that have an Id field. For an object without an Id field, the request returns an error.