Skip to main content

How to enable Salesforce Real-Time Sync

This article describes how to enable Mixmax Real-Time Sync for Salesforce and what the RTS package includes.

Salesforce integration is available on all paid plans. Check out our pricing page for more information.

When you enable Real-Time Sync for Salesforce, Mixmax will immediately become aware of changes in your Salesforce instance and import those changes to Mixmax. Here are some examples of situations where real-time syncing will really make a difference:

  • If you create Leads or Contacts in Salesforce in bulk, your team will see those records right away in the Mixmax sidebar in Gmail.

  • If you're using Salesforce Rules, for example, to send a Sequence to new Leads who sign up for a webinar, your Rule will run and send the Sequence as soon as the Lead is created.

  • Tasks created in Salesforce will appear in Mixmax in near real-time.

Prerequisites

  1. You and your team will need a paid Mixmax plan, such as Mixmax Pro. Check out our pricing page for more information.

  2. Select a designated Salesforce Sync User.

  3. Your Salesforce plan must support Force.com Apex. This is available on Salesforce Enterprise Edition.


Important info regarding your Bulk API quota

Before you install the Real-Time Sync package in either your production or sandbox environment, keep the following in mind: The initial sync is generally the most intensive bulk quota event. This is because Mixmax performs a preliminary state audit of your Salesforce instance, and this process will cost more than day-to-day bulk quota usage once you are up and running.

Bulk quota would be higher than normal only when Mixmax requires a secondary state audit because it detects an inconsistency.

Example: Mixmax attempts to update a contact record, and the contact is flagged as being previously unknown to Mixmax. That could indicate an issue. Our system will flag this as an inconsistency and, as a best practice, try to re-audit the state.

When testing this in the sandbox, we know our customers often have multiple applications being tested simultaneously. To get the most accurate representation of what the initial Real-Time Sync Bulk API usage will look like, we recommend limiting other concurrent experimental packages that are running in your sandbox at the time of the test as much as possible.

With Real-Time Sync, Mixmax will reduce its Bulk API usage and use Apex calls to retrieve updates from Salesforce.


Installation steps

Mixmax administrators can go to the Admin Center > CRM Integrations tab.

Then, click the button to install the Mixmax Salesforce Package.

Installing Salesforce package

Clicking this button opens a new tab in Salesforce, and you'll see a page like the screenshot below. Select Install for All Users, then click Install.

Installing for all users

Approve Third-Party Access. This allows Salesforce to send data directly to Mixmax.

Approving access

Next, you will see this success page:

Installation complete

Click Done, and you will be brought to the Installed Packages page in Salesforce. At this moment, no further action is required in Salesforce.

If you return to CRM Integrations, we will automatically detect that you installed the Mixmax Package and start setting it up.

Setting up RTS

Mixmax may take up to 30 seconds to recognize a package installation.

This process should be fast. After that, you are all set; no further setup is required, and you can start syncing your data in real time!

Active RTS

You can refer to this component to check the status of your Real-time sync connection. You can verify the last time an Apex update was detected. If your RTS configuration has issues, you will see an error state.

If an account has gone over 30 minutes without triggering Real-Time Sync, the warning notice will be displayed.

This could mean that no field (especially those selected under Sync Conditions) has been updated. Mixmax will still sync the data, but via Incremental Sync using the Bulk API. Once Real-Time Sync is triggered again, Mixmax will revert from Incremental Sync to Real-Time Sync.

No RTS sync detected

Sync Conditions

Real-Time Sync Conditions help workspaces reduce APEX usage by limiting updates from SFDC to Mixmax to trigger only when specific fields are updated in SFDC (rather than firing any time an update occurs). This allows users to allocate APEX calls to data that plays a key role in their workflows. To learn more, see Sync Conditions.

Real-Time Sync Conditions settings

Mixmax custom settings

When you install the RTS package, the following Mixmax custom settings are created in Salesforce:

  • Disable Mixmax RTS: Stops the package from sending any changes to Mixmax, including deletions. Its API name is mixmax__ApexCalloutsDisabled__c.

  • Error logging enabled: Log errors in Salesforce to get extra details.

  • Mixmax Gateway URL (For testing only)

  • Mixmax Token

You can find the Mixmax Settings at Salesforce Setup > Custom Code > Custom Settings. To edit the custom settings, click Manage, then click Edit on the next page.

Managing custom settings

Editing the custom setting

Disabling Mixmax Real-Time Syncing

To disable Real-Time Sync, edit Mixmax Settings, check the box next to Disable Mixmax RTS, and click Save.

Disabling RTS

You can also uninstall the Mixmax package directly from Salesforce. For additional information, see how to uninstall a package.

Always try to disable RTS via the custom setting first. If that doesn't work, you can try uninstalling the Mixmax package completely.


Mixmax custom objects

When you install the RTS package, the following two Mixmax custom objects are also created in Salesforce:

Mixmax custom objects

Mixmax Error

This custom object is related to the Error logging enabled custom setting.

Mixmax Synced Fields

This custom object is related to the Real-Time Sync Conditions.

Did this answer your question?