The complete guide · AI Process Automation

AI Process Automation: the complete guide

What agentic automation actually is, how it differs from traditional RPA, how to design a workflow with the right human approval points, how the agent connects to your existing tools, how reliability and observability work, and how to measure whether it is doing what you need. Written for the person who has to decide whether to build this and how to run it.

A working reference, not a sales brochure. When you want it run on your workflow, start with a free audit.

Most of the operational work in a company is not difficult. It is repetitive: reading something in one system, checking something in another, moving the result somewhere else, and completing an action. A person doing this is expensive, slow, and prone to the kind of error that comes from doing the same thing seventy times in a row. An AI agent is built for exactly this work. This guide is the full explanation of how to think about it and how to do it well.

What agentic automation is

An AI agent is a piece of software that can observe a trigger, plan a sequence of steps to respond to it, take actions across your systems, and complete a defined outcome, checking its own work along the way. That is what distinguishes it from a function, a macro, or a traditional script. The agent does not just run a fixed list of commands. It reads the situation, decides what to do next, and acts.

For business processes, the relevant version of this is a workflow agent: software that is given a defined goal (enter this order, onboard this employee, assemble this report) and a set of tools it can use (read from this CRM, write to this ERP, create this document, send this email), and that works through the steps required to reach the goal, pausing at the places where a human decision is designed in.

It is worth being precise about what the agent is not. It is not a chatbot. It is not a general AI that decides what to do on its own. It is a purpose-built piece of software that runs a specific workflow, with defined tools, defined guardrails, and human approval points at the moments that matter.

How it differs from traditional RPA

Robotic Process Automation, or RPA, has been around for more than a decade, and it has a real track record. It also has a well-known failure mode: it is brittle. An RPA bot follows a script. If the layout of the screen changes, if the data format shifts, if an edge case appears that was not in the original spec, the bot breaks. Maintaining a library of RPA bots across a medium-sized company is a real operational burden, and the maintenance costs often eat a significant share of the savings.

An AI agent does not follow a script. It reads the content of a page, a record, or a document the way a person would, and decides what to do based on what it finds. That means it can handle the varied formats, the missing fields, and the edge cases that would break an RPA bot without a code change. It is not immune to change, but it is far more tolerant of it.

AI agent vs rule-based RPA
Rule-based RPA AI Agent Follows a fixed script Reads and reasons at each step Breaks on layout or format change Handles format variation Cannot handle edge cases Copes with messy, varied inputs Maintenance-heavy Tolerant of system changes No judgement Uses AI judgement where needed Approval logic must be hardcoded Approval steps designed in by default
RPA and AI agents are not competing technologies for the same job. RPA is best for perfectly stable, pixel-perfect processes. AI agents are for everything that has variation, which is most of what operations teams actually deal with.

That said, the two are not mutually exclusive. If you already have working RPA bots in stable parts of your process, there is no reason to replace them. The agent typically handles the steps that require reading and judgement, while existing automations can run the stable, deterministic parts.

The free workflow audit

We open every engagement with a free audit, because it is the only honest way to scope the work. The audit is a structured conversation about the workflow you want to automate: every step, every system it touches, where the data comes from, what the output is, and where the decisions that require a person sit.

At the end of the audit you have a written map of the workflow, a clear view of which steps an agent can handle and which need a human, and an estimate of the hours and errors removed. That is useful even if you decide not to proceed. A clear workflow map is worth having, and it is yours whether or not you engage us.

The audit also surfaces the practical questions that determine whether a workflow is a good candidate: are the systems connectable via API? Is the data clean enough to act on? Is the volume high enough that the saving justifies the build? We answer these questions before you spend anything.

Where an agent fits in a workflow

Not every step in a workflow is a good candidate for an agent. The steps that work well are the ones where the right action is determinable from the available data, where the output can be validated, and where the cost of an error is recoverable. The steps that stay with a person are the ones that require judgement, relationship, or authority that cannot be delegated to software.

