Sync Salesforce accounts with Xero contacts
CRMMarketingSalesAccountingUtilities
What it does
When someone creates or updates an account in Salesforce, this automation searches Xero for a matching contact. It creates the contact if none exists, updates it when Salesforce is the master record, and sends an email notification.
Who it's for
Accounting teams who need Salesforce accounts synced to Xero without manual data entry.
Apps used
How teams use this
Keep Xero contacts in sync automatically
When someone updates an account in Salesforce, the matching Xero contact is updated the same way. No manual sync is needed and both systems stay current.
Prevent duplicate contacts in Xero
The automation searches Xero first so a contact is only created once, even if the same account is updated multiple times in Salesforce.
Respect Salesforce as the source of truth
Only update Xero when Salesforce is marked as the master record, so changes in other systems do not overwrite Salesforce data. This condition protects data integrity across both platforms.
Include phone and address in notifications
Set the email notification to include additional fields like phone and address so the team can verify what was synced to Xero without opening either system.
How it works
- Monitor for new or updated accounts. Detect when someone creates or updates an account in Salesforce so the sync can begin.
- Search for the contact in Xero. Look up whether a contact with the same details already exists in Xero to avoid creating duplicate records.
- Create the contact in Xero. When no matching contact is found in Xero, create a new contact record with the account information from Salesforce.
- Update the contact if Salesforce is master. When the contact exists in Xero and Salesforce is set as the master record, update the Xero contact with the latest account details.
- Send confirmation email to someone. Email someone to confirm that the Xero contact was created or updated from the Salesforce account change.