Use rules when the decision can be specified
Identify which parts of the workflow are deterministic and which require interpretation. Exact calculations, known validation rules and stable routing conditions often belong in conventional software. Language models can help interpret varied text, but introduce uncertainty that needs evaluation. A hybrid design can use a model to classify or extract information while ordinary code validates and executes the resulting action.
Worked example
Illustrative scenario; not a claim of measured client results.
Consider invoice intake. Arithmetic checks and duplicate invoice-number detection can be deterministic. Interpreting an unfamiliar description may benefit from a model, but the result should still be checked against allowed categories and source evidence. Do not ask the model to decide payment authority merely because it extracted the invoice fields successfully.
Checks, limitations and next decisions
When a model produces inconsistent results, ask whether the task was incorrectly assigned to probabilistic interpretation. Conversely, a rules system requiring hundreds of fragile wording exceptions may indicate a useful bounded model task. Compare both approaches on representative cases, including ambiguous inputs. Choose based on complete-task reliability, maintenance effort and consequences of mistakes rather than the appeal of using AI everywhere.
A practical starting point
Work through these checks in order. Use the results to decide what needs to change in your own workflow.
- Write the decision logic in plain language.
- Check whether reliable structured inputs can support a conventional rule.
- Reserve model judgment for ambiguity and validate its output before downstream actions.
A mistake to avoid
Do not introduce probabilistic behavior into a process that already has dependable rules.
How to check progress
Compare failure modes and maintenance effort, not only implementation novelty.
Your action checklist
Use this checklist while reviewing your own setup. Checkmarks are temporary and stay in this open page.
For the wider decision process, read Choosing the first AI workflow to pilot.
Further reading
Official background resources for this topic. The workflow above is general guidance, not a guarantee of a particular result.
AI-assisted editorial content. Examples are illustrative, not client case studies. Read our editorial policy or report a correction.
