Every new system arrives with the same ritual: a training session, a login and an email announcing that it is now live. A few weeks later you can see who actually uses it.
With an AI tool the barrier is higher. A chat window next to the ERP system requires the employee to change a habit, put the task into words, review the answer and then still enter the result into the system where it has to end up. The work gets easier, but someone still has to do it.
A tool that only helps when someone uses it leaves the whole adjustment to each individual employee. The risk is that the benefit stays with the people who were curious anyway, while the rest of the organisation works as before.
So instead of asking which AI tool you should roll out, we start with a different question: which work should get done without anyone having to do it, and how do you keep control when that happens?
1. Who takes the last step?
Take order confirmations from suppliers at a manufacturing company. With a tool, the buyer can paste the confirmation into a chat window and learn that the delivery date has moved by a week. With an agent in the background, the new date is already in the ERP system when the buyer gets to work, and the planner has a flag saying that a customer order is affected.
In the first case a person takes the last step, every time: reads the answer, opens the ERP system and enters the change. In the second, all that is left is what was always the job: deciding what the delay means for the customer.
That is why the share of work done without manual handling tells you more than the number of logins. More on that in Logins are not usage.
2. The ERP system is the interface
The simplest way to avoid another tool is not to build one. The ERP system and the ticketing system already hold the data the agent needs and the places where the result should end up. If the system has an application programming interface (API), the agent goes in that way: it reads what it is allowed to read, writes what it is allowed to write and leaves the result where the employee already looks.
That means no new login and no new habits, because the result shows up in the approval queue, in the ticket or in email. The ERP system remains the system of record, and the agent does not build a database of its own on the side that then has to be reconciled.
If a system has no API, there are other routes: file exchange, email or, as a last resort, the agent operating the user interface the way a person would. That last route is more fragile and should be chosen deliberately.
You decide where the agent runs. We build in your environment, whether that is Microsoft, Google or something else, or run the solution ourselves when that suits you better. The code and the documentation are in your hands from day one.
3. The process owner is in charge, without writing code
An agent working in the background must not become a black box that only the developer can touch. Whoever owns the process, a finance director or a head of logistics for example, needs to be able to control it without anyone writing code.
| Control | What it does | When it is used |
|---|---|---|
| Pause | The agent stops acting but keeps logging | Something looks wrong and you want to take a look before anything more happens |
| Change a limit | A value or a list is replaced, for example an approval limit | The business changes |
| Go back a step | The agent goes back to only proposing, and a person approves every action | Exceptions become more frequent or a rule has changed |
| Switch off an action | The agent loses the right to do one particular thing, the rest carries on | A system is replaced, a supplier relationship ends, a risk is reassessed |
The controls assume that the values in the business rules are kept separate from the code. An approval limit should be a value in a table that the process owner can change on their own, and the change is logged like any other change.
Not everything may be changed through the controls, though. Prompts, rule logic and model versions are handled as code changes, with traceability and with your approval before a new version goes into production.
4. Decide in advance when the agent should ask
An agent should be able to stop and ask a person. You decide what counts as uncertain before it is switched on, and the conditions are written down, so that the agent does not make that judgement on its own in the moment.
The basic principle is ordinary code where it is enough, AI where it is needed and a person where there is ambiguity, accountability or consequences that cannot be reversed. Most of a finance workflow needs no AI model. Duplicate checks, bank account checks, VAT logic and account coding against fixed rules are handled by ordinary code. The model is needed where the information is unstructured, such as a free-text comment on why a delivery deviated. The person is needed where a wrong decision is costly.
In a workflow for supplier invoices, the conditions for stopping might look like this:
- The amount exceeds a limit you have set.
- The counterparty is new or has changed its bank details.
- The invoice has no order to match against.
- The supporting documentation can be read in more than one way.
- The action cannot be undone.
The question should arrive where the person already works (in the approval queue, in the ticket or in email) and with the context needed to answer straight away: what the agent saw, what it intended to do and why it stopped. A question without context becomes a new task to investigate.
Before the agent is allowed to act at all, it should run in shadow mode alongside the normal work. It proposes, the person works as usual and the differences are logged. After that, every action is reviewed before it is carried out, and only then does the agent get more autonomy, step by step. The log from shadow mode gives you a baseline for how often the agent is right and a list of the exceptions that actually occur.
The people who answer the agent's questions need to know what it does and what it cannot handle. The EU AI Act (Regulation (EU) 2024/1689) requires organisations that use AI to take measures to promote their staff's AI literacy. No particular level has to be guaranteed and no certificate is required. For a background workflow, a reasonable minimum is that the people handling the exceptions understand which rules the agent follows.
5. An approval check is not a security control
Having a person sign off the agent's proposals protects against one kind of error: the agent proposing something inappropriate. The sign-off step is an approval check. The security lies in what the agent can do at all.
We assume that an agent can be tricked by content it reads. An invoice, an email or an attachment can contain text that tries to steer the agent, and the model cannot reliably tell your instructions apart from instructions written into what it is reading. The non-profit security organisation OWASP calls this prompt injection and describes how content from external sources, such as websites or files, can alter the model's behaviour in unintended ways. That is why an agent that has read untrusted text must not be able to trigger payments or send data onwards, however careful the sign-off step is.
OWASP has a separate entry for the other half of the problem, the agent having too much room to act: Excessive Agency. The advice there is much like the advice for any other permission. The agent should get only the tools it needs and only the rights required in the systems it can reach. One of the mitigations reads:
Implement authorization in downstream systems rather than relying on an LLM to decide if an action is allowed or not.
So an agent that reads invoices does not need to be able to send email, and an agent that writes to the approval queue does not need to be able to change the supplier master data. Every action the agent takes is logged and can be traced.
6. The agent is subject to your security requirements
When the agent works in your systems with your permissions, your security requirements apply to it. Access control, logging and encryption are the same questions you already ask about every other system and every other user.
If you are covered by the Swedish Cybersecurity Act (2025:1506), it also becomes a contractual matter. The Act has applied since 15 January 2026 and partly implements the EU's NIS 2 Directive. It requires appropriate and proportionate security measures based on risk, including for incident handling, continuity, the supply chain, secure development, access and encryption (Chapter 2, Section 3).
The details for suppliers are set out in MCFFS 2026:11 (the regulations on security measures). Since 1 October 2026, most of the organisations covered must ensure that suppliers meet the security requirements of the regulations in the parts the supplier is responsible for (Chapter 4, Section 1). Before the contract is signed, you must also assess whether the supplier can meet the requirements for the entire contract term. The contract must ensure that the security measures can be implemented and maintained over time (Chapter 4, Section 4), and the general advice to that section sets out what the contract should cover, for example incident information, subcontractors, follow-up, termination for shortcomings and the return of information.
For AI projects in particular, this has two consequences.
The first concerns people. The regulations count contracted consultants as personnel. Your requirements for personnel security and multi-factor authentication therefore also apply to the engineer building the agent in your environment.
The second concerns the model. The model provider is part of the supply chain. Either you have a contract with it directly, as when the model runs in your own cloud environment, or it is a subcontractor to the supplier doing the build. According to the general advice to Chapter 4, Section 1, you should assess risks from subcontractors in the supply chain, so where the model runs and on what terms belongs in the contracts. Before we build, we sort the data by what it contains (business data, personal data, sensitive information, accounting records), and the data class decides which AI model is allowed to see it. Using no model at all is always an option.
Qwiqflow is not itself covered by the Act. The requirements reach us through your contract. What the contract should contain, point by point, is set out in What the Swedish Cybersecurity Act requires of your suppliers.
7. Where to start
Pick a workflow where the work is done today by a person moving information between systems. Then ask seven questions, in order, before anyone builds anything.
- Which system is the source of truth for this workflow, and does it have an API?
- Who owns the process, and will that person be able to pause the agent, change a limit and switch off an action without calling anyone?
- Which steps are pure rules, which require judgement and which should always go to a person?
- Which conditions should make the agent stop and ask, and where should the question appear?
- Which permissions does the agent need, and which must it never have under any circumstances?
- Where is what it does logged, and who reads the log?
- Are you covered by the Cybersecurity Act, and if so, are the supplier requirements in the contract?
If you cannot get answers to the first three questions, the workflow is not ready for an agent, and that is worth knowing before you have paid for one. Also be prepared for the workflow to need less AI than you thought. How to tell is covered in Most workflows need no AI at all.
Sources
- Swedish Cybersecurity Act (Cybersäkerhetslag (2025:1506)) Chapter 1, Section 1, second paragraph (partly implements the NIS 2 Directive), Chapter 2, Section 3, second paragraph, and the entry into force provision (15 January 2026)
- MCFFS 2026:11, regulations and general advice on security measures and management training (MCFFS 2026:11, föreskrifter och allmänna råd om säkerhetsåtgärder och ledningens utbildning) Chapter 1, Section 1 (scope) and Section 4 (personnel), Chapter 3, Section 9, Chapter 4, Section 1, second and third paragraphs with general advice, Chapter 4, Section 4 with general advice, Chapter 4, Section 17, and entry into force on 1 October 2026
- National Cyber Security Centre (NCSC) at the National Defence Radio Establishment (FRA), Questions and answers on the Cybersecurity Act (Frågor och svar om cybersäkerhetslagen) The question 'Vi som underleverantör undrar om vi omfattas av cybersäkerhetslagen' (as a subcontractor, are we covered by the Cybersecurity Act?) and the answer on cybersecurity requirements in supplier contracts
- Regulation (EU) 2024/1689 of the European Parliament and of the Council (the AI Act) Article 4 on AI literacy, as amended by amending Regulation (EU) 2026/1744
- OWASP Top 10 for LLM Applications 2025, LLM01:2025 Prompt Injection The section on indirect prompt injection and the preventive measures on least privilege and human approval
- OWASP Top 10 for LLM Applications 2025, LLM06:2025 Excessive Agency The definition, the three causes and the mitigations Minimize extensions, Minimize extension permissions and Complete mediation
- Anthropic, Building effective agents (19 December 2024) The sections on starting with the simplest solution and on checkpoints for human feedback
- Simon Willison, The lethal trifecta for AI agents (16 June 2025) The definition of the three capabilities (private data, untrusted content, the ability to communicate externally) and the point that language models cannot reliably tell instructions apart by where they come from