In most workflows, the split is roughly 70 to 80 percent agent, 20 to 30 percent human. The agent handles the reading, the moving, the checking, and the producing. The person handles the approvals, the exceptions, and the decisions that carry real weight. That is the design pattern we apply consistently, because it is the one that is safe enough to run in production and useful enough to be worth building.

Workflow agent: trigger to steps to approval to outcome
TRIGGER new record, timer AGENT STEPS Read CRM validate fields Update ERP create record Build document from template APPROVE? human reviews and confirms OUTCOME confirmed, systems updated, logged starts the run agent handles these person stays in control fully logged
The agent handles the steps that are determinable from data. The human handles the step where the decision carries weight. The log is written throughout, so the whole run is auditable after the fact.

Designing the workflow

Good workflow design starts before you write any code. It starts with a map: every step in the current process, who does it, what system they use, what they are checking or producing, and what the input to the next step is. Most teams discover in this exercise that the actual workflow is more complicated than anyone thought, because the steps that live in people's heads never make it into documentation.

Once the map exists, you can identify which steps are deterministic (the same input always produces the same correct output) and which require contextual judgement. Deterministic steps are agent candidates. Steps requiring judgement are human candidates, but they can often be made faster for the human by having the agent assemble the relevant context before the approval request goes out.

Workflow design also means being precise about what the agent produces. An agent that "handles the order process" is not a useful spec. An agent that reads the order record from the CRM, validates the line items against the product catalogue, checks the stock level in the ERP, creates a draft sales order with the correct fields populated, and sends an approval request to the operations manager with the order summary attached: that is buildable, testable, and auditable.

Choosing the human approval points

The question of where to put human approval steps is one of the most important design decisions in any agent build. Too few approval points, and the agent is acting on decisions that a person should be making. Too many, and the automation saves no time because everything goes through a queue anyway.

A useful heuristic: put an approval step at any point where an error by the agent would be difficult or expensive to reverse. That means anything that sends an external communication, anything that triggers a financial commitment, anything that modifies data in a system of record in a way that is not easily rolled back. Steps that are purely internal, purely checking, or purely moving data within your own systems are generally safe to run without an approval step.

The approval interface matters too. The agent should present the approver with the minimum information they need to make the decision, clearly, in one place. A human who has to open three systems to verify what the agent is asking them to approve will become a bottleneck, and the automation will start to feel like it is adding work rather than removing it.

How the agent acts on your systems

The agent interacts with your existing systems through APIs, which is the standard way modern business software exposes its functionality to other software. Most ERPs, CRMs, HR platforms, project management tools, communication apps, and document systems have APIs that allow an authenticated caller to read and write records, trigger workflows, and retrieve status. The agent is that authenticated caller.

For systems that do not have a full API, there are often partial integrations via webhooks (the system pushes an event when something happens), file-based interfaces (the system exports a file the agent can read), or email parsing (the system sends a structured email the agent can interpret). These are less clean than a proper API, but they are usable, and we assess them case by case during the audit.

Your stack, your data. The agent connects to your systems using credentials you control and you can revoke. It reads and writes only what the workflow requires. We scope the exact permissions during the build, and they are the minimum necessary for the agent to do its job. Nothing else.

Reliability and observability

An agent that works most of the time is not useful in production. Operations workflows touch real money, real commitments, and real people. Reliability has to be a design property, built in from the start, not something you hope for.

The components of reliability in an agent build:

  • Idempotency. Every step is written so that if it runs twice due to a retry, it produces the same result as if it ran once. You do not create two sales orders because the network timed out.
  • Retry logic. Transient failures (a system is slow to respond, an API rate limit is hit) are retried automatically, with exponential backoff. The agent does not give up on the first hiccup.
  • State checkpointing. The run state is persisted after each step, so if the agent is interrupted, it can resume from where it stopped rather than starting over.
  • Alerting. When a run fails in a way that cannot be automatically recovered, the right person is alerted immediately, with enough context to understand what happened and what to do next.
  • Full run logs. Every run produces a complete, timestamped record of every step the agent took, every API call it made, every decision point it hit, and every approval it requested or received. The log is queryable and retained for audit.
