Mark loose gems in NetSuite by payment band
Recipe ToolsWorkatoAccountingERPCRMEcommerceFinancial ManagementHR managementArtificial IntelligenceDeveloper ToolMarketing
What it does
When someone calls this automation, it pulls sales order data from NetSuite and evaluates payment percent and notes. It marks qualifying loose gems for the 20-49.99 percent band so they move to classification.
Who it's for
Operations teams who need to automatically flag loose gems in NetSuite based on payment status and notes.
How teams use this
Mark gems in the payment band
Automatically identify sales orders where payment is between 20 and 49.99 percent, notes exist, and classification is not yet marked. Flag those loose gems so they move to the next stage.
Route marked gems to classification
Send all qualifying loose gems to Open Ai for real-time classification. The automation ensures only gems meeting all five conditions are passed forward, reducing noise in the queue.
Add custom notes filtering
Extend this automation to filter gems by specific keywords in the notes field so only certain types of loose gems are marked. Include a lookup table to match note patterns against approved marking categories.
Exclude previously marked gems
Set a condition to skip any gem where classification is already marked so this automation does not re-process records. Add a filter to check the classification field before marking.
How it works
- Receive the function call. A real-time function call starts this automation to process loose gem marking for a sales order.
- Pull sales order header and lines. Execute SuiteQL queries in NetSuite to fetch the sales order header with percent paid and all line items with classification status.
- Check conditions and mark gems. Evaluate if percent paid is between 20 and 49.99, notes are present, and classification is not already marked. Mark qualifying loose gems for processing.
- Send marked gems to Open Ai. Send the marked loose gems and their details to Open Ai for classification and further processing based on the marking band.