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
On the sample files, every step runs and the result has 8 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 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 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.
Product profit: questions
How do you work out profit per product after fees?
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 opens already built and working on sample files. Swap in your own exports to see your result.
Workflows like this
Schedules, commissions, costing and margins, worked out the same way from every new export.
- Pivot table from raw dataTurn a raw sales export into a pivot table of revenue by region and month.See the workflow Built by the agent
- Real estate commission splitWork out real estate commission on each closed sale and split it between the listing agent, buying agent and brokerage.See the workflow Built by the agent
- Loan amortization from statementsBuild a monthly loan amortization schedule from an Excel export, with interest, principal, and remaining balance for each loan.See the workflow Built by the agent
- Accrued expenses scheduleBuild an accrued expenses schedule from QuickBooks exports. Match purchase orders to vendor bills, calculate unbilled amounts, and flag items that need accrual.See the workflow Built by the agent
- RFM segmentsEvery customer scored 1-5 on recency, frequency and spend, with a segmentSee the workflow Template
- Sales velocityEach rep's open deals, win rate, deal size, sales cycle and velocity, and the team'sSee the workflow Template