Sync Salesforce accounts and contacts between instances

CRMMarketing

What it does

When a Salesforce account is created or updated in one instance, this automation searches for that account in a second Salesforce instance by name. It creates the account if it does not exist, updates it if it does, and syncs related contacts by email address.

Who it's for

Sales operations teams who maintain Salesforce data across multiple instances and need accounts and contacts to stay in sync.

Apps used

How teams use this

Keep two Salesforce orgs in sync

Maintain a single source of truth for accounts and contacts across two Salesforce instances without manual data entry. Changes in one org flow to the other automatically.

Prevent duplicate accounts across instances

Search by account name and contact email to ensure the same customer record is not created twice. The automation stops if more than one match is found in the target instance.

Sync accounts to a reporting instance

Push accounts and contacts from a production Salesforce org to a separate reporting or analytics instance. Only the target instance changes; the source stays the same.

Add custom field mapping to the sync

Include additional account or contact fields beyond name and email in the create and update steps. Set field values from the source to the target during each sync.

How it works

  1. Monitor for new or updated accounts. Watch for a new or updated account in the source Salesforce instance. The automation runs each time an account changes.
  2. Search the target instance by name. Search the second Salesforce instance for an account with the same name to avoid creating duplicates.
  3. Create or update the account. If the account does not exist in the target instance, create it. If it exists, update it with the latest details from the source.
  4. Sync related contacts by email. Search for contacts in the target instance by email address and create or update them to match the source contacts linked to the account.