Workflow · Track and forecast · Opening soon
Shopify discount codes report
Export your Shopify orders file, then summarize by discount code. The report shows orders, revenue, total discount per code, and average order value with and without a code.
Someone typed
“from the shopify orders export, show each discount code with orders, revenue, and discount total, plus average order value with vs without a code”
The agent read it as
From the Shopify orders export, show each discount code with orders, revenue, and discount total, plus average order value with vs without a code.
What the agent built
1 step, each one an ordinary Mammoth step you can open and change.
File
Shopify orders export
CSV export · 20 rows
Step
Summarize by discount code
Step 1
Result
Discount Code Performance
7 rows
Schedule
Runs when you say
Proposed
- FileShopify orders exportCSV export · 20 rows
- StepSummarize by discount codeStep 1
- ResultDiscount Code Performance7 rows
- ScheduleRuns when you sayProposed
On the sample files, every step runs and the result has 7 rows.
- Download Shopify orders export sample (20 rows)Shopify admin: Orders > Export > Current page of orders (CSV)
What you get back
The result of that run, the rows to look at first.
Discount Code PerformanceSample data7 rows
| Discount code | Orders | Revenue (USD) | Discount total (USD) | Average order value (USD) |
|---|---|---|---|---|
| BUNDLE5 | 2 | 138.84 | 25 | 69.42 |
| FREESHIP | 2 | 284.96 | 28 | 142.48 |
| LAUNCH12 | 2 | 320.88 | 59.20 | 160.44 |
| No code | 5 | 353.46 | 0 | 70.69 |
| SAVE10 | 3 | 296.56 | 42.40 | 98.85 |
| VIP20 | 3 | 515.28 | 124.72 | 171.76 |
| WELCOME15 | 3 | 284.04 | 34 | 94.68 |
How it works
How to use the Discount Code Performance 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.
Discount Code Performance: questions
How do you report on Shopify discount codes?
Export your Shopify orders file, then summarize by discount code. The report shows orders, revenue, total discount per code, and average order value with and without a code.
Which export do I use?
Use the orders export from Shopify. The workflow reads the rows in that file and groups them by the values in each order.
What happens to rows that do not match a discount code?
They stay in the data, but they are grouped separately or left out of the discount code summary, depending on the rule you set. That lets you compare orders with a code and orders without one.
How do I change the rules?
Edit the steps in words, then rerun the file. You can change which column is used, what gets grouped together, and which totals or averages are shown.
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.
- 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
- 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
- Cohort retentionEach month's new customers, and the share still buying 1, 2, 3… months laterSee the workflow Template
- Customer segmentation by revenueSegment Stripe customers into revenue tiers from exported customer, charge, and threshold files, then count customers and revenue in each tier.See the workflow Built by the agent