Landed cost by SKU
“match our shopify orders to the shipping labels, spread freight duty and fees by each sku’s share of the order value, show landed cost per unit for every order sku, with Status "Agrees" when the label matches and costs look normal, else missing, duplicate, or cross-border”
match our Shopify orders to the Shopify shipping labels, spread freight duty and fees by each sku’s share of the order value, show landed cost per unit for every order sku, with Status "Agrees" when the label matches and costs look normal, else missing, duplicate, or cross-border, using Shopify products for cost per item
What the agent built
6 steps, each one an ordinary Mammoth step you can open and change.
- FileShopify ordersCSV export · 14 rows
- FileShopify shipping labelsCSV export · 14 rows
- FileShopify productsCSV export · 12 rows
- StepNormalize order linesStep 1
- StepSum labels by orderStep 2
- StepNormalize skusStep 3
- JoinAdd label costs13 of 14 paired
- JoinAdd product cost14 of 14 paired
- StepCalculate landed costsStep 6
- ResultOrder SKU landed costs14 rows · 4 flagged
- ScheduleRuns when you sayProposed
On the sample files, every step runs and the result has 14 rows.
- Download Shopify orders sample (14 rows)Shopify admin: Orders > Export
- Download Shopify shipping labels sample (14 rows)Shopify admin: Orders > Shipping labels > Export
- Download Shopify products sample (12 rows)Shopify admin: Products > Export
What you get back
The result of that run, the rows to look at first.
| Order id | Order SKU | Quantity | Line subtotal | Shipping country | Shipping method | Label count | Freight | Duty | Fees | Label total | Product unit cost | Allocated freight | Allocated duty | Allocated fees | Landed cost per unit | Status |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| #1004 | SDC-SA | 6 | 120 | CA | Standard | 1 | 12 | 6.20 | 0.50 | 18.70 | 6.75 | 12 | 6.20 | 0.50 | 9.87 | Cross-border |
| #1009 | LMT-IN | 4 | 96 | GB | Standard | 1 | 14 | 3.80 | 0.55 | 18.35 | 9.60 | 14 | 3.80 | 0.55 | 14.19 | Cross-border |
| #1014 | TSB-SL | 4 | 128 | CA | Priority | 2 | 22 | 0 | 0.80 | 22.80 | 13.40 | 22 | 0 | 0.80 | 19.10 | Duplicate |
| #1013 | AMG-12 | 2 | 36 | US | Standard | · | · | · | · | · | 7.25 | 0 | 0 | 0 | 7.25 | Missing label |
| #1006 | MDL-BK | 1 | 58 | US | Oversize | 1 | 16 | 0 | 0.90 | 16.90 | 26.50 | 16 | 0 | 0.90 | 43.40 | Agrees |
| #1005 | RHJ-A5 | 2 | 54 | US | Ground | 1 | 8 | 0 | 0.30 | 8.30 | 11.20 | 8 | 0 | 0.30 | 15.35 | Agrees |
| #1001 | AMG-12 | 4 | 72 | US | Standard | 1 | 9.50 | 0 | 0.35 | 9.85 | 7.25 | 9.50 | 0 | 0.35 | 9.71 | Agrees |
| #1007 | AMG-16 | 3 | 63 | US | Standard | 1 | 9.50 | 0 | 0.40 | 9.90 | 8.10 | 9.50 | 0 | 0.40 | 11.40 | Agrees |
| #1008 | TSB-FO | 2 | 64 | US | Priority | 1 | 11 | 0 | 0.40 | 11.40 | 13.40 | 11 | 0 | 0.40 | 19.10 | Agrees |
| #1002 | TSB-SL | 3 | 96 | US | Priority | 1 | 11 | 0 | 0.40 | 11.40 | 13.40 | 11 | 0 | 0.40 | 17.20 | Agrees |
| #1011 | RHJ-B6 | 3 | 81 | US | Ground | 1 | 8 | 0 | 0.30 | 8.30 | 11.20 | 8 | 0 | 0.30 | 13.97 | Agrees |
| #1012 | MDL-WH | 2 | 116 | US | Oversize | 1 | 16 | 0 | 0.90 | 16.90 | 26.50 | 16 | 0 | 0.90 | 34.95 | Agrees |
How it works
How to use the Order SKU landed costs workflow
- 1Get early accessWe invite people in small batches, job by job. You'll land on this workflow, already built and working on 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.
Order SKU landed costs: questions
How do you allocate landed cost by SKU from Shopify exports?
Which Shopify export should I use?
What happens to rows that do not match?
How do I change the rules?
Get early access to this workflow
It opens already built and working on sample files. Swap in your own exports to see your result.
Workflows like this
The number you report every month, rebuilt from the latest export, plus the forecast that follows from it.
- 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
- ROAS by campaignCalculate ROAS by campaign from Google Ads and Shopify exports, matched by week and utm campaign.See the workflow Built by the agent
- Dead stock reportList SKUs with stock on hand, no sales in 90 days, and tied-up inventory value from Shopify product and order exports.See the workflow Built by the agent
- Customer lifetime value by cohortWork out customer lifetime value by signup month cohort from Shopify customers and orders exports, with revenue per customer and average order count.See the workflow Built by the agent
- Profit and loss by monthBuild a monthly profit and loss statement from a QuickBooks general ledger export, with revenue, COGS, gross profit, expenses, and net income.See the workflow Built by the agent
- Pareto (ABC) analysisEvery item ranked by its total, with its share, the running share and an A, B or C classSee the workflow Template