6 min read · AI for business · AI by department

At the end of every month, the accounting or sales team has to combine figures from many files and write a summary for management. This takes time, and the wording is rarely the same twice. So some people want to hand the files to AI and let it write the summary. But if you let AI “calculate” on its own, the figures in the report may be wrong and nobody will know. This article offers a safer way: let the system pull the figures first, and let AI write the explanation.
One rule: figures come from the system, not from AI’s memory
A language model (an LLM is an AI that writes text from language patterns it has learned) is good at wording, but it does not hold your company’s sales in itself. So every figure must come from the database or accounting software you already have, and be passed to AI as raw material.
The article on connecting an AI agent to factory data already covers asking about shop-floor data in plain language. This article looks at a different case: regular reports that must be produced again every month and must be traceable.
Step 1: Define the data set, the definitions and the period
Before AI writes anything, agree clearly which data set the report uses. Does “sales” mean before or after discounts, and counted up to which date? If the definitions do not match, no matter how well AI writes, the figures will not match what accounting knows.
- Data source: which table or report in the system is the accepted origin.
- Definition: choose clearly between sales, cash received or delivered amount.
- Period: start date, end date and the data cut-off date.
- Owner: who confirms that this data set is complete.
Step 2: Pull the figures with a query or a calculation tool
A query is a command that pulls data from a database. A query result is repeatable: whoever runs it gets the same figures. In a system that lets AI call tools, the AI asks the program to run that command. Our program does the actual running and sends the result back for the AI to read. OpenAI’s documentation describes this way of working: the model does not run the function itself, the application runs it.
Keep the result as a short table, with a record of which command was run and when, so it can be traced back.
Step 3: Have AI draft the explanation using only that table
Tell the AI to use only the figures in the table you give it, and to say which sentence cites which figure in which cell. Anthropic’s documentation recommends a similar technique: pull the source text first and then answer from it, cite the source of each statement, and allow the answer “not enough information”. But the same documentation also warns that these techniques reduce errors and do not remove them.
- Do not use any figure outside the table provided.
- Separate the text into “facts from the figures” and “assumptions”, and label them.
- If data is missing or incomplete, say so at the top of the report.
Step 4: A person checks the totals, exceptions and recommendations
The reviewer should do at least three things: compare the totals in the report with the totals in the system, check whether unusual items have a reason behind them, and read the recommendations carefully. AI may see two things rise and fall together and write as if one caused the other, when the data does not say that. Questions about cause should go to people who know the work.
Hypothetical example: a company has 5 branches. At month end the system pulls sales of 420,000 baht for Branch A, 380,000 baht for Branch B, 510,000 baht for Branch C and 290,000 baht for Branch D. Branch E has not yet sent its data. The total available is 420,000 + 380,000 + 510,000 + 290,000 = 1,600,000 baht. Last month the same four branches totaled 1,500,000 baht, an increase of 100,000 baht, or about 6.7 percent. A good AI draft must state at the top of the report “This total excludes Branch E” and must not guess Branch E’s figure. If the draft says the total covers five branches, the reviewer must send it back for correction.
Checklist before you start
- Pick one regular report that is already produced every month and has earlier editions to compare against.
- Write the definition of each figure and the period on a single page.
- State which table or query each figure comes from.
- Keep the query results together with the time they were run.
- Assign someone to check the totals before every submission to management.
- Decide how to handle missing data, for example, state it in the report and do not estimate it yourself.
- For the first two or three months, compare the AI-drafted report with the report people produce.
What kind of work it suits, and limits
This method suits reports that are issued repeatedly on a cycle, keep the same structure, and have a reliable database behind them. The benefits are less drafting time and consistent wording every month.
It does not suit cases where data is still scattered across files that nobody vouches for, or where the report needs a lot of judgment. Another limit is that AI can explain causes wrongly, so someone who knows the work must read every edition. The NIST AI Risk Management Framework, a voluntary framework for managing AI risk, is also a useful idea for setting up review steps and accountability.
Start with one report with BT San
If you are interested, prepare one regular report you use now, a list of the systems or files the figures come from, and the definitions used by different departments. Then talk to BT San to see how to connect the data and set up review steps that fit your organization.




