Create a Xero contact from a new Salesforce customer account
CRMMarketingSalesAccounting
What it does
When someone creates a new account in Salesforce with the type Customer, this automation searches Xero for a matching contact. If none exists, it creates that contact in Xero so both systems stay in sync.
Who it's for
Accounting teams who manage customer data across Salesforce and Xero.
Apps used
How teams use this
Sync new customer accounts to accounting
When a customer account is created in Salesforce, a corresponding contact appears in Xero automatically. The team no longer needs to manually enter customer data in both systems.
Prevent duplicate contacts in Xero
The automation checks whether a contact already exists in Xero before creating a new one. This keeps the contact list clean and avoids reconciliation issues.
Update existing contacts instead of skipping
Modify the automation to update an existing Xero contact with fresh details from Salesforce when a match is found, rather than ending the flow. Add an update step to keep contact records current.
Sync only specific account types
Filter which Salesforce accounts trigger the sync by adding conditions beyond the Customer type check, such as account status or region. Set only the accounts that meet all conditions to create Xero contacts.
How it works
- New Salesforce account is created. A new account is created in Salesforce with the type set to Customer or containing the word Customer.
- Check the account type. Verify the Salesforce account type contains the word Customer. If it does not, the automation stops. If it does, proceed to search Xero.
- Search for a matching contact. Search Xero for a contact whose name matches the Salesforce account name to avoid creating a duplicate in Xero.
- Create the contact in Xero. If no matching contact is found in Xero, create a new contact there with the account details from Salesforce so the record exists in both systems.