Sync Salesforce accounts to Xero when created

CRMMarketingSalesUtilitiesAccountingTelephony

What it does

When a Salesforce account is created or updated, this automation retrieves contact details and the current time. It then syncs the account to Xero with the contact information and review date.

Who it's for

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

How teams use this

Sync new Salesforce accounts to Xero

When a Salesforce account is created, the automation pulls contact details and syncs the account to Xero with the current timestamp. The team no longer enters accounts twice.

Route accounts by contract status

The automation checks if contract code and contract name are present before syncing to Xero. Accounts without both fields are held until the data is complete.

Add annual review date calculation

Include a step that sets the annual review date to 365 days from the account creation date in Salesforce. This requires a date math function to add days to the created date.

Alert on account status changes

Send an SMS notification when a Salesforce account status changes to closed or is deleted. This requires adding a condition check and SMS step to the automation.

How it works

  1. Account is created or updated. A Salesforce account record is created or updated in Salesforce, starting this automation.
  2. Get contact details. Retrieve the contact information linked to the account in Salesforce so Xero has the full record.
  3. Get the current time. Capture the current time in the workspace timezone from Clock to set the annual review date on the account.
  4. Sync account to Xero. Create or update the account in Xero with contact details, MSA code, and MSA name when both fields are present in Salesforce.