Sync Salesforce Account to NetSuite Customer

CRMMarketingAccountingERPEcommerceFinancial ManagementHR managementRecipe Tools

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.

Who it's for

Accounting teams who need Salesforce and NetSuite to stay in sync without manual data entry.

How teams use this

Create NetSuite Customer from new Salesforce Account

When sales closes a deal and creates an Account in Salesforce, the new Customer appears in NetSuite automatically with the same name, email, and billing address. No manual entry needed.

Keep customer data current across both systems

When someone updates an Account in Salesforce with a new phone number or address, the NetSuite Customer record updates at the same time. Both systems always show the latest information.

Sync only specific countries to NetSuite

Add a country condition to filter Accounts before syncing to NetSuite, so only records from mapped countries create Customers. Other countries can be added to the country field mapping as needed.

Notify the team lead when sync fails

When a sync fails, send an email to the Accounting manager with the error details and a link to the job so they can investigate and fix it right away.

How it works

  1. Monitor Salesforce Account changes. Detect when a Salesforce Account is created or updated, and check the Last Sync Time to avoid syncing the same change twice.
  2. Search for the NetSuite Subsidiary. Look up the NetSuite Subsidiary ID based on the configuration so the Customer is created under the correct subsidiary in NetSuite.
  3. Create or update the NetSuite Customer. Create a new Customer in NetSuite with the Salesforce Account details, or update the existing one using the cross-reference ID stored on both records.
  4. Store the NetSuite Customer ID. Write the NetSuite Customer Internal ID back to the Salesforce Account in the NS Customer Internal Id field so both records stay linked.
  5. Update the sync timestamp. Record the sync time on the Salesforce Account in the Last Sync Time field so the next change is recognized and synced only once.