Sync updated Salesforce accounts to Xero customers

CRMMarketingSalesAccountingUtilities

What it does

When an account is updated in Salesforce, this automation checks if that customer exists in Xero. If not, it creates the customer in Xero and marks it active so both systems stay in sync.

Who it's for

Accounting teams who need Salesforce accounts to flow into Xero without manual entry.

How teams use this

Keep customer records in sync

When a new account is added to Salesforce, it automatically creates a matching customer in Xero so accounting has the right records without manual data entry.

Sync only active accounts

Check the active flag on the Salesforce account before creating the customer in Xero so inactive accounts do not clutter the books.

Route synced accounts to sales

Send a notification to a sales channel when an account is synced to Xero so the team knows the deal is now in the accounting system.

How it works

  1. Account is created or updated. An account record is created or updated in Salesforce, including the account name, email, and active status.
  2. Search for the customer in Xero. Look up the account in Xero by name to see if a customer record already exists there.
  3. Create the customer in Xero. If the customer does not exist, create a new customer record in Xero with the account name, email, and active flag set to true.
  4. Update the account in Salesforce. Update the Salesforce account record to flag that the customer was synced to Xero so the team knows the sync status.