Create a NetSuite sales order from Salesforce Closed Won

CRMMarketingAccountingERPEcommerceFinancial ManagementHR managementCollaborationSales Enablement

What it does

When someone marks a Salesforce opportunity as Closed Won, this automation creates a corresponding sales order in NetSuite. It notifies the team in Slack and updates the opportunity with the NetSuite sales order ID.

Who it's for

Sales operations teams who need sales orders in NetSuite to match closed deals in Salesforce.

How teams use this

Sync closed deals to NetSuite automatically

When an opportunity closes in Salesforce, the sales order appears in NetSuite without manual entry. The team can fulfill orders right away without re-keying data.

Route orders by customer type

Add a condition to check the customer segment in Salesforce so only certain deals create sales orders in NetSuite. Other deals route to a different fulfillment system.

Notify fulfillment teams in a dedicated channel

Change the Slack notification to post in a fulfillment channel instead of sales so the right team sees the order right away.

Include custom fields on the sales order

Set additional Salesforce fields like project code or cost center on the NetSuite sales order so finance has all the details they need.

How it works

  1. Opportunity marked Closed Won. An opportunity stage changes to Closed Won in Salesforce, and the contract start date is after May 31, 2023.
  2. Retrieve account and product details. Search Salesforce for the account and opportunity line items tied to that opportunity so the sales order has the right customer and line data.
  3. Search for the customer in NetSuite. Look up the customer in NetSuite by the SAP Account ID external identifier so the sales order links to the correct customer record.
  4. Create the sales order. Create a new sales order in NetSuite with the customer, line items, and amounts from the Salesforce opportunity.
  5. Notify the team. Post a message in Slack so the team knows the sales order was created, then update the Salesforce opportunity with the NetSuite sales order ID.