Cash flow forecast from AR and AP
“build a 13-week cash forecast from our quickbooks bank register, open invoices, and open bills by due date, starting from today’s bank balance, and show weekly cash, invoices expected, bills due, and ending balance”
Build a 13-week cash forecast from our QuickBooks bank register, QuickBooks open invoices, and QuickBooks open bills by due date, starting from today’s bank balance, and show weekly cash, invoices expected, bills due, and ending balance, including overdue invoices and bills in week one.
What the agent built
6 steps, each one an ordinary Mammoth step you can open and change.
- FileQuickBooks bank registerCSV export · 12 rows
- FileQuickBooks open invoicesCSV export · 15 rows
- FileQuickBooks open billsCSV export · 15 rows
- StepSet the 13 forecast weeksStep 1
- StepGroup invoices by due weekStep 2
- StepGroup bills by due weekStep 3
- JoinAdd expected invoice cash13 of 13 paired
- JoinAdd bills due13 of 13 paired
- StepCalculate weekly cash balancesStep 6
- Result13-Week Cash Forecast13 rows
- ScheduleRuns when you sayProposed
On the sample files, every step runs and the result has 13 rows.
- Download QuickBooks bank register sample (12 rows)QuickBooks Online: Accounting > Chart of accounts > View register > Export CSV
- Download QuickBooks open invoices sample (15 rows)QuickBooks Online: Sales > Invoices > Filter Open > Export
- Download QuickBooks open bills sample (15 rows)QuickBooks Online: Expenses > Vendors > Bills > Open > Export
What you get back
The result of that run, the rows to look at first.
| Week | Weekly cash | Invoices expected | Bills due | Ending balance | Starting balance |
|---|---|---|---|---|---|
| 2026-11-11 | 16,045 | 21,145 | 5,100 | 117,633.20 | 101,588.20 |
| 2026-11-18 | 1,890 | 9,680 | 7,790 | 119,523.20 | 117,633.20 |
| 2026-11-25 | -7,910 | 3,340 | 11,250 | 111,613.20 | 119,523.20 |
| 2026-12-02 | 2,770 | 15,040 | 12,270 | 114,383.20 | 111,613.20 |
| 2026-12-09 | 2,680 | 13,110 | 10,430 | 117,063.20 | 114,383.20 |
| 2026-12-16 | 795 | 5,380 | 4,585 | 117,858.20 | 117,063.20 |
| 2026-12-23 | -5,110 | 2,140 | 7,250 | 112,748.20 | 117,858.20 |
| 2026-12-30 | -18,125 | 3,975 | 22,100 | 94,623.20 | 112,748.20 |
| 2027-01-06 | 9,100 | 14,400 | 5,300 | 103,723.20 | 94,623.20 |
| 2027-01-13 | 0 | 0 | 0 | 103,723.20 | 103,723.20 |
| 2027-01-20 | 0 | 0 | 0 | 103,723.20 | 103,723.20 |
| 2027-01-27 | 0 | 0 | 0 | 103,723.20 | 103,723.20 |
How it works
How to use the 13-Week Cash Forecast 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.
13-Week Cash Forecast: questions
How do you build a weekly cash forecast from open receivables and payables by due date, starting from today's bank balance?
Which QuickBooks export should you use?
What happens to rows that do not match a week?
How do you change the forecast 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
- 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