Hey there! Welcome!
First things first, congratulations for setting up your Mailchimp for Salesforce integration successfully!
Do you happen to exceed in API request limit in Salesforce? Please follow through this use case scenario to solve this problem.
I am using the Mailchimp for Salesforce SyncApps. I am also exceeding my API request limit in Salesforce.
Can you give me an estimate of how many API calls are needed to support a given list size?
Details: There are 25,000 subscribers in Mailchimp. Does it mean 25,000 calls for each campaign? Does using additional merge fields affect the number of API calls?
SyncApps does the following process to sync Mailchimp for Salesforce:
- Checks in Salesforce email cache. If it exists then do not process;
- Checks in Salesforce whether the email address exist. If it exists then do not process;
- If the email address does not exist in Salesforce, then create a new record in Salesforce.
For your sync, there are no cached data for most of the email addresses, so SyncApps sends 25,000 requests to Salesforce to check whether the email address exists. Currently, we check one email address at a time. We might optimize to check a few contacts at once.
There are a few options to avoid this type of API issue:
- You have selected Campaign as List feature but only have 48 contacts in this Campaign in Salesforce. To have efficient sync, please turn off "Sync Campaign as List" feature then do initial sync so all email address will be cached by SyncApps.
- Alternatively, if you don't want new Contacts to be created in Salesforce from Mailchimp, you can disable two way syncing. Campaign Response will still be synced if you enable this option but please note that only Campaign Metrics for Contacts that have been synced from Salesforce to Mailchimp will be populated so if you have only 48 contacts synced then only those 48 contacts will be populated with Campaign Response Metrics.
So in your use case, the first option is better.
- Start with an empty Mailchimp list for your "Master List" and populate the list with Contacts from Salesforce is the best practice to minimize API usage.
Estimate API Calls for Campaign Response Sync:
SyncApps needs fewer API calls if using an Empty Mailchimp List as the "Master List."
Each API call can update 200 Salesforce records so for 10,000 campaign response only 50 calls will be needed.
Retrieving contacts/leads from Salesforce also requires far fewer API calls.
Currently, it is set 500 records per call so for 20,000 records only needs 40 API calls.
Currently, the issue is the email existence checking in Salesforce when an email address is not in cache. So if there are 20,000 records in Mailchimp, there will be 20,000 calls required if you do not sync all contacts/leads like in many of SyncApps subscriber's current configurations.
If you sync all contacts there will be no problem as on initial sync SyncApps will retrieve Salesforce contacts and put them in SyncApps Cache.
Hope you find this helpful on the snag you’re on.
Let us hear from you any queries for more future enhancements or new releases by simply emailing our 24/7 Support Staff.