How we decide what AI may do in a client's system

Before we connect an assistant to anyone's records, we sit down with the owner and fill in one table. Every action goes into one of four columns.

An assistant screen explaining that a cashier's question about salaries is outside what it may read

The first meeting about an AI assistant is always exciting for the owner. They have seen what it can do in a demo and they want it reading everything: sales, stock, suppliers, staff. Somewhere in the second hour, I ask a question that changes the mood. "Your newest cashier will be able to ask it questions too. What should it tell her about your margins? About what you pay the supplier? About her colleagues' salaries?"

That question is the start of the most important session in any project we run. Before we connect an assistant to a client's system, we decide together, action by action, what it may do. Here is how that session works.

List the actions, not the features#

We start with a plain list of everything someone might ask the assistant to do, in the client's words. For a hardware business it usually looks something like:

  • "What did we sell today?"
  • "How many 2-inch PVC pipes are left at the Thika branch?"
  • "What is our margin on cement?"
  • "Who owes us more than KES 50,000?"
  • "Draft an order to the paint supplier."
  • "Send this customer a reminder about their balance."
  • "Give this customer 5% off."
  • "Change the price of iron sheets."
  • "Cancel yesterday's invoice."

It is usually thirty to fifty lines. The list matters because permissions described as features ("it has access to sales") are too vague to check. Permissions described as actions can be tested one by one.

Put every action in one of four columns#

Then each action goes into exactly one column:

ReadDraftAct with approvalNever
Today's salesSupplier orderSend a balance reminderChange prices
Stock per branchCustomer reminder textSave an approved orderCancel invoices
Customer balancesQuotationGive discounts

Read means the assistant can answer questions from this data. Draft means it can prepare something a person then finishes in the normal system. Act with approval means it can complete the action, but only after a named person taps approve; we explained why in no silent writes. Never means there is no code path for it at all, regardless of who asks or how cleverly.

Owners are often surprised how much ends up in "never". Changing prices, cancelling documents, issuing credit notes and anything to do with payroll usually land there. Not because AI would necessarily get them wrong, but because these are decisions the owner wants to make in the normal screens, with the normal checks, and the convenience of doing them by chat is not worth the risk.

Then repeat it per role#

The same table is filled in again for each role in the business. The cashier, the branch manager, the accountant and the owner get different answers.

This is where the assistant must follow the system's existing permissions, never its own. In an ERPNext system, a user who cannot see buying prices on the normal screens cannot get them from the assistant either. The assistant acts as the person asking, with their role. If the owner later changes what a role may see, the assistant follows automatically.

Two things we add on top of the system's own rules:

  • Sensitive data is excluded by default. Salaries, staff ID numbers, and customers' personal details beyond what a role needs are left out of what the assistant can read, even for roles that can see them on screen, unless the owner decides otherwise.
  • Limits on the "act" column. An approved supplier order up to KES 200,000 may be approved by the branch manager; above that, only the owner. These thresholds are the client's, written into the configuration, not left to the AI's judgement.

The assistant never gets a permission the person asking does not already have. It is a faster way to use your rights, not a way around them.

Write it down, test it, and log against it#

The finished tables become a short document the owner signs. It is the reference for everything that follows.

We test against it directly: for every role, we try each action in the "never" column and confirm it is refused, and try reading data the role should not see and confirm it is not returned. A refusal should be polite and say what the person can do, so staff are not left guessing.

Every question and every action is then logged with who asked, as which role, and what happened, which we covered in logging every AI action for audit. When something odd happens, the log is checked against the signed table, and the answer to "was it allowed to do that?" is never a matter of opinion.

We also agree a review date, usually three months in. By then staff have used it for real, and some actions move: a draft that people always approve unchanged might move to "act with approval" for a narrower role; an action nobody uses gets removed.

What to do this week#

Even if you have no assistant yet, write your own list. Take a sheet of paper, draw four columns, and put fifteen things your staff might one day ask an AI to do. Then fill it in again for your most junior role. If you later talk to us, or to any vendor, hand them that sheet first and see whether their product can honour it.

All posts

Want this working in your business?

We build the AI systems we write about - for retail, clinics, workshops and property businesses across Africa. Tell us what you run and we will be honest about where it helps.