Sync Salesforce customer accounts to Xero contacts

CRMMarketingSalesAccounting

What it does

When a Salesforce account is updated and its type contains 'Customer', this automation searches Xero for a matching contact. It updates the contact if found, or creates a new one if not, so customer data stays in sync across both systems.

Who it's for

Accounting teams who manage customer records in both Salesforce and Xero and need them to stay synchronized.

How teams use this

Keep customer data synchronized

When someone updates a customer account in Salesforce, the matching Xero contact is automatically updated with the same information. Both systems stay in sync without manual data entry.

Prevent duplicate contacts in Xero

The automation searches Xero before creating a contact, so the same customer is never added twice. This keeps the contact list clean and accurate.

Sync only customer-type accounts

Add a filter to check the Salesforce account type field and only sync records marked as 'Customer'. Other account types are ignored so only relevant contacts reach Xero.

Include additional contact fields

Extend the sync to include phone, billing address, or custom fields from Salesforce when creating or updating the Xero contact. Map only the fields your team needs.

How it works

  1. Account is created or updated. A Salesforce account record is created or updated with a type that contains the word 'Customer'.
  2. Search for matching Xero contact. Search Xero for a contact whose name matches the Salesforce account name to avoid creating duplicates.
  3. Create or update the contact. If the contact exists in Xero, update it with the latest information from Salesforce. If not, create a new contact in Xero with the account details.