This article covers
You can make use of this guide when you get sync errors due to duplication rules.
Sync errors that happen due to duplication rules in spite of marking the action as Allow instead of Block. Active Salesforce duplicate rules can conflict with Chargebee that inserts records into your Salesforce organization. When Chargebee integration inserts a new record into Salesforce, the Salesforce duplicate rules are run. If a duplicate is found, the record is not inserted into Salesforce. Most of the integrations that work with Salesforce(including Chargebee) which insert records into Salesforce contain their own built-in duplicate matching rules and should be excluded from the Salesforce built-in duplicate matching rules.
The best practice is to allocate a Salesforce license to integration and assign them to a profile specifically set up for the integration user(s). The profile of the user who had connected Chargebee and Salesforce in this case. This profile can then be excluded from firing the duplicate rules.
There are also some integrations(including Chargebee) whose processes(automations) use the user who set the process up as the creator for new records. These should be reviewed as well as they may also cause records not to be inserted into Salesforce. The fix is to make sure the processes are owned by a user that is excluded from the firing of the duplicate rules.
In the example below, the matching rules have been configured to run only when the Current User is not equal to our two Chargebee related profiles. This will exclude them from the duplicate checking process.
- What are duplicate rules in SF ?
A duplicate rule defines what happens when a starts creating/updating a duplicate record. . Salesforce provides standard duplicate rules for business and person accounts, contacts, and leads. This can also be customized by the client.
- How to check duplicate rule setup and indicate the same to the merchant?
Ask the merchant to navigate to Setup> Quick Find> search duplicate > click on Duplicate rules. Check with the merchant if these are active and if the alert text matches the error received when syncing the customer.