Sync Salesforce accounts to Xero on creation

CRMMarketingSalesUtilitiesAccountingTelephony

What it does

When a Salesforce account is created or updated, this automation searches for related contacts and checks the current time. It prepares the account data so Xero stays in sync with new Salesforce records.

Who it's for

Accounting teams who need Salesforce accounts reflected in Xero without manual entry.

How teams use this

Sync new accounts to Xero automatically

When a Salesforce account is created, this automation finds related contacts and sends everything to Xero. The account appears in the books without manual work.

Update Xero when account details change

If an account is updated in Salesforce, the automation captures the current time and syncs those changes to Xero. Both systems stay aligned.

Include agreement code in the Xero record

Add a condition to check if the agreement code field is present on the account. Only sync to Xero when that field is populated so incomplete records stay out of the books.

How it works

  1. Account is created or updated. A Salesforce account record is created or updated, starting this automation.
  2. Get related contacts. Search Salesforce for all contacts linked to that account so their details are available for the next steps.
  3. Capture the current time. Get the current time in the workspace timezone to timestamp the account record before sending it to Xero.
  4. Create or update the account in Xero. Send the account and contact details to Xero so the books match Salesforce and both systems stay in sync.