Use AI for interpretation, deterministic code for rules and calculations, and people for consequential approvals.
Use AI where the input needs interpretation (reading a free-text request, classifying an email, finding likely matches in a messy catalog); use ordinary software where the rule must be exact. Calculations, policy checks, approvals and writes into your ERP belong in deterministic software — code that applies explicit rules the same way every time, can be tested against known cases and fails visibly. Some workflows need AI in only one or two steps; some need none. The useful question is not "should we use AI?" but "which steps need interpretation, and how do we check it?"
Four questions for every step
Assess each step in the workflow separately:
- Ambiguity. Does the input vary in form or meaning so much that explicit rules cannot capture it? A standard EDI order does not. A customer email describing pallets in their own words does.
- Verifiability. Can the output be checked cheaply — by a rule, against a reference, or by a person at a glance?
- Failure consequence. What happens if the output is wrong and nobody notices?
- Reversibility. Can the result be corrected before it causes harm, or does it trigger something that cannot be undone, such as a shipment or a payment?
AI suits steps with high ambiguity whose outputs can be verified, where errors are reversible or caught by review. Deterministic software suits steps with low ambiguity, and steps where an undetected error would be costly or irreversible.
Task-allocation table
Retrieving evidence is not deciding
AI can find the clause in a framework agreement that mentions a discount for pump categories. It must not decide the discount. The authoritative value comes from the customer's terms record — in the ERP, CRM or contract system — applied by a rule. The same holds for permissions: AI may point out that a case looks like it needs approval, but the permission check itself is code, and the approval is a person.
Price, permission, transaction: these three are never decided by interpretation alone. How the authoritative records stay authoritative is covered in Connect to Your ERP Without Creating a Second Source of Truth.
Worked workflow: a freight quote request
A freight forwarder receives road-freight quote requests by email. Example request: "Pallet shipment from Venlo to Lyon next Tuesday; one pallet is oversized."
- Classify (AI). Is this a quote request? A wrong answer sends it to a human queue — low consequence, easily reversed.
- Extract (AI). Origin, destination, pallet count, dimensions, weight, collection date, special requirements — into a fixed schema. Missing or uncertain fields are marked as such, not filled in.
- Validate (deterministic). Do the postcodes exist? Is the weight plausible per pallet? Is the date in the future? Does any pallet exceed standard height, triggering an oversize flag?
- Review (human, conditional). If an uncertain field affects price — unclear weight, ambiguous height — a planner confirms it. Fields that passed validation are shown pre-filled, not re-keyed.
- Calculate the rate (deterministic). Tariff tables, surcharges and customer-specific rates — ideally calculated by the TMS itself.
- Check policy (deterministic). Margin floor, customer credit status.
- Approve and send (human, then deterministic write). The planner approves; the quote is recorded in the TMS through its interface.
AI touches two steps. Everything that determines money is deterministic, and every uncertain interpretation that affects money passes a person.
The non-AI alternative
Steps 1 and 2 can often be replaced: a structured web form, a customer portal, a standard request template, or EDI (electronic data interchange) for large accounts. Rule-based parsing works well for documents with consistent layouts.
This works when customers comply. Large repeat customers often will; occasional ones usually won't. The trade-off is customer friction against model uncertainty and its operating overhead. A common answer is both: a form for repeat customers, AI extraction for everything else. Another valid answer is neither — if volume is modest, a person reading the email is the cheapest reliable extractor.
Deterministic does not mean correct
Deterministic software gives the same answer every time — including the same wrong answer, if the rule was misunderstood, the requirement was incomplete or the implementation is buggy. A surcharge applied per shipment instead of per pallet will be applied wrongly on every single quote, consistently.
Reliability comes from validation and testing, not from avoiding AI:
- Rules written down and owned by a named person.
- Test cases built from real historical cases with known correct outcomes.
- Input validation before calculation.
- Monitoring of outputs after go-live.
- Controlled changes to rules, with re-testing.
AI components need the equivalent: evaluation on a sample of your real documents before you rely on them, and ongoing spot checks afterwards.
Review where it matters, not everywhere
Reviewing every output trains people to approve without looking. Route by uncertainty and consequence instead:
- Uncertain interpretation, consequential outcome → human review.
- Confident and validated → proceed.
- Uncertain, low consequence → proceed with a visible flag.
When AI is the wrong choice
- The inputs are already structured — EDI, ERP exports, fixed forms.
- Volume is too low to justify evaluating and monitoring a model.
- Data may not leave your environment, and no suitable option exists within it.
- Nobody can check the output in reasonable time.
What to measure
Field-level extraction accuracy on a held-out sample of real documents; the share of cases routed to review; the human correction rate within review; errors detected downstream that review missed; and pass rates for calculation and policy tests. Measure these during a pilot (How to Scope a First Automation Project) before committing to production.
Three questions for the walkthrough
- Which step in this workflow would you be uncomfortable letting software do without a person checking — and why that one?
- If an extracted value were wrong, at which later step would someone notice?
- Is the rule for this calculation written down anywhere, or does it live in one person's spreadsheet?
The workflow audit assigns each step to interpretation, rules, integration or human approval before implementation.