What it does
The finance team spends time every week rebuilding the cash flow forecast: exporting transactions, consolidating in Excel, recalculating for what-ifs. Automation removes this routine and shifts the forecast from a once-a-month snapshot to a current picture updated every day.
The AI agent pulls data from the accounting system and data warehouse / BI, builds a 30/60/90-day forecast, and accompanies it with a written explanation. The finance manager does not receive a bare table — they receive a short report explaining what changed and why.
What automation does
- Pulls actual data from accounting (receipts, payments, liabilities) and from the data warehouse (contract schedules, recurring subscriptions, sales forecast).
- Categorizes transactions: operating receipts, taxes, payroll, rent, one-off payments.
- Builds a forecast across three horizons: 30, 60, and 90 days.
- Generates three scenarios: base (actual data and confirmed liabilities), optimistic (including pipeline), pessimistic (with delays to key receipts).
- Compares against the previous forecast version: what changed, which new risks emerged, what the trend is for cash position.
- Prepares a written narrative — a short explanation of the numbers in a format accessible to a business owner without a finance background.
- Delivers the report on a schedule (for example, on Monday mornings) or on demand — via email, Slack, or Notion.
What automation does not do
- Does not replace the treasurer or CFO. Decisions on payments, bank negotiations, and securing financing remain with the human.
- Does not forecast revenue that is not in the system. If the pipeline exists only in the manager's head and not in the CRM — the forecast will be incomplete.
- Does not fix data at the source. If the books are not closed or transactions are delayed — the forecast will reflect this, but will not fix it.
How it works
Under the hood — a combination of source connectors, an ETL layer for data normalization, a forecasting model, and an LLM for generating a text narrative. Implementation — custom-code in Python: off-the-shelf SaaS solutions rarely cover the specifics of working with invoices, counterparties, and the tax schedule of a particular company.
Architecture flow
Raw data comes from two categories of sources. Accounting (1С, QuickBooks, Xero, NetSuite — whichever is in use) provides actual balances, transactions, counterparties, open invoices. Data warehouse / BI (BigQuery, Snowflake, Metabase) provides product metrics, contract schedules, extended pipeline. If there is no warehouse, the AI agent works directly with the CRM and spreadsheets.
The ETL layer then brings the data to a unified model: invoices are mapped to cash flow categories, recurring payments (rent, subscriptions, payroll) are identified as known obligations, one-off payments — as scenario-based. The forecasting model builds three trajectories and calculates the balance for each day of the horizon.
The LLM (AI model or equivalent) takes numbers and context as input and generates a text narrative: what is in focus this week, which risk is most significant, what has changed since the last forecast.
Implementation steps
- Source audit. Identify where the actual data lives (accounting), where the planned data is (CRM, contracts), which expense categories need to be tracked.
- Account mapping. Align the chart of accounts and CRM categories to a unified taxonomy for the forecast (operating expenses, payroll, taxes, investments, one-off).
- Connector setup. Accounting and data warehouse / BI APIs; if the API is limited — export via regular dump.
- Building the forecasting model. Core logic — recurring + scheduled + scenario adjustments. No ML on the first iteration, so the result is explainable.
- Scenario configuration. Parameters for optimistic and pessimistic scenarios are agreed with the CFO: % delay in receipts, % of lost pipeline, accelerated payments.
- Connecting the LLM layer for narrative. A prompt with company context, the latest forecast, changes. The tone and format of the commentary are aligned over several iterations.
- Delivery channel. Email with PDF, Slack message, Notion page, BI dashboard — chosen based on how the team already works with financial reporting.
- Launch in shadow mode for 2-4 weeks. The AI agent builds the forecast in parallel with the manual version; discrepancies are reviewed and calibrated.
Components
Layer | What it does | Technology |
|---|---|---|
Connectors | Pull data from accounting and BI | Python + API clients |
ETL | Normalization and categorization | Python (pandas) |
Model | Builds 30/60/90 scenarios | Custom-code |
LLM-narrative | Text commentary | language model |
Delivery | Report to the required channel | Email / Slack / Notion API |
Orchestration — a low-code platform or code in Airflow / cron, depending on what the team already uses. For SMB, a workflow engine is more common: a visual workflow is easier to maintain without a dedicated DevOps.
Prerequisites
Implementation requires access to data sources and some preparatory work from the finance team.
Access and data
- Access to the accounting system (1С, QuickBooks, Xero, NetSuite, or another) — API is preferred, an export as a last resort.
- Access to a data warehouse / BI or to the sources that the pipeline is built on (CRM, billing, contract tables).
- Chart of accounts and movement taxonomy in current form.
- Information on recurring obligations: rent, subscriptions, payroll, taxes.
Team readiness
- A CFO or finance manager who will align the taxonomy and scenario parameters. This is not a one-time task — the first iteration requires 4-6 working sessions.
- Willingness to operate in shadow mode for 2-4 weeks: manual forecast and AI forecast running in parallel for calibration.
- Access to a person who understands the data structure in the source systems (accountant, BI owner).
Timeline
Basic implementation takes 6-10 weeks:
- Source audit and mapping — 2 weeks.
- Model build and integrations — 3-4 weeks.
- Shadow period and calibration — 2-4 weeks.
Timelines increase if source data is fragmented or if non-standard scenarios are required (multi-currency forecast, factoring, handling advances from large clients).
Pain points
- Poor Forecasting (cashflow/sales/stock)
- Time on Manual Reports
FAQ
How long does implementation take?
Basic launch takes 6-10 weeks. Of those, 2 weeks go to source audit and chart of accounts mapping, 3-4 weeks to model and integration build, 2-4 weeks in shadow mode, when the AI forecast runs in parallel with manual for calibration. Timelines extend if accounting closes with delays or multi-currency logic is required.
What if we don't have a data warehouse / BI?
It is possible to work without a warehouse — the AI agent pulls data directly from accounting and CRM. Forecast accuracy in this case is limited by how accurately the pipeline is reflected in CRM: if the commercial team doesn't manage deals in the system or does so inconsistently, the receivables forecast will be partial. On the first iteration this doesn't block the launch — even a basic auto-updated forecast gives the CFO more predictability than a manual report once a month.
What are the risks and what can break?
The main risk is garbage data at the input. If accounting closes with a 2-3 week delay, the forecast will run on stale balances. Technical failures happen on the connector side: provider API changes, token rotation, changes to export structure. Build in monitoring and a regular reconciliation against actuals once a month — especially in the first 2-3 months after launch.
Does it fit our industry?
The AI agent fits Professional Services / Consulting (where cash position depends on contract and payment schedules), SaaS / Tech (where there is recurring and variable revenue), and horizontal use cases across any SMB. For companies with a long inventory cycle (e-com, manufacturing) the forecast logic needs to be supplemented: inventory, payment deferrals, seasonality.
How often is the forecast recalculated?
By default — a weekly updated forecast starting Monday, plus on demand. Technically the model recalculates daily, but a weekly report delivery is more convenient for the finance team and the owner. Trigger recalculations activate on major events: key client payment, one-off expense, pipeline change.
How is this different from an Excel export from 1C?
An Excel export from 1C or QuickBooks gives a point-in-time snapshot and goes stale quickly. The AI agent ties the forecast to actuals, adds scenarios, updates automatically, and accompanies the numbers with a text commentary. The finance team stops building the report manually and shifts to analysis — what to do with the cash flow picture they see.
Want this in your business?
Book a free audit — we'll show how this automation will work for you.