Skip to content

Item Deduplication Mechanisms in SmartCloud Connect

Allow creating duplicated emails in Salesforce

This setting is located in the Email saving settings area of SmartCloud Connect Customization settings and it is enabled by default. It can be disabled if that is required by your Salesforce use preferences - specifically if you want no Task/Email message duplicates (clones) to be created in your Salesforce.

Salesforce has a limitation on Lookup linking: any Activity can be linked to only one object, so in order to get a Task or Email Message based on your email correspondence linked to multiple objects SmartCloud Connect must create its duplicates (clones) in Salesforce. This is the default behavior preferred by most SmartCloud Connect users; if you disable this setting to prevent creation of Activity clones in Salesforce, linking of emails to multiple objects will become unavailable: if you link an Email already linked to an object to another object, the first object will be unlinked. On modifying the email’s primary association you will be prompted to replace the current value in the Name field of an already existing Task/Email message with the name of the new object you want to associate the email with. For example, if you first save an email linked to a Contact and then try to save it linked a Lead (in this case, “Robert West”), you will see the following notification:

Additionally, you can use the related Allow creating email duplicates to be linked to these object types field to set what object types Task/Email message clones are allowed to be created for to be linked, instead of disabling creation of duplicated Activities altogether. If you set this limit, less Activity clones will be created in Salesforce.

Note

If the Allow creating email duplicates to be linked to these object types field is left empty, SmartCloud Connect will be allowed to create Activity duplicates to be linked to all Salesforce object types.

Important

Please note that if you adjust the duplicate handling settings in SmartCloud Connect Customization, for these changes to be applied you must log out from your SmartCloud Connect account and then re-log in.

General email deduplication

The Allow creating duplicated emails in Salesforce feature is not to be confused with general Email deduplication always automatically applied by SmartCloud Connect synchronization when email business correspondence is processed and shared in Salesforce. General deduplication prevents creation of redundant clones of the same email by several users within a Salesforce org. After a user in an org sends or receives an email and shares it in Salesforce, another user from the same org who receives the message will see an indication that the email has already been shared in Salesforce in the header of SmartCloud Sidebar upon selecting it in the email client:

For example, if an email is received by several users one org (via the To: or CC: field) and all of them share the email in Salesforce via SmartCloud, only the first instance will be saved and the rest will be referenced to the first one.

The email’s current object associations (linking) set by the first user who shared it in Salesforce will be marked in the Sidebar with green checkmark circles. If you modify these associations and save the email in Salesforce, SmartCloud Connect will create a clone of the corresponding Task/Email Message object that will be linked according to your preferences, also keeping its initial instance with its original linking for other users in your org.

General deduplication setup prerequisite

To enable general deduplication a custom InternetMessageId field (it is included in the Invisible Suite managed Salesforce package) should be added in Salesforce for Task objects and specified in SmartCloud Connect Admin panel setting Original email ID. Or, if you are using Email Messages instead of Tasks, the MessageIdentifier field should be entered there.

Contacts and Events deduplication

Besides preventing Email duplicates creation, SmartCloud Connect ensures that no duplicated Contacts or Events are created in your Salesforce org. This deduplication is handled by synchronization. Contacts duplication is based on the Email address field: instead of creating a new instance of a Contact with the same email address on Contacts syncing SmartCloud Connect retrieves the existing one from Salesforce. Events deduplication is applied based on Events’ Subject, Start Date, and Organizer fields and only concerns Salesforce Events which have attendees (meetings/conference calls). Additional rule applied: if the same event is created or updated in MS Outlook and Salesforce at the same time, only the instance created/updated in MS Outlook will be kept, the other instance will be replaced.