Sync new/updated FreshBooks client to Xero contact
AccountingUtilities
What it does
When a client is created or updated in FreshBooks, this automation searches Xero for a matching contact by name or email. It creates a new contact in Xero when none exists, or updates the existing one.
Who it's for
Accounting teams who need FreshBooks and Xero to stay in sync without manual data entry.
Apps used
How teams use this
Keep client data current across both systems
When a client updates their email or name in FreshBooks, the contact in Xero is automatically updated with the same details. Both systems stay in sync without manual intervention.
Prevent duplicate contacts in Xero
The automation searches Xero by name and email before creating a new contact, so the same client is never added twice even if FreshBooks records are created in quick succession.
Notify sales when new contacts arrive
Add a Slack notification step so the sales team is alerted when a new contact is created in Xero from FreshBooks, letting them know a fresh prospect is ready to work with.
Assign contacts to specific account codes
Add a condition to check the client type or industry in FreshBooks and set the Xero contact to a different account code instead of the default Sales 4000 based on that classification.
How it works
- Monitor for new or updated clients. Watch FreshBooks for any client that is created or updated. The automation picks up matching records from the last 12 hours on first run, then checks on a regular interval.
- Retrieve the client details. Pull the full client record from FreshBooks, including first name, last name, email, and other contact information needed to search and sync in Xero.
- Search Xero by name or email. Search Xero for a contact that matches the FreshBooks client by first and last name, or by email if available. This prevents duplicate records from being created.
- Create or update the contact. If no matching contact exists in Xero, create a new one with the FreshBooks details and assign it a default Sales account code of 4000. If one exists, update it with the latest information.
- Send email notification. Optionally send an email notification when a new contact is created in Xero. Failure and error notifications are always sent regardless of this setting.