Guides · Automation

Rule-based automation or AI? How to decide

Fixed rules fit when the same input should always lead to the same action. AI can help extract information or interpret varied wording when you define what to check before acting.

Start with the rule you can write down

If a request is still open and its due date has passed, remind its owner. You can specify required fields, what happens when they are missing, and how to avoid sending a second reminder.

Write a few inputs with expected outcomes. If a rule covers the examples, build and test the rule and its exceptions.

Use AI for a step that calls for interpretation

Suppose inquiries arrive in varied Hebrew wording. A model can suggest a category and quote the clue it used. Fixed rules can check that the category is valid and send an ambiguous inquiry to a review queue.

Require explicit approval for actions such as sending a reply, changing access, or updating a sensitive record, depending on the consequences of an error.

Define the pilot outcome before starting

Measure which examples reached the right destination, what needed correction, and how much review time remained. Include missing text, mixed languages, and inquiries with two intentions.

Start with an output that can be corrected, such as a draft or suggested label. Decide how to return to manual handling if outcomes change.

Side by side

AreaFixed rulesAI
InputFixed fields, such as a date or a statusFree text, emails and documents
ResultSame input, same resultA suggestion someone checks
Running costClose to fixedBy volume of use
When it goes wrongA broken rule, easy to findA plausible wrong answer, found by sampling
ExampleA reminder when a due date passesSorting an inquiry by its topic

How do you combine both in one process?

In most good processes AI reads and suggests, and rules check and act. For example, a supplier invoice arrives by email. AI extracts its number, date and amount. A rule checks that the amount is a number and that the supplier exists in the system. Above an amount set in advance, a person approves before the invoice is recorded. The part that needs interpretation gets AI, and the part that needs certainty stays with rules.

There is a separate guide on document extraction, and one on what business automation costs.

A brief for the project

Input
What is structured and what requires interpretation.
Decision
What you can check with a fixed rule.
Review
When approval is required and who provides it.
Success
Which examples, errors, and review time to measure.