This new Sync Behavior is available on all syncs that use Salesforce as a destination.
The mirror keeps the salesforce object in sync with your source model.
This means it will:
- Update fields on existing records
- Create new records when they don't exist in Salesforce
- ⚠️ Delete records in Salesforce when they are not present in the model anymore
When should you use the mirror sync?
This sync is very useful when your data warehouse is a single source of truth. A great example is for compliance reasons (GDPR, CPAA); when you need to delete a user record, remove it from your data warehouse, and a mirror sync will take care of deleting the objects from Salesforce.
It can also be used to keep custom objects in sync, for example, transaction/payment data.