Sync Salesforce contacts to Mailchimp daily
Recipe ToolsMarketingCRM
What it does
When a scheduled trigger runs daily at 6 PM, this automation queries Salesforce for secondary contacts. Each contact is added or updated in Mailchimp based on whether the email exists and the record was modified in the past year.
Who it's for
Marketing operations teams who maintain a Mailchimp audience from Salesforce contact data.
How teams use this
Keep Mailchimp synced with Salesforce
Run the sync on a daily schedule so Mailchimp always has the latest secondary contacts from Salesforce. The team does not need to manually export or import data.
Update only recently changed contacts
Filter the sync to include only contacts modified in the past year so older records are not re-added. This keeps the audience focused on active prospects.
Sync to a different Mailchimp audience
Point the automation to another Mailchimp list or segment without changing the Salesforce query or sync logic. The same daily schedule and update rules apply.
How it works
- Run the sync daily. The automation starts every day at 6 PM to keep Mailchimp in sync with Salesforce secondary contacts.
- Query secondary contacts. Search Salesforce using a SOQL query to find all secondary contact records that match the sync criteria.
- Check and sync each contact. For each Salesforce record, search Mailchimp for a matching subscriber by email. If found and modified within the past year, update the subscriber. If not found, add the subscriber to the audience.