Salesforce integration is available on all paid plans. Check out our pricing page for more information.
This article is for Salesforce admins who plan to delete or restore a large number of records, such as thousands of Accounts, in an org that has the Mixmax Real-Time Sync package installed.
Deleting records in Salesforce doesn't delete anything in Mixmax. Mixmax contacts stay in any Sequences they're in, and their messages and engagement history are kept. To learn how Mixmax picks up deletions, see Salesforce Real-Time Sync.
Before you start
Disable Real-Time Sync for the user who will run the deletion (see Disabling Real-Time Sync for one user or profile). With Real-Time Sync on, the package sends deletions to Mixmax in async Apex jobs, about one for every 100 deleted records. These jobs count toward your org's daily async Apex limit, which your other automation uses too. Everyone else's changes keep syncing in real time, and Mixmax still picks up the deletions within about 24 hours. While the setting is on, have that user only delete records, not create or update them.
Run the same deletion in a Salesforce sandbox first, with the same setup, to check that it works as expected.
Review your plan for restoring records with your Salesforce admin. Deleted records stay in the Salesforce Recycle Bin only for a limited time, and records you hard delete (for example, with the Bulk API's hard delete option) skip the Recycle Bin, so you can't restore them. To learn more, see Salesforce Help.
After the deletion
When the deletion is done, delete the entry you added for that user in Mixmax Settings, so their changes sync in real time again.
Restoring deleted records
Restoring records from the Salesforce Recycle Bin is safe for Mixmax, because nothing was deleted in Mixmax. After you restore them, update the restored records in Salesforce (for example, with a mass update) so they sync to Mixmax again. Restoring a record doesn't always trigger a sync on its own.
FAQ
Does Mixmax limit or charge for the sync traffic from a bulk deletion?
No. Mixmax doesn't rate-limit or charge for it. The limit to watch is your Salesforce org's async Apex limit (see Before you start).
Is there a setting that stops only deletions from syncing?
No. To keep normal syncing going during a deletion, disable Real-Time Sync only for the user running it (see Disabling Real-Time Sync for one user or profile).
Which deletions does Real-Time Sync send right away?
Deletions of Accounts, Campaigns, Campaign Members, Contacts, Events, Leads, Opportunities, Opportunity Contact Roles, and Tasks. Records that Salesforce deletes along with another record, such as Contacts deleted with their Account, aren't sent right away. Mixmax picks those up within about 24 hours.
