Product profitability after fees
“match the shopify products export to the orders and line items, split shipping and payment fees by each line’s share of net line sales, then show profit by product with cogs, discounts, fees, and margin”
Match the Shopify products export to the Shopify orders export and Shopify order line items export, split shipping and payment fees by each line’s share of net line sales, then show profit by product with cogs, discounts, fees, and margin, subtracting allocated shipping from profit.
What the agent built
6 steps, each one an ordinary Mammoth step you can open and change.
- FileShopify order line items exportCSV export · 36 rows
- FileShopify orders exportCSV export · 18 rows
- FileShopify products exportCSV export · 8 rows
- StepMake line item match keysStep 1
- StepMake order match keyStep 2
- StepMake product match keyStep 3
- JoinBring in order fees36 of 36 paired
- JoinMatch product costs36 of 36 paired
- StepCalculate profit by productStep 6
- ResultProduct profit8 rows
- ScheduleRuns when you sayProposed
Checked on the sample files: every step ran, 8 rows came out, and the join paired 36 of 36 rows; the join paired 36 of 36 rows.
- Download Shopify order line items export sample (36 rows)Shopify admin: Orders > Export > All orders > CSV for Excel, Numbers, or other spreadsheet programs with line items included
- Download Shopify orders export sample (18 rows)Shopify admin: Orders > Export > All orders > CSV for Excel, Numbers, or other spreadsheet programs
- Download Shopify products export sample (8 rows)Shopify admin: Products > Export > Current page or all products > CSV for Excel, Numbers, or other spreadsheet programs
What you get back
The result of that run, the rows to look at first.
| Product | Profit (USD) | Margin (%) | COGS (USD) | Discounts (USD) | Allocated shipping (USD) | Payment fees (USD) | Net line sales (USD) | Product SKU |
|---|---|---|---|---|---|---|---|---|
| Canvas Tote | 93.70 | 47.6 | 78.30 | 19 | 17.50 | 7.50 | 197 | TOT-CVS-01 |
| Ember Mug 14oz | 93.43 | 50.5 | 65.80 | 11 | 19.11 | 6.65 | 185 | MUG-EMB-14 |
| Trail Thermos 20oz | 92.44 | 44.4 | 106.40 | 29.90 | 2.62 | 6.64 | 208.10 | THM-TRL-20 |
| Cloud Socks Crew | 74.45 | 63.1 | 28.70 | 2 | 10.60 | 4.26 | 118 | SOC-CLD-CR |
| Field Notebook A5 | 51.28 | 49.4 | 37.80 | 4.20 | 10.38 | 4.34 | 103.80 | NTE-FLD-A5 |
| Herb Seed Pack | 50.05 | 59.6 | 25.20 | 0 | 6 | 2.75 | 84 | SED-HRB-01 |
| Desk Lamp Mini | 32.07 | 22.3 | 86 | 24.40 | 19.79 | 5.74 | 143.60 | LMP-DSK-MN |
| Sky Glass Jar | 23.46 | 13.2 | 148.80 | 22.10 | 0 | 5.64 | 177.90 | JAR-SKY-08 |
How do you work out profit per product after fees?
Export your Shopify products, orders, and order line items. The workflow matches the files, brings in product costs and order fees, then splits shipping and payment fees across line items by net line sales. You get profit by product with COGS, discounts, fees, shipping, and margin.
How it works
How to use the Product profit 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.
Product profit: questions
Which export should you use?
What happens to rows that do not match?
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