Create a NetSuite sales order from Salesforce Closed Won

CRMMarketingAccountingERPEcommerceFinancial ManagementHR managementRecipe ToolsBots

What it does

When someone marks a Salesforce opportunity as Closed Won, this automation creates a 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 created automatically when deals close in Salesforce.

How teams use this

Automate order creation on deal close

When a deal closes in Salesforce, the sales order appears in NetSuite without manual entry. The team gets a Slack notification and both systems stay in sync.

Route orders to different NetSuite subsidiaries

Extend this automation to check the opportunity region or account and create the sales order in the correct NetSuite subsidiary based on that condition.

Notify fulfillment teams in a dedicated channel

Retarget the Slack notification to a fulfillment or operations channel instead of sales so the right team sees the new order right away.

Skip orders below a minimum amount

Add a condition to only create the sales order if the opportunity amount exceeds a threshold, filtering out small deals from automation.

How it works

  1. Opportunity marked Closed Won. When an opportunity stage changes to Closed Won in Salesforce and the description does not already contain a NetSuite ID, this automation starts.
  2. Retrieve opportunity products and customer. Fetch the opportunity line items, products, and customer information from Salesforce so the sales order has all required details.
  3. Match inventory and create sales order. Search NetSuite for matching inventory items and the customer, then create a new sales order with the opportunity products and quantities.
  4. Notify the team in Slack. Post a message to Slack so the team knows the sales order was created in NetSuite with the order number and customer name.
  5. Link the sales order ID. Update the Salesforce opportunity with the NetSuite sales order ID so both records are connected and the opportunity cannot trigger this automation again.