Generate shipment XML from NetSuite sales orders
Recipe ToolsMarketingAccountingERPCRMEcommerceFinancial ManagementHR managementDocument/FileUtilities
What it does
When a scheduled time arrives, this automation retrieves sales orders from NetSuite and generates shipment XML. Someone can then download the file from Google Drive for ProShip processing.
Who it's for
Operations teams who need to automate shipment file generation from NetSuite without manual XML creation.
How teams use this
Automate daily shipment file generation
Generate and upload shipment XML every morning so the operations team has fresh ProShip files ready without manual work. The schedule runs consistently and the file is always in the same location.
Route files to different storage locations
Change the upload destination from Google Drive to an on-premises server or cloud storage so files land where the shipping system expects them. The XML generation stays the same.
Filter orders by warehouse or region
Add a condition to the sales order search so only orders from a specific warehouse or shipping region are included in the XML. This requires filtering the NetSuite query by a custom field or location.
Notify team when files are ready
Include an SMS notification to operations staff after the XML uploads successfully so they know the shipment file is available for download. This requires adding a notification step after the file upload completes.
How it works
- Run on a scheduled interval. This automation starts at a specified time each day, week, or month so shipment files are generated on a consistent schedule.
- Retrieve sales orders and transactions from NetSuite. Search NetSuite for sales orders and transaction data. Lookup tables enrich each record with ship codes, shipper details, and country information needed for the shipment file.
- Transform data into shipment XML format. Convert the sales order data and enriched fields into XML format that ProShip expects, using the ship codes, shipper details, and country information from the lookup tables.
- Upload XML file to Google Drive. Save the generated XML file to Google Drive so operations staff can access and download it for shipment processing.