Skip to content
Workflow · Track and forecast · Opening soon

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.

Early access opens shortly. Check back soon.

Someone typed

“calculate days of supply for each SKU from stock on hand and average daily sales over the last 30 days”

The agent read it as

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.

  1. File
    Shopify products export
    CSV export · 8 rows
  2. File
    Shopify orders export
    CSV export · 24 rows
  3. Step
    Make product SKU key
    Step 1
  4. Step
    Average sales over 30 days
    Step 2
  5. Join
    Bring in average sales
    8 of 8 paired
  6. Step
    Calculate days of supply
    Step 4
  7. Result
    SKU Days Of Supply
    8 rows
  8. Schedule
    Runs when you say
    Proposed

On the sample files, every step runs and the result has 8 rows.

What you get back

The result of that run, the rows to look at first.

SKU Days Of SupplySample data8 rows
SKUDays of supplyStock on handAverage daily sales
sku_rivet_pen276.921200.43
sku_bloom_notebook168.75900.53
sku_cedar_bottle2501500.60
sku_mint_tote240800.33
sku_ember_candle257.14600.23
sku_onyx_tee3501400.40
sku_drift_mug2,0002000.10
sku_zen_stand8251100.13
8 rows in the result. Sample data: illustrative figures, not business results.

How it works

How to use the SKU Days Of Supply workflow

  1. 1Get early accessWe invite people in small batches, job by job. You'll land on this workflow, already built and working on sample files.
  2. 2Swap in your exportsUpload your own files as they come out of your tools. The agent checks the workflow on your rows.
  3. 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

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.
Which export files do I need?
Use the products export for stock on hand and the orders export for sales over the last 30 days. The workflow reads those exported files and uses the SKU to match rows.
What happens if a SKU appears in one file but not the other?
Rows that do not match are left out of the final calculation or stay unmatched, depending on the step. You can review the unmatched rows and decide whether to add, fix, or exclude them.
How do you change the rules?
Edit the step in words, for example by changing the sales window, the SKU match field, or the formula for days of supply. Then rerun the workflow on the same exported files.

Get early access to this workflow

It opens already built and working on sample files. Swap in your own exports to see your result.

Early access opens shortly. Check back soon.

Workflows like this

The number you report every month, rebuilt from the latest export, plus the forecast that follows from it.

All track and forecast workflows →