Cash flow forecast
The Cash flow forecast skill builds two forecasts from your dataSights data on one page: the next 13 weeks, direct from your bank balance and the invoices and bills due, and a 12 to 36 month three-way forecast where the P&L, balance sheet and cash are linked and the balance check is zero every month. It delivers an interactive page and an Excel workbook that refreshes from your database, and saves each run so next month you see forecast against actual.
Download it from AI Connect, AI Data Skills, the Cash flow forecast card. Current version 0.7.4.
What you get
The page. Two horizons on one page in the dataSights brand.
Next 13 weeks. From the bank balance (today's, when Account Transactions is on; otherwise the last month end): invoices due by week, overdue invoices at a collection rate you can flex, cash sales by weekday for point of sale businesses, bills due by week, suppliers not yet billed estimated from their pattern, payroll on its cadence, BAS or GST, PAYG and super on their due dates, and anything dated you tell it about. A weekly chart, the lowest week, headroom, and a table with the source of every line.
12 to 36 months, three-way. Opening cash, the lowest point and when, closing cash, headroom against the facility, forecast net profit and the balance check as headline tiles; the cash runway chart with actuals then forecast; live scenario controls (revenue growth, cost inflation, facility limit, dated capex and dividends; base, downside and upside presets); and the three statements by month with the balance check row at zero.
Every number traces to a document, a measured driver or an opening balance, and the assumptions are listed on the page.
The workbook. An Excel file with the Power Query connections already inside: Start here, Data sheets fed from views in your database, Assumptions in named cells, Actuals, the three forecast statements, Weekly cash, Bank actuals, a Summary with charts and an Audit sheet. Formulas over the data, nothing pasted.
The saved run. The configuration, assumptions and forecast lines, written to three
AIDataSkills_Forecasttables in your database after you say yes, so the next run shows forecast against actual for the months that have since closed, and so you can start the next forecast from this one.
Before you start
The dataSights connector in your Claude, with AI Connect on.
The consolidation views exposed under Connect and Select Views: the group context, P&L and balance sheet, report structure, aged receivables and payables, organisations and accounts. The skill names anything missing. Account Transactions, if you have it, lets it measure how customers pay, how you pay suppliers and when payroll runs, and start the 13 weeks from today's bank balance.
Edit User Data via MCP to save runs; Create Report View for the workbook. Without Edit User Data the forecast still runs and tells you the run was not saved.
Get started
Upload GET-STARTED.md to a new chat. The skill checks your database and asks these in one message:
Scope. Your whole reporting group or one entity, and which P&L and balance sheet templates you report from.
Opening month. It suggests the last month with complete data; correct it if you are mid-close.
Horizon and scenarios. 12, 24 or 36 months. Base case only, or base with downside and upside. The 13 weeks is included unless you say otherwise.
How the business runs. Cash takings or invoicing on terms; GST or VAT cycle; when PAYG and super are paid; payroll frequency and the next pay day; any overdraft or facility limit; whether bills already past due are paid in the first week or spread.
Things you already know are coming. Loans and their repayment schedule, planned capex, dividends, hires: anything with a date and an amount.
Anything to start from. An export of your existing forecast, or a budget in Xero. Attach the files if you have them.
Output. The page, the workbook, or both (default both).
How a run goes
Visible steps, one at a time: the data window and opening month; one tracking dimension per entity so nothing double counts; the opening balance sheet, which must tie to zero; the cash history; open debtors and creditors timed by due date (with collection and payment patterns measured from the ledger where Account Transactions is on); the revenue and cost driver from a trailing average, a Xero budget or your existing forecast, with one-off months excluded and named; dated items and scenarios; the 13 weeks; then the build. The builder refuses to produce a page whose balance check is not zero in every month, and raises a warning when opening debtors or creditors look large against a month's trading, which the skill resolves with you before delivering. Numbers are never hand edited.
Forecast against actual
When a saved run exists, the next run reads it, shows actual beside forecast for the months that have since closed, on the page and on the workbook's Audit sheet, and offers to start from the saved assumptions. Where today's data suggests a different assumption, it shows a short table (assumption, last run, today, why) and asks which to use. Two runs on the same data with the same assumptions give the same answer.
The workbook
First time you open it: add your IP address under Xero Consolidation, Excel & BI, Excel Power Query, step 1 (see Power Query to automate & transform any data), then Data, Refresh All, and enter your dataSights Excel username and password once. The skill creates three vw_AIDataSkills_forecast_ views for the workbook to read, names them first and waits for your yes, and reuses them on later runs.
Related: AI Data Skills · Report builder · Power Query to automate & transform any data