In this article
An AI assistant can help turn an incoming purchase request into a structured draft: supplier, items, quantities, delivery requirements and missing information. The risky step is allowing that draft to become a financial commitment without the same controls the business expects from a person. A fluent explanation is not purchasing authority.
Design the workflow around a clear boundary: AI can prepare and recommend within a defined scope, while the application enforces permissions and approval rules. OWASP’s guidance on excessive agency highlights the risk of giving AI systems more functionality, access or autonomy than their task requires.
Start with a narrow purchasing task
Choose one repeated activity, such as extracting line items from an approved request template or preparing a comparison for an existing supplier list. Define the input, the expected output and what the assistant is not authorised to do. A broad instruction to “manage purchasing” is difficult to test and govern.
Separate extraction from decision-making. Reading a quantity from a document is different from selecting a supplier or accepting payment terms. Keep uncertain fields visible and ask for clarification when required information is absent. Do not silently invent a delivery date, tax treatment or product specification.
Keep approval rules outside the model
The application should enforce approval thresholds, role restrictions and segregation of duties. A model-generated instruction must not grant itself access or bypass a required approver. Evaluate permissions at the point an action is executed, using the appropriate business identity and current rules.
For an illustrative workflow, an employee can submit a draft, a manager can approve within a limit and finance reviews exceptions. The assistant can explain why a request was routed, but it cannot change those limits. If the routing configuration changes, that change should have its own authorised process.
| Step | AI assistance | Application control |
|---|---|---|
| Read request | Extract proposed fields | Validate file, source and required values |
| Prepare draft | Suggest description and identify gaps | Use approved supplier and item records |
| Route approval | Summarise the reason for routing | Enforce role and value thresholds |
| Issue order | Prepare an approved document | Require valid approval and prevent duplicate issue |
Treat incoming documents as untrusted data
A supplier attachment may contain text that resembles instructions. The system should process it as business data, not as permission to send files, alter approvals or reveal internal information. Limit the tools available to the assistant and validate structured outputs before they reach a downstream system.
A useful test document can include misleading notes, conflicting totals or an unsupported request to change bank details. The expected result should be refusal, escalation or a clearly flagged discrepancy, according to the approved workflow. Testing only clean documents misses the cases where controls matter most.
Make the review screen practical
Show extracted values alongside the relevant source material and highlight uncertainty. Reviewers should be able to correct a line item without restarting the process. Make changes in supplier, quantity, currency and total easy to spot; a long generated summary can obscure the details that determine the commitment.
Present the proposed action and its consequence before approval. “Approve purchase order for this supplier and amount” is clearer than a generic “Continue” button. If approval is withdrawn or the request changes materially, define whether the earlier approval remains valid.
Record decisions without over-collecting data
Keep the source reference, extracted draft, relevant corrections, approval identity and resulting order reference. Decide which model and workflow details are needed to investigate a result. Restrict access to records containing commercial or personal information, and set an appropriate retention policy.
Do not store credentials or unrelated confidential material in general conversation logs. The audit trail should explain what happened and who authorised it without becoming an uncontrolled copy of the company’s documents. Make that balance part of the implementation requirements.
Design for retries and interrupted work
Network failures should not create duplicate orders. Use stable request identifiers and a recorded execution state. If a submission times out, the system should check what happened before trying the same business action again. A repeated button click should not create another commitment.
The same reliability principles apply to CRM integrations. Distinguish a draft being saved, approval being granted and an external action being confirmed. Each state needs a clear owner and an appropriate recovery path.
Judge the pilot on accepted work
Measure correction effort, exception frequency, approval time and duplicate or unauthorised actions. Include difficult documents and changes in supplier formats. A successful demonstration on a few examples is a reason to run a controlled pilot, not immediate evidence that unrestricted automation is appropriate.
Gligx can scope AI workflow automation with the surrounding ERP and approval processes. Use the AI pilot measurement guide to define a business case before expanding access or volume.
Sources and further reading
External references checked on 3 December 2026. Scenarios and calculations in this guide are illustrative, not reported client results.
Frequently Asked Questions
Should an AI assistant approve its own purchase orders?
Approval authority should be enforced by the business application and authorised roles, not granted by a model’s output.
How should instructions inside supplier documents be handled?
Treat incoming documents as untrusted business data, not as authority to change permissions or perform unrelated actions.
What belongs in the audit trail?
Retain appropriate source references, corrections, approval identity and resulting business references under controlled access.
What should an initial pilot measure?
Measure accepted output, corrections, exceptions, approval effort and any duplicate or unauthorised action.