Artificial intelligence

Intelligent automation

Rules handle the fixed steps of a process, and a measured model handles the judgment calls.

How we do it

Overview

Process automation usually runs well until it reaches a case that cannot be written as a rule, such as a free-text email, a note typed into a comments field or an exception the designers did not anticipate. At that point a person has to read the case, work out what it is and send it to the right place before the automated flow can carry on. Each of these reading and deciding steps tends to be small, but the queue builds up in front of them because they need someone's attention at moments nobody can schedule.

Language models and trained classifiers are well suited to this kind of step, whether that means classifying a message, pulling the order number and the complaint out of a paragraph, choosing a queue, or separating the exceptions a rule can fix from the ones that need a person. The danger lies in how they are used. A model states its wrong answers as fluently as its right ones, so if it is placed in a process without a threshold, a fallback and a way of measuring it, it will file errors faster than any clerk could.

Our approach keeps the process itself deterministic and brings in a model only at the steps that call for judgment. Every model step has a fixed list of permitted outputs and a confidence threshold that has been checked against your own cases, and anything below that threshold goes to a person. The workflow, the business rules and the audit trail remain in ordinary software. This is why the design differs from an agent, since the model is asked what it is looking at and never gets to decide what happens next.

Challenges we address

The failures we are usually called in to fix
  1. Automation that ends at the first email

    The workflow runs without trouble from the web form through to the ERP, but a large share of requests come in as free-text emails that no rule can parse. A team therefore still reads each of them and retypes the details into the form the automation expects.

  2. Routing rules that resist maintenance

    Keyword rules decide which queue each case goes to, and every month someone adds a keyword to catch a case that was missed, which then breaks an older rule. The list grows to hundreds of lines while cases continue to reach the wrong team.

  3. A model trusted on every case

    A classifier was added to the flow and its answers are treated as fact, although it was never measured on real cases and has no threshold. Its mistakes pass directly into the downstream systems, where they tend to surface weeks later in the form of complaints.

  4. Every exception lands in one queue

    Anything the automation cannot handle goes into a single queue, where a case with a missing reference sits next to a serious dispute. Because staff work through the queue in order of arrival, the urgent cases end up waiting behind the easy ones.

  5. The model is asked to do too much

    To save effort, a single large prompt reads the case, applies the business rules and decides on the action. Policy is now held inside a prompt, the results can differ from one run to the next, and the team has no way of showing an auditor why a particular case was approved.

Our approach

How the work runs, in order
  1. Find the judgment steps

    We map the process as it actually runs and mark every point at which a person reads something and makes a decision. For each of these points we note the inputs, the possible decisions, how often it comes up and what a wrong decision would cost. Where a step turns out to follow a rule after all, we automate it with a rule.

  2. Collect labeled cases

    For each judgment step we gather a few hundred real cases from the past along with the decision a person made on each, and experienced staff go over the ones where that decision is disputed. The resulting set is the definition of a correct answer, and the model step is measured against it both before and after it goes live.

  3. Build the model step narrowly

    Each model step has a single job, which is to classify into a fixed list, extract named fields or score a case for priority, and its structured output is validated before use. We start with the simplest method that reaches the target, so the step may end up as a small classifier or a rule set, and in other cases as a large language model.

  4. Set thresholds and fallbacks

    On the labeled cases we measure how accurate the model is at each confidence level, and we agree the threshold with the process owner on the basis of what an error would cost. Cases that fall below it go to a person, who sees the model's suggestion alongside the case. If the model is unavailable, the step holds its cases in a queue and does not guess.

  5. Run in shadow, then switch on

    At first the model step runs next to the people doing the work, and its decisions are compared with theirs while it has no effect on any case. Once the level of agreement reaches what the owner wants, the step goes live, and from then on a sample of its decisions is checked and its misses are reviewed every week.

Technical capabilities

What we design, build and operate
  • Message and case classification

    Inbound emails, tickets, forms and notes are sorted into a fixed set of categories that the business defines, and each assignment carries a confidence value.

  • Field extraction from free text

    We pull references, dates, amounts, names and requested actions out of unstructured messages and place them in validated fields, where downstream rules can use them.

  • Routing and prioritization

    Each case is assigned to the right queue and given an urgency based on its content and context, which replaces keyword rule lists that have grown too long to maintain.

  • Exception triage

    Automation failures are separated into those a rule can repair, those that are missing a single fact and those that need a person, and the reason is attached to each one.

  • Confidence calibration

    We measure how often the model is right at each confidence level on your own cases, which gives a threshold a specific meaning that the process owner can defend.

  • Human review steps

    Review screens built into the queue tool your staff already use show the case next to the model's suggestion and its reasons, and every correction a reviewer makes is recorded.

  • Shadow-mode evaluation

    Before a model step is allowed to act, it runs silently beside the current process so that its decisions can be compared with the ones people made.

  • Drift monitoring

    We track the mix of categories, the distribution of confidence and the override rate over time, so that a shift in incoming cases or a model update is spotted early.

Where it applies

Business applications
  • Shared inbox triage

    Messages sent to finance, HR or customer service mailboxes are read, the type of request is identified, and the right case is opened with the details already filled in.

  • Order and request intake

    Orders and change requests written as free text are turned into structured transactions, which an existing automation can then process by rule.

  • Service desk routing

    Tickets are assigned to the right resolver group and priority when they are created, so that they do not bounce between teams before anyone starts work on them.

  • Payment and invoice exceptions

    Mismatches are sorted by cause, and the ones with a rule-based remedy are fixed automatically while the remainder are shown to a clerk together with the evidence.

  • Complaint and feedback handling

    Complaints are picked out of ordinary correspondence and classified by type and severity, and where a regulated handling process applies, it is started straight away.

  • Data quality checks in workflows

    Records whose free-text fields contradict their coded fields are flagged before they move on into downstream systems and management reports.

In practice

Two situations this service is built for, and what we would do in each.

Retail and consumer goods

A supplier mailbox sorted before a clerk reads it

The situation
The accounts payable mailbox at a retailer receives every kind of supplier message, including invoices, payment queries, remittance disputes, bank detail changes and statements. Invoices that come through the supplier portal are already posted by an existing automation. Everything in the mailbox, however, is read first by a clerk, and requests to change bank details, which are a known route for fraud, wait in the same pile as routine queries.
What we would build
We would put a classification step in front of the mailbox with a fixed list of message types, along with an extraction step for the supplier number, the invoice reference and the amount. Invoices above the threshold would pass to the existing posting automation, while bank detail changes would always go to a named control queue regardless of confidence. Before routing anything, the step would run in shadow and be compared with the way the clerks sort the mail themselves.
What it is designed to change
Clerks would open a queue that is already sorted and has the details filled in, and sensitive requests would reach the control team first. We would track the time from a message arriving to a case being created, the misrouting rate found by sampling, and the override rate at review.
Energy and utilities

Billing exceptions triaged by cause at a utility

The situation
Each cycle, a utility's billing run rejects a portion of its accounts because of missing readings, implausible consumption, tariff mismatches or free-text notes left by field crews. All the rejections go into one work queue, and since billing analysts take them in order, accounts that need only a simple fix can wait for days behind others that need investigation.
What we would build
We would build a triage step that reads each rejection together with the account history and the crew notes, and assigns one cause from a fixed set. Where a cause has a rule-based remedy, as with an estimated reading that falls within policy, the existing automation would apply it. The rest would be routed by cause to the right analyst group with the evidence summarized, and each cause would get its own threshold, set from past resolved rejections.
What it is designed to change
The simple rejections would be cleared within the cycle, which lets analysts start on the difficult ones sooner. Success would be judged on the age of the exception queue at the end of each billing cycle and on the share of triage decisions that analysts overturn.

Technologies

We work in your stack and recommend on fit. We resell nothing.
Workflow and automation platforms
Camunda · Temporal · UiPath · Microsoft Power Automate · ServiceNow Flow Designer · Apache Airflow
Models for classification and extraction
Anthropic Claude · OpenAI · Google Gemini · open-weight language models · fine-tuned transformer classifiers · scikit-learn
Business rules
DMN decision tables · Drools · Open Policy Agent · rules in application code
Review and queues
ServiceNow · Jira Service Management · Zendesk · custom review screens
Measurement and monitoring
OpenTelemetry · Langfuse · MLflow · Grafana · Evidently

Business outcomes

What changes for the organization
  • Fewer stops in the automated flow

    Cases that once had to wait for someone to read and sort them now go directly to the next step, which means the existing automation handles a larger part of the work.

  • People work the cases that need them

    Exceptions reach staff already sorted by cause and urgency, and the routine ones have been resolved or prepared before they appear in the queue.

  • Error rates you have measured

    Every model step has a known accuracy on your own cases and a threshold that the process owner has set, so its reliability is a measured figure and no longer an assumption.

  • Policy stays in rules and code

    Business rules stay in decision tables and code, where they can be read, tested and audited, while the model's role is limited to supplying the facts those rules act on.

What you hold at the end

  • A process map marking every judgment step
  • A labeled case set for each model step
  • Model steps with fixed outputs and validated structure
  • Thresholds agreed with the process owner, with the evidence
  • Review queues that record every human correction
  • A shadow-run report comparing model and human decisions
  • Monitoring for override rates and drift, with a runbook

Questions buyers ask

An agent lets the model choose the next step and call tools to carry it out. In this design the sequence is fixed in a workflow, and the model answers one narrow question at a defined point, such as what kind of case this is, what the reference number is or which queue it belongs in. The behavior is therefore predictable, and testing and audit are straightforward. Most back-office processes are better served this way, and an agent is worth its extra risk only when the steps really do vary from case to case.

That depends on the input and on how many labeled examples you have. A large language model copes well with varied free text, needs few examples and can be set up quickly, although each case costs more to process. A small trained classifier is cheaper and faster for high volumes when the categories are stable and there is plenty of history. Where it is practical we test both on your labeled cases and choose on accuracy, running cost and how easy each will be to maintain.

The damage is limited in three ways. Cases with low confidence go to a person before anything is done with them, and downstream rules validate whatever the model produced, so an extracted invoice number that matches no invoice gets caught. A sample of the confident decisions is also reviewed on a continuous basis to find errors that slip past the threshold. For steps where a mistake is expensive, such as a change to payment details, a person always confirms the decision regardless of confidence.

You do not need to replace it, because the model steps are added to the process you already run, usually as a service that your platform calls and that returns structured output it can branch on. Your workflows, queues and audit logs stay where they are. Some platforms include their own AI steps, and we use those when they can be measured and given a proper threshold. When they cannot, we build the step outside the platform and have the platform call it.

For each judgment step, a few hundred labeled cases is usually enough to measure a language model and set a first threshold, as long as the set includes the rare categories that matter. Training a dedicated classifier takes more than that. If past decisions were never recorded, we begin by running the step in shadow while staff label cases in the course of their normal work, which builds up the set over time.

Discuss intelligent automation with the people who would do the work.

Tell us what you are trying to do and where it is stuck. A principal reads every message and replies within one working day.

How we engage

Start a conversation.

A short paragraph is enough. A principal reads every message and replies within one working day.

Or email hello@farside.works. We use what you send only to reply. Privacy