Before and after: cycle time and error rate
Cycle time per run Before 4 hrs After 12 min Error rate per run Before 4% After 0.2%
These are representative numbers from comparable workflows, not guarantees. Your audit will produce the specific estimate for your workflow. Cycle time drops because the agent runs immediately without queuing. Error rate drops because the agent does not lose focus, skip fields, or confuse similar records.

Observability is the practice of making the internal state of the agent visible to the people who need to understand it. A run log is the basic form. A dashboard that shows run counts, step durations, failure rates, and approval queue lengths is the mature form. Both should be in place from the first production run.

Guardrails and safety

A well-designed agent does not need you to trust it blindly. It needs you to trust the guardrails you put around it, which is a different and much more tractable thing.

The primary guardrails are the human approval steps described above. Beyond those, the agent should operate with the principle of minimum necessary permission: it reads and writes only the data the workflow requires, connects only to the systems the workflow involves, and takes no action outside the defined scope. Those boundaries are written into the build specification and enforced by the access credentials.

A second guardrail is the scope of each action. The agent should be designed to propose actions and wait for confirmation at the approval steps, rather than to take the most aggressive action it can within its permissions. The difference between "create the sales order and email the customer" and "create the draft sales order and request approval to send to the customer" is the difference between a useful tool and one that creates messes faster than a person can clean them up.

Third: every action the agent can take should be reversible by a person in a reasonable amount of time, or accompanied by a confirmation step before it becomes irreversible. Deleting records, sending external communications, triggering financial transactions: these are the points where an approval step is not optional.

Integration with your stack

The agent lives in your stack, not in a parallel universe. That means the integration work is as important as the agent itself, and it is often where the most time is spent in a build.

We assess integrations in three categories: native API (the clean path, available for most modern software), partial API or webhook (usable, with some additional handling), and no API (requires a different approach, typically file-based or email-based). Systems without any programmatic interface at all are rare, but they exist, and where they do, we are honest about the limitations.

Integration typeHow it worksTypical reliability
Native REST or GraphQL APIAgent calls the API directly with authenticated requestsHigh, well-defined error handling
WebhookSystem pushes events to the agent when something changesHigh for triggers, read-only for output
File export / importSystem writes a CSV or JSON, agent reads it; agent writes a file, system imports itMedium, depends on export timing
Email parsingSystem sends a structured email, agent reads and acts on itMedium, depends on format consistency

The integration assessment is part of the free audit. You will know what is connectable and at what reliability level before you commit to building anything.

Keeping it working as systems change

This is the part that most automation projects underestimate. Systems change. APIs are updated, field names shift, new required fields appear, the CRM is upgraded to a new version that reorganises its object model. A good agent build anticipates this and makes maintenance straightforward.

The practices that make maintenance manageable: version-pinning API integrations so you know when a dependency changes; writing the workflow logic in one place so a change to a step does not require updates scattered across multiple files; running a test suite against the live systems on a schedule so a broken integration is caught before it fails in production; and logging the full run state so when something does break, the diagnosis is a matter of reading the log rather than reproducing the failure.

For teams that want ongoing operation rather than a one-time build, we monitor the agent in production, handle the maintenance updates, and report on run health monthly. That is the Operate tier in our engagement model.

Measurement

The metrics that tell you whether the automation is doing what you need:

MetricWhat it tells you
Cycle time per runHow long the workflow takes from trigger to outcome, before and after automation
Straight-through rateThe share of runs that complete without any human intervention beyond the designed approval steps
Error rate per runThe share of runs that produce an incorrect output, before and after automation
Cost per runFully loaded cost per completed workflow: agent compute, API costs, human approval time
Approval queue timeHow long approval requests sit before they are actioned, which is often the real bottleneck
Failure rate and recovery timeHow often the agent fails and how long it takes to recover, manually or automatically

