Workflow · Track and forecast · Opening soon
Profit and loss by month
Export the QuickBooks general ledger to a file, then upload it to Mammoth. It groups the rows by month and calculates revenue, cost of goods, gross profit, expenses, and net income.
Someone typed
“build a monthly profit and loss from the general ledger: revenue, cost of goods, gross profit, expenses and net income by month”
The agent read it as
Build a monthly profit and loss from the QuickBooks General Ledger: revenue, cost of goods, gross profit, expenses and net income by month.
What the agent built
1 step, each one an ordinary Mammoth step you can open and change.
File
QuickBooks General Ledger
CSV export · 29 rows
Step
Build monthly profit and loss
Step 1
Result
Monthly Profit and Loss
4 rows
Schedule
Runs when you say
Proposed
- FileQuickBooks General LedgerCSV export · 29 rows
- StepBuild monthly profit and lossStep 1
- ResultMonthly Profit and Loss4 rows
- ScheduleRuns when you sayProposed
On the sample files, every step runs and the result has 4 rows.
- Download QuickBooks General Ledger sample (29 rows)QuickBooks: Reports > General Ledger > Run report > Export to Excel
What you get back
The result of that run, the rows to look at first.
Monthly Profit and LossSample data4 rows
| Month | Revenue | Cost of goods | Gross profit | Expenses | Net income |
|---|---|---|---|---|---|
| 2026-08-01 | 14,600 | 2,650 | 11,950 | 5,995 | 5,955 |
| 2026-09-01 | 33,700 | 2,980 | 30,720 | 6,120 | 24,600 |
| 2026-10-01 | 6,400 | 4,500 | 1,900 | 4,770 | -2,870 |
| 2026-11-01 | 8,300 | 0 | 8,300 | 0 | 8,300 |
How it works
How to use the Monthly Profit and Loss 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.
Monthly Profit and Loss: questions
How do you build a monthly profit and loss statement?
Export the QuickBooks general ledger to a file, then upload it to Mammoth. It groups the rows by month and calculates revenue, cost of goods, gross profit, expenses, and net income. The result is a monthly profit and loss statement.
What export should you use from QuickBooks?
Use the general ledger export. It gives the account-level rows needed to build the monthly profit and loss statement.
What happens to rows that do not match a rule?
They stay out of the grouped result until you add a rule for them. You can review those rows and decide how they should be classified.
How do you change the rules?
Edit the rule in plain words, such as which account names or account types belong in revenue, cost of goods, or expenses. Then rerun the workflow with the updated 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.
- 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
- 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
- Market basket analysisEvery pair of products bought together, with support, confidence and liftSee the workflow Template