Sync Salesforce Contact to NetSuite Customer

CRMMarketingAccountingERPEcommerceFinancial ManagementHR managementRecipe Tools

What it does

When someone creates or updates a Salesforce Contact, this automation syncs that contact to NetSuite as a Customer and links both records. The Salesforce Contact Id goes to NetSuite, and the NetSuite Customer Internal Id comes back to Salesforce.

Who it's for

Finance and Sales operations teams who need Salesforce contacts and NetSuite customers to stay synchronized without manual entry.

How teams use this

Keep customer data in sync across systems

When a sales rep creates a contact in Salesforce, it automatically becomes a customer in NetSuite with the same name and email. Both records stay linked so updates flow both ways without manual work.

Prevent duplicate customer records

The automation searches NetSuite before creating a customer, so the same person is never added twice. The sync timestamp check stops the flow from running in a loop when records change.

Extend sync to include phone and address

Add phone and billing address fields to the Salesforce Contact custom fields, then map them to the NetSuite Customer record so more details sync automatically with each update.

Route errors to a Slack channel

Instead of sending error notifications to the owner, post sync failures to a dedicated Slack channel so the team can see and fix issues faster.

How it works

  1. Detect a new or updated contact. Monitor Salesforce for a Contact that is created or updated. The automation checks if the Last Sync Time field is missing or differs from the Last Modified Date to avoid duplicate syncs.
  2. Search for the subsidiary. Search NetSuite for the Subsidiary that matches the configuration setting. If no subsidiary is found, the automation stops and sends an error notification to the owner.
  3. Create or update the customer. Create a new Customer in NetSuite with the contact details, or update the existing one using the cross-reference field. Store the Salesforce Contact Id in the SF Id field on the NetSuite Customer record.
  4. Link the NetSuite customer back. Write the NetSuite Customer Internal Id to the NS Customer Internal Id field on the Salesforce Contact so the next update finds the right record in NetSuite.
  5. Update the sync timestamp. Set the Last Sync Time field on the Salesforce Contact to the current time in Coordinated Universal Time so the automation knows this record was just synced.