DEV Community

TechCurrents
TechCurrents

Posted on Originally published at techcurrents-news.blogspot.com AI-assisted

Cash Flow Forecasts: How I Use AI to See the Gap Before It Opens

A contractor does not go bust because the job was unprofitable. It goes bust because the money arrived later than the bills. The cash flow forecast is the one document that shows that gap before it opens. This is how I use AI to build and stress-test mine faster, without handing over the judgement that makes it worth anything.

1. Why forecasts go stale

Most project cash flows are built once, at tender or award, and never touched again. Then the programme slips six weeks, a valuation gets under-certified, retention release drifts, and the forecast is describing a project that no longer exists. A stale forecast is worse than none: it gives false comfort with numbers.

2. What I give the AI

I give it the skeleton: the contract sum broken into monthly certified values from the programme, the payment terms (valuation date, certificate period, days to payment), retention percentage and cap, and any known events: mobilisation costs, a big materials order, a subcontractor with different terms. No company names, no bank details.

3. What it is genuinely good at

  • Building the month-by-month table quickly from the inputs, with the payment lag applied correctly.
  • Checking the arithmetic across every row: cumulative spend, cumulative income, net position.
  • Running scenarios: what happens if certification slips one month, if retention release is late, if a variation is paid at half its claimed value.
  • Spotting the deepest negative month, which is the number that decides funding.

The scenario work is where it earns its keep. Rebuilding three scenarios by hand used to take an afternoon. Now I test five before lunch.

4. A prompt that works for me

"You are building a project cash flow forecast. Inputs: monthly certified values listed below, payment 30 days after certificate, retention 5% capped at half released at practical completion, monthly costs as listed. Build a month-by-month table of income, costs and net position, with the payment lag applied. Then show the same table if certification slips by one month. Do not change my input values. Show your arithmetic so I can check it."

Asking it to show the arithmetic matters. I verify the first few rows by hand every time, and I have caught it misplacing the retention release more than once.

5. Where it saves the most time

Updates. Every month the actuals replace the forecast rows and the remaining months get re-phased against the current programme. That refresh used to be a half day of spreadsheet surgery. With the AI rebuilding the table from updated inputs, it takes under an hour, and the forecast stays a live document instead of a tender artefact.

6. What the AI never decides

It never decides the payment terms we agree, the credit we extend, or how we fund the deep months. It does not know which client pays slowly despite the terms, which subcontractor will accept a late payment, or what the bank has said about the facility. Those are commercial judgements built on relationships and history. The AI builds the model. I decide what the model means and what we do about it.

7. A simple routine

  1. Build the baseline forecast from the programme and payment terms.
  2. Stress-test it with two or three realistic downside scenarios.
  3. Note the deepest negative month and agree funding before work starts.
  4. Refresh monthly: actuals in, remaining months re-phased.
  5. Treat every material programme change as a trigger to re-run it.

Closing thought

Profit is an opinion until the cash arrives. A forecast that updates quickly is the difference between seeing the gap in month two and feeling it in month six. AI makes the updating cheap enough that there is no excuse not to do it.

Originally published on TechCurrents.

Top comments (0)