Real People, 24/7
Real people 24/7

API Calls Exceeded using Salesforce for Mailchimp?

Are you integrating Salesforce for Mailchimp but API Calls have exceeded?

You have definitely come to the right article!

Below are the issues and information you’ll need to know:

Who:

SyncApps subscribers

Why:

My integration usually only takes 1500 Salesforce API calls, why has it now exceeded 15,000 API calls?

What:

Wondering about exceeding Salesforce API call limits while trying to sync a Salesforce Campaign to a Mailchimp Audience or Group.

How:

If using multiple Set Ups which use the same Mailchimp "Audience" then select all but 1 Set Up as one-way sync and uncheck Sync Campaign Responses on all but 1 Set Up as well.

A SyncApps subscriber recently raised an issue about trying to sync a Salesforce Campaign to a Mailchimp Audience. However, the Salesforce API call limit has exceeded. With the Salesforce Campaign having roughly 300,000 email addresses, they thought it would only take 1500 API calls. However, it turned out that it exceeded 15,000 API calls.

Behind this were the API calls to Salesforce from Mailchimp as both Leads and Contacts were checked for email addresses and cached by SyncApps. API calls to Salesforce:

15379 10 Dec 2018 17:56:00 DEBUG Today's API calls: {"data":{"salesforce":{"countToday":15379,"date":"2018-12-11"}}} 10 Dec 2018 17:56:04 ERROR

Error on sync: Exceeded request limit to Salesforce API

Please try to rerun the sync within the next 24 hours to sync the remaining records.

Usually, this does not occur as after SyncApps is able to cache all email records; the subsequent syncs should be way less calls via the API and significantly faster to complete. As an observation, it was found out that the subscriber used the same List for multiple Set Ups.

All that was needed was to select all but 1 Set Up as one-way sync and uncheck Sync Campaign Responses on all but 1 Set Up as well. So before enabling Campaign Response Sync when using 1 Mailchimp Audience be sure that all other Set Ups have a one-way sync feature enabled and Campaign Response Sync unchecked since only one Set Ups needs Campaign Response Sync enabled when using multiple Set Ups.

Through this, unnecessary Salesforce API calls will be reduced significantly.

Salesforce_to_Mailchimp_Best_Practices_Creately.png

How to:

To do this in the Set Up just enable the one-way sync option on the Mailchimp configuration tab and uncheck the Campaign Response Sync option for all other Set Ups. *Using Multiple Set Ups with 1 Mailchimp Audience.

One best practice when using the same Mailchimp Audience for integration with multiple Set Ups for Leads and Contacts would be to instead use just one Set Up, select multiple Salesforce Campaigns, or Cazoomi Marketing Lists.  By doing so, each Salesforce Campaign or Marketing List will then be synced to your Mailchimp Audience, then create a Mailchimp Group under Group Category specified in the Mailchimp configuration tab.

Voila! Then when Campaign Response Sync is enabled, SyncApps will only check once or twice, Contacts and Leads, not multiple times for the records bombing your API Limit.

Need some help?

Support_24_7.gif

Check out the options below on how you can contact our support team and find the answers you need to help you with your SyncApps integrations.

Help Center & Email is 24/7 to support@cazoomi.com | Live Chat & Phone is scheduled  

FAQs

Check out these Help Desk articles for answers to frequently asked questions.

Get Started | Login Issues | Pricing

Check out our subscriber's story here on how SyncApps helped them save hundreds of hours per year!

Subscriber-Story-kitchen-table-advisors-CTA.jpeg

Have more questions? Submit a request

Comments