Sync Salesforce accounts to NetSuite customers
CRMMarketingSalesERPUtilities
What it does
When someone creates or updates a Salesforce account, this automation syncs it to NetSuite by creating or updating the corresponding customer record. Both systems stay linked through cross-reference IDs so changes flow between them.
Who it's for
Finance teams who manage customer data across Salesforce and NetSuite and need accounts and customers to stay in sync.
Apps used
- Salesforce
- NetSuite SOAP
- Workato List
- Email by Workato
How teams use this
Keep customer records in sync automatically
When a sales team creates an account in Salesforce, the automation instantly creates the matching customer in NetSuite. Both records stay linked so updates in either system flow to the other without manual work.
Prevent duplicate customer records
The automation checks if a customer already exists in NetSuite before creating a new one, and compares sync times to avoid re-syncing the same change twice. This keeps the customer database clean and accurate.
Extend sync to include phone and billing address
Add custom fields to the Salesforce account and NetSuite customer to map phone numbers and billing addresses. The automation will then sync those fields along with the account name and email on every create or update.
Route syncs by country or region
Set up conditional logic to route accounts to different NetSuite subsidiaries based on the billing country. Only accounts in mapped countries will sync; others will stop with an error message so the team can handle them manually.
How it works
- Monitor Salesforce account changes. When a new account is created or an existing account is updated in Salesforce, check the Last Sync Time to see if this account has already been synced to avoid duplicate updates.
- Search for the NetSuite subsidiary. Look up the NetSuite subsidiary ID based on the configuration to ensure the customer is created under the correct subsidiary in NetSuite.
- Create or update the NetSuite customer. Create a new customer in NetSuite if one does not exist, or update the existing customer. Store the Salesforce Account ID in the SF Id field and the NetSuite Internal ID back on the Salesforce account so both records stay linked.
- Update the Salesforce account record. Write the NetSuite Customer Internal ID to the NS Customer Internal Id field on the Salesforce account so future updates use the correct cross-reference.
- Notify on sync errors. If any step fails, send an email to the owner with the error details and a link to the job so the issue can be investigated and fixed.