The baseline for these metrics is established during the audit by measuring the current manual process. The comparison after go-live is what tells you whether the saving is real and what it is worth.

What does not work

It is worth being direct about where agentic automation fails, because the failures are predictable and avoidable.

  • Automating a broken process. An agent is very good at running a process fast. If the process produces the wrong output by hand, the agent will produce the wrong output faster. Fix the process before you automate it.
  • No oversight. An agent with no human approval points and no run logging is a liability, not an asset. The oversight mechanisms are not optional extras. They are what make it safe to run in production.
  • Workflows with no clear trigger or no defined output. An agent needs to know when to start and what done looks like. "Help the team with their work" is not an automatable spec. "When a new order arrives in the CRM, create an ERP sales order and request approval to confirm with the customer" is.
  • Systems with no API. If a system cannot be reached programmatically, the agent cannot interact with it. Screen-scraping approaches exist but are fragile. We will tell you if a system in your stack is not a realistic integration target.
  • Expecting zero maintenance. The system will need updates as your stack changes. Budget for it, or put us on an Operate engagement where we handle it.

The engagement model

The shape of the work: a free audit to map your workflow and confirm what is automatable, a fixed scope build that produces a working agent connected to your systems with the right approval steps and logging in place, then optional ongoing operation where we monitor and maintain it. The audit is one conversation. The build is scoped from the audit. The operate engagement is monthly.

You own the software. There is no platform licence sitting in the middle. If you want to take it in-house and run it yourself, the code is yours and so is the documentation. If you want us to continue operating it, we do that too.

AI Process Automation is part of our AI services. It sits alongside Document AI, which is the right tool when the trigger is a document rather than a structured record. Many workflows use both: the agent reads a document, extracts the relevant fields, and then takes action across your systems. The free audit will tell you which one applies to your workflow, or whether you need a combination. Start with the audit.

Frequently asked questions

How is this different from RPA? +
Traditional RPA follows a fixed script. If the layout changes, the format varies, or an edge case appears, the bot breaks. An AI agent reads and reasons about each step the way a person would, so it handles the messy, varied cases that RPA cannot without constant maintenance. You get something that copes with reality, not a brittle macro that needs babysitting.
Will the agent act without any human oversight? +
No. We design human approval steps into every workflow at the points where it matters: high value transactions, exceptions, anything that triggers a downstream commitment. The agent handles the routine steps and pauses for a person where judgement is actually needed. Every run is logged so you can see exactly what happened and when.
What happens if a step fails? +
The agent retries transient failures automatically, logs the full run state, and alerts the right person when something needs attention. Nothing is silently skipped. The run log tells you the exact step that failed, what the agent tried, and what the outcome was.
Which tools and systems can it connect to? +
Anything with an API, which covers the vast majority of modern business software: ERPs, CRMs, HR platforms, project management tools, communication apps, document systems, and databases. We map your specific stack during the workflow audit and confirm what is connectable before we build anything.
How does it handle edge cases and errors in the data? +
The agent is designed to validate data at each step and flag problems rather than guess. If a required field is missing, the run stops and the right person is alerted. If the data is ambiguous, the agent routes the run to a human rather than making a silent assumption. This is one of the real advantages over rule-based automation: the agent knows what it does not know.
What does it cost? +
The workflow audit is free. After that, pricing depends on the complexity of the workflow, the number of systems it connects, and whether you want us to operate and monitor it ongoing. We scope a fixed build cost after the audit, because the right number depends on your workflow and your stack. No platform licence to buy.

That is the complete picture. The next step is a free audit on your workflow: the steps mapped, the agent designed, the hours estimated. No commitment required.

Get a free workflow audit

Find out how much time your workflow is costing you.

A free audit on the routine that eats the most hours, the steps mapped, the agent designed. Then we build it and put it to work.

Get a free workflow audit
Free audit · You keep the map · 24h reply

Related reading

Related reading

Related reading

Related reading

Get a free workflow audit