Business process transformation

Business process automation

Rules-based work done by software, with exceptions routed to people and each action logged.

How we do it

Overview

This service covers the kind of work in which a trained person applies the same rule every time, such as matching an invoice to its order, checking a credit limit, updating two systems and sending the confirmation. Software can do that work. The difficulty is that the rule holds for the ordinary case and then runs into the supplier who invoices in two currencies, the record locked by another user or the field that was optional until last year. Those cases are the ones that end up back on someone's desk, so they decide whether an automation is any good.

How the automation reaches each system matters as much as what it does once it gets there. An API works as a contract, because the vendor publishes it, versions it and announces changes in advance, whereas a screen comes with no such promise. Screen automation, usually sold as RPA, drives the user interface the way a person would, and it stops working when a button moves, a dialog appears or a page loads slowly. For that reason we automate through APIs first and then through whatever files, events or queues a system supports, keeping screen automation as the last resort for systems that offer nothing else.

When we do use screen automation, we state what it will cost to maintain and who will own it. Whichever route is used, every action the automation takes is recorded together with the record it touched, the rule that fired and the data it saw. An auditor will ask a machine the same question a clerk would be asked, namely who did this and on what basis, and if the automation has no answer, a control that existed while a person did the work has been lost.

Challenges we address

The failures we are usually called in to fix
  1. Bots that break when a screen changes

    A vendor update moves a field or adds a confirmation dialog, and a screen automation that had run for months stops overnight, or in a worse case keeps running and types into the wrong field. Over time the team comes to dread every release of the systems it depends on.

  2. Only the clean case was automated

    The automation deals with the tidy case and drops everything else into a shared mailbox without any context. Staff end up doing the same exception work as before, along with the extra work of finding out what the automation had already done to each case.

  3. Transactions left half finished

    The automation updates the first system, fails on the second and stops, so the two records now disagree and nobody is told about it. Rerunning it creates a duplicate, because the first step was never designed to be repeated safely.

  4. Rules buried in bot scripts

    The approval limit and the list of exempt suppliers are hard-coded in a script that only one contractor understands. When policy changes, the business has to raise a ticket and wait, and in the meantime it cannot see which rule is actually being applied.

  5. A service account audit cannot question

    When a payment is released under a service account, the system log shows that the account signed in and posted but says nothing about the rule it applied or the data it was looking at. Audit therefore has to treat the automation as an unexplained user with wide access.

Our approach

How the work runs, in order
  1. Check the rules can be written

    We confirm that the process has already been trimmed down and that its rules can be stated clearly. If two experienced members of staff would decide the same case differently, the rule is not ready yet, so we settle it with the process owner before any code is written, since software applies whatever version of a rule it is given on every case.

  2. Design the exceptions first

    We list each exception found in past cases and decide whether it should be handled by a rule, retried or handed to a person. For a handoff we name the queue, the owner and the deadline, and we define what the person will see, which is the case itself, what has been done so far and why the automation stopped.

  3. Choose the route into each system

    For each system we look first for a supported API and then for events, files or a message queue, and we use screen automation only where none of these exists. Every screen step verifies that it is on the page it expects and checks the result after each write, and the bot is entered in a register as a known liability with an owner.

  4. Build for reruns and audit

    Each step is either idempotent or reads before it writes, which means a rerun after a failure cannot post the same transaction twice. The rules are kept in decision tables that the business can read, and every action writes an audit record that includes the rule version and the inputs it used.

  5. Run in parallel, then cut over

    To begin with, the automation runs alongside the manual process on live cases without writing anything, and its decisions are compared with what staff actually did, so each difference turns out to be either a defect or a rule that had never been written down. After that it takes over one case type at a time, starting with the simplest, and each type keeps a switch back to manual.

Technical capabilities

What we design, build and operate
  • API-first automation

    We build automations on the REST, SOAP, event and file interfaces your systems support, and treat authentication, rate limits and version changes as part of the design.

  • Screen automation where unavoidable

    For systems with no interface we build attended and unattended RPA that checks the screen state, verifies each write and raises an alert when the application changes underneath it.

  • Decision tables and business rules

    Rules are moved out of scripts into DMN tables or a rules engine, where they are versioned, can be tested against past cases and can be read by the people accountable for the policy.

  • Exception queues

    Cases the automation cannot finish go to work queues, each carrying the reason, the case history, an owner and a deadline, and reports show which exceptions keep coming back.

  • Rerunnable steps

    Each write is protected by an idempotency key or a prior read, so that a failed run can be resumed or repeated without creating duplicate postings in the ERP or the CRM.

  • Audit logging

    An append-only record is kept of each automated action, holding the record touched, the rule version, the inputs, the result and the identity the automation ran under.

  • Bot identity and access

    Each automation gets its own service identity with the least privilege it needs, its credentials are kept in a secrets vault, and duties stay segregated between the automation and its approvers.

  • Run monitoring

    A single dashboard shows run health, queue depth, exception rate and time per case, and its alerts reach a person before the backlog has a chance to build up.

Where it applies

Business applications
  • Invoice matching and posting

    Supplier invoices are matched to purchase orders and goods receipts, the clean ones are posted, and any mismatch goes to the buyer with the difference shown.

  • Joiners, movers and leavers

    Accounts, access rights and equipment requests are created, changed or removed across HR, identity and ticketing systems from a single trigger, and each change is recorded.

  • Order entry from email and portals

    Orders that arrive outside the ERP are checked against customer, price and stock rules, and only the ones that pass those checks are entered.

  • Account reconciliation

    Ledger entries are compared by rule with bank or sub-ledger entries, the matches are cleared and the breaks are presented grouped by their likely cause.

  • Master data changes

    An approved change to a customer, supplier or product is applied in a fixed order to every system that holds a copy, with a read-back after each write.

  • Recurring report assembly

    Figures for a periodic report are pulled from several systems on a schedule, and source checks stop the run whenever a number falls outside its expected range.

In practice

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

Logistics and supply chain

Shipment statuses copied from carrier portals by hand

The situation
Coordinators at a freight forwarder spend each morning reading carrier portals and typing status updates into the transport management system. Two of the carriers offer APIs while several others offer only a web portal, and an earlier bot written for one portal failed when that carrier redesigned its site, which went unnoticed for days.
What we would build
We would connect directly to the carriers that provide APIs or EDI messages, and ask the rest which feeds they support before scripting any screen. Where a portal has no alternative, the screen automation would confirm it is on the expected page before reading it and raise an alert if it is not. An update that contradicts the previous status would go to a coordinator with both values shown, and every update would be logged with its source.
What it is designed to change
The goal is for coordinators to spend their time on conflicts and late shipments, with the copying of statuses taken off them. For each carrier we would track the delay between an event and its appearance in the transport system and the number of updates that needed manual correction.
Energy and utilities

Move requests that leave billing and metering out of step

The situation
When a customer moves, agents at a utility update the billing system, the meter data system and the CRM one after another. If an agent is interrupted partway through, one of the systems is left behind, and the error tends to come to light weeks later as a wrong bill and a complaint.
What we would build
With the billing team we would write the rules for a standard move as a decision table, and build the automation against the interfaces of the three systems so that each update is confirmed before the next one starts. A failed step would be retried and then handed to an agent along with the state of all three systems. Moves involving an open dispute or an unusual tariff would be sent to a person by rule.
What it is designed to change
Each move would either be complete in all three systems or be visibly waiting for someone to act. Success would be judged by the number of accounts a periodic reconciliation finds inconsistent between the systems, and by the billing corrections that trace back to move requests.

Technologies

We work in your stack and recommend on fit. We resell nothing.
Automation and integration platforms
Microsoft Power Automate · Workato · Boomi · n8n · Apache Camel · custom services in Python or Java
Screen automation (RPA)
UiPath · Automation Anywhere · Blue Prism · Power Automate for desktop · Robot Framework · Playwright
Rules and decisions
DMN decision tables · Drools · Camunda DMN engine · IBM Operational Decision Manager
Queues and events
Apache Kafka · RabbitMQ · Amazon SQS · Azure Service Bus · Google Cloud Pub/Sub
Monitoring and audit
OpenTelemetry · Grafana · Elastic Stack · PostgreSQL

Business outcomes

What changes for the organization
  • Exceptions land with a named person

    Cases that the rules cannot finish arrive in a queue with their history and a deadline attached, which spares staff from reconstructing what happened from a message in a shared mailbox.

  • Fewer bots to maintain

    Work that can go through an API is sent that way, so an upgrade to one of your business systems is much less likely to bring the automation to a halt.

  • Rules the business can read

    Limits, thresholds and exemptions are kept in versioned decision tables, which means a policy change becomes an edit and a test against past cases and does not need a development project.

  • Every automated action can be explained

    For any record you can show what the automation did and which rule version and inputs it used, in the form an auditor will ask for.

What you hold at the end

  • The automation in production for the agreed case types
  • An exception catalog with a handling rule for each entry
  • Decision tables holding the business rules, under version control
  • An audit log with a documented schema and retention period
  • A register of screen automations with their fragility and owners
  • Runbooks for failures, reruns and switching back to manual
  • A dashboard for runs, queues and exceptions

Questions buyers ask

It isn't, although it should be the last resort, and sometimes it is the only one. A mainframe terminal, a supplier portal or an old desktop application may give software no interface to use, and in that situation screen automation is the right answer. Because it depends on a screen layout you do not control, it needs monitoring, an owner and a maintenance budget. What we argue against is using it by default on systems that already have an API, which adds fragility and gains nothing in return.

A good candidate has rules that can be written down and that two experienced people apply in the same way, and its inputs arrive as data or can be made to. There should be enough volume for the build to pay back, systems that can be reached through a supported interface, and an owner who can settle questions about the rules quickly. A process that fails on the rules needs work on them before it is automated, and one without an owner needs an owner before anything else happens.

That depends on who will maintain the automation and how complicated its logic is. Low-code platforms suit short flows between widely used business applications that an operations team looks after, but they become awkward when there is deep branching, demanding test requirements or a need for proper version control. Code suits those cases, provided you have engineers to own it. With either choice the same discipline applies, which means tests, an audit log, exception handling and a named owner.

We test in three layers. The rules are tested first against historical cases whose outcomes are known, and the integrations are then tested in each system's test environment, including failures we cause deliberately such as timeouts, locked records and rejected writes. Finally the automation runs alongside the manual process on live cases without writing anything, and its decisions are compared with those made by staff. It begins writing only once the differences have been explained, and then for one case type at a time.

Your own team does, and the build is designed with that in mind. A person on the business side owns the decision tables and approves changes to the rules, while a technical owner looks after the integrations and the register of screen automations. Operations staff watch the exception queues and the dashboard, using runbooks for a failed run and for switching a case type back to manual. If you would rather not staff this yourselves, application management is a separate service you can add.

Discuss business process 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