Sync users from MySQL to Salesforce in batches
DatabaseCRMMarketing
What it does
When new rows appear in the MySQL users table on a set schedule, this automation batches them and upserts accounts in Salesforce. Someone can monitor the sync without manual intervention between systems.
Who it's for
Sales operations teams who need to keep Salesforce accounts in sync with a MySQL database.
Apps used
How teams use this
Keep Salesforce accounts current
Sync new users from MySQL to Salesforce accounts on a daily schedule so the sales team always has fresh data without manual uploads or data entry.
Sync to a different Salesforce object
Point the upsert step at Salesforce contacts instead of accounts so the same batch flow works for a contact database in MySQL.
Filter rows by status before syncing
Add a condition to only upsert rows where the MySQL status field equals active so inactive users do not clutter Salesforce.
How it works
- Monitor the users table. On a scheduled interval, check the MySQL users table for new rows that have not yet synced to Salesforce.
- Upsert accounts in bulk. Batch the new rows and upsert them as accounts in Salesforce so the systems stay in sync without creating duplicates.