Open to employment
Business automation4 min read

Does this workflow need AI, or would a clear rule work better?

Not every useful automation needs a model. If the question is whether a required field exists, a direct check is easier to inspect than a generated answer. A long, varied message may benefit from language assistance. The choice should follow the task and the consequences of being wrong, rather than the desire to label the workflow “AI-powered”.

Business automationMK.
Use judgement where it belongs.
A working model of the topic. Numerical examples in the article are labelled planning assumptions.
The idea behind it

Use AI where interpretation helps, rules where conditions are explicit and people where authority or uncertain consequences require judgement. The workflow’s strength comes from those boundaries, not the number of model calls.

01 /

Begin with the decision

Write down the decision in one sentence. Routing an existing account to its recorded owner suggests a lookup and a rule. Summarising a long description may benefit from language assistance. Approving a refund outside normal policy introduces authority and consequences that fluent text cannot settle by itself.

Separate these jobs instead of instructing one model to handle the entire request. A workflow can validate fields with rules, propose a summary and ask a person to approve an exceptional action. The useful boundary is the decision each component may make. That boundary should remain clear even when the interface presents one continuous flow.

02 /

Prefer rules for explicit conditions

Checking identifiers, calculating totals from supplied values and enforcing a required approval can be explicit. Missing data should produce an understandable result rather than an invented value. A clear rule is also easier to discuss with a business owner: the condition and its consequence can be inspected together.

Rules have limits. A growing chain of keyword conditions becomes hard to maintain when messages vary. Before replacing it with AI, ask whether a better form could collect the category directly. Also check whether the team agrees on the categories. A model cannot resolve a business disagreement about what a label should mean.

Match the mechanism to the task
TaskStarting pointStill verify
Required fieldExplicit ruleField definition
TotalFixed calculationInputs and rounding
Message summaryBounded AI suggestionAccuracy against source
Exceptional promiseAuthorised reviewEvidence and consequences
03 /

Give language assistance a bounded job

Drafting, summarising and proposing a category can be useful. Provide relevant material, define the output shape and check the returned fields. Structural validity does not prove factual correctness. A response can fit the required format while misunderstanding the source or omitting a condition that changes the answer.

Keep the source beside the suggestion so a reviewer can check it without searching another system. The archived Sourcewise case study explores source-aware interface design. Its live chat is offline; it is a design reference rather than a running assistant. A citation interface can support verification, but the presence of a citation alone does not prove the answer is supported.

04 /

Treat external text as data

Customer messages and uploaded documents may contain instructions addressed to a model. Those instructions should not gain authority over the workflow simply because they appear in its input. OWASP’s prompt-injection guidance describes this risk. A stronger prompt on its own is not a complete control.

Constrain available actions, validate proposals outside the model and require approval where consequences justify it. A document assistant does not need broad account-changing permissions to answer a question. Often the useful design is a suggestion with evidence followed by a separate authorised action, rather than a single component that can both interpret and execute anything.

05 /

Compare the whole outcome

Test a rules-only baseline against the assisted approach on the same examples. Include ambiguous wording, missing details, conflicting sources and requests that should be reviewed. Record confident wrong answers separately from cautious clarification questions. They create different risks and require different amounts of operator work.

Count inspection and correction time. A quickly generated draft can increase total handling if every sentence needs difficult verification. Use the time-saving guide and include service usage in the automation budget. Generation speed alone cannot establish that the process is faster or cheaper.

06 /

Plan for unavailable assistance

A failed model call should lead to a deliberate state: queued work, a limited rule-based fallback or manual handling. It should not produce fabricated content or relax an approval requirement. Show which path was used and preserve the original request. A fallback that behaves differently must make that difference visible to the operator.

Review the boundaries again when the workflow gains a new action or a new source. Something acceptable for drafting an internal note may be inappropriate for changing a customer record. Permissions should follow the actual task, not the broadest capabilities of the platform.

Use AI where interpretation helps, rules where conditions are explicit and people where authority or uncertain consequences require judgement. The workflow’s strength comes from those boundaries, not the number of model calls.

Sources & further reading

Official references, checked on 12 October 2026.

  1. OWASP: prompt injection ↗
Milad Khazem

Written by Milad Khazem

I build automations, websites, apps and digital systems. Here I explain decisions from working on my projects, including the limits that a demo cannot remove.

More about my background ↗
← Back to the blog