Days of supply by SKU
“calculate days of supply for each SKU from stock on hand and average daily sales over the last 30 days”
Calculate days of supply for each SKU from stock on hand in Shopify products export and average daily sales over the last 30 days in Shopify orders export.
What the agent built
4 steps, each one an ordinary Mammoth step you can open and change.
- FileShopify products exportCSV export · 8 rows
- FileShopify orders exportCSV export · 24 rows
- StepMake product SKU keyStep 1
- StepAverage sales over 30 daysStep 2
- JoinBring in average sales8 of 8 paired
- StepCalculate days of supplyStep 4
- ResultSKU Days Of Supply8 rows
- ScheduleRuns when you sayProposed
Checked on the sample files: every step ran, 8 rows came out, and the join paired 8 of 8 rows.
- Download Shopify products export sample (8 rows)Shopify Admin: Products > Export > Current page or all products (CSV)
- Download Shopify orders export sample (24 rows)Shopify Admin: Orders > Export > All orders matching criteria (CSV)
What you get back
The result of that run, the rows to look at first.
| SKU | Days of supply | Stock on hand | Average daily sales |
|---|---|---|---|
| sku_rivet_pen | 276.92 | 120 | 0.43 |
| sku_bloom_notebook | 168.75 | 90 | 0.53 |
| sku_cedar_bottle | 250 | 150 | 0.60 |
| sku_mint_tote | 240 | 80 | 0.33 |
| sku_ember_candle | 257.14 | 60 | 0.23 |
| sku_onyx_tee | 350 | 140 | 0.40 |
| sku_drift_mug | 2,000 | 200 | 0.10 |
| sku_zen_stand | 825 | 110 | 0.13 |
How do you calculate days of supply by SKU?
Export your Shopify products file and your Shopify orders file, then match them by SKU. The workflow uses stock on hand from products and average daily sales over the last 30 days from orders, then calculates days of supply for each SKU.
How it works
How to use the SKU Days Of Supply workflow
- 1Get early accessWe invite people in small batches, job by job. You'll land on this workflow, already built and checked on the sample files.
- 2Swap in your exportsUpload your own files as they come out of your tools. The agent checks the workflow on your rows.
- 3Change it in words, then turn it onSay what to change and see the new result before anything saves. Then choose when it runs.
SKU Days Of Supply: questions
Which export files do I need?
What happens if a SKU appears in one file but not the other?
How do you change the rules?
Get early access to this workflow
It will open already built and checked on the sample files. Swap in your own exports and see your result.
Workflows like this
Find the few products that make most of your sales, what sells together, and the stock that sits too long.
- Pareto (ABC) analysisEvery item ranked by its total, with its share, the running share and an A, B or C classSee the workflow Template
- Inventory turnover by SKURank Shopify SKUs by inventory turnover ratio using product, order, and inventory exports from the last 12 months.See the workflow Built by the agent
- Market basket analysisEvery pair of products bought together, with support, confidence and liftSee the workflow Template
- Inventory turnover and days on handEach product's turnover and days of stock on hand, month by monthSee the workflow Template
- Demand forecast by SKUForecast next month’s demand for each SKU from your Shopify order line export using recent monthly averages and trend.See the workflow Built by the agent
- Economic order quantityCalculate economic order quantity for each item from a NetSuite item cost and demand export.See the workflow Built by the agent