Sync Salesforce customer accounts to Xero contacts
CRMMarketingSalesAccountingUtilities
What it does
When a Salesforce account is created or 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, keeping customer data 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.
Apps used
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, eliminating manual data entry and reducing errors.
Onboard new customers across systems
When a new customer account is created in Salesforce, this automation immediately creates the corresponding contact in Xero so billing and invoicing can begin without delay.
Filter by additional account criteria
Extend the condition to check for account type 'Customer' and a specific region or industry field so only relevant accounts sync to Xero based on your business rules.
Sync all account types to Xero
Remove the 'Customer' type filter so every Salesforce account, regardless of type, creates or updates a contact in Xero for a complete prospect and customer database.
How it works
- Monitor Salesforce account changes. When a Salesforce account is created or updated, check if the account type contains the word 'Customer' to decide whether to proceed.
- Search for matching Xero contact. Search Xero for a contact whose name matches the Salesforce account name to determine if an update or create is needed.
- Create or update the contact. If the contact exists in Xero, update it with the latest information from Salesforce. If it does not exist, create a new contact in Xero with the account details.