Business process automation: how do you decide what to automate?
A framework for business process automation: which processes to automate first, RPA vs AI vs workflow tools vs custom code, worked examples and a 90-day plan.
MegaViz Team · · 27 min read
- Business process automation
- RPA
- AI automation
- Workflow automation
- Operations

Business process automation (BPA) means using software to carry out the repeatable steps of a business process, such as moving data, routing approvals and sending updates, so people handle only the steps that need judgement. The hard part is choosing what to automate. Here is the rule this guide uses:
A process is a good automation candidate when it is frequent, rule-based (or its judgement can be checked), stable, digital at the input, and costly when it goes wrong.
Score every candidate against those five tests before you choose a tool. A process that fails one of them, usually stability or digital input, tends to disappoint whatever technology you use. The rest of this guide applies the rule: what BPA is and is not, the four ways to build it, a scorecard, worked examples by department, and how to run it safely once it is live.
What is business process automation, and what is it not?
Business process automation is software that performs defined steps of a business process without a person doing them by hand: capturing data, checking it against rules, moving it between systems, routing it for approval and notifying people. It is not a single product, a replacement for fixing a broken process, or AI deciding things on its own.
A business process turns an input into an outcome: a supplier invoice into a payment, an enquiry into a qualified lead. Automation takes over some of the steps. It rarely takes over all of them, and should not try to.
What BPA usually includes:
- Data movement: copying details from an email, form or file into the system that needs them.
- Rule checks: matching an invoice to a purchase order, or checking a form is complete.
- Routing: sending a request to the right person by type, value, region or urgency.
- Notifications and reminders: telling people what needs attention, and chasing when it is overdue.
- Record-keeping: logging who did what and when.
What BPA is not:
- Not a fix for an unclear process. If three people do the same task three different ways, automating it locks in confusion or forces a decision nobody has made yet.
- Not the same as digitising. Moving a paper form to a PDF is digitisation. Automation starts when software acts on the data without someone pushing it along.
- Not autonomous AI. AI can help with specific steps, such as reading a document or sorting a message, but a sensible design keeps people accountable for decisions with consequences.
- Not a one-off project. Every automation depends on other systems, logins and rules that change. It needs an owner for as long as it runs.
Workflow automation, RPA and intelligent automation are approaches inside BPA, not separate goals.
Which processes should you automate first?
Automate first the processes that pass all five tests: they happen often, follow rules or checkable judgement, have not changed recently, arrive as digital data, and cause real cost or delay when done wrong. Score each candidate from one to five on every test, then start with the highest total that a small team can deliver.
What each test means in practice:
- Frequent. The process happens many times a day or week. Frequency turns small savings per case into a meaningful total and gives you enough cases to test properly. A task done twice a year is cheaper to keep manual, with a good checklist.
- Rule-based, or judgement that can be checked. Someone could write the decision down: "if the amount is over this limit, send to the finance manager". Where judgement is involved, a person should be able to verify it quickly, such as "is this email a complaint or a question?" If nobody can explain how the decision is made, software cannot make it either.
- Stable. The steps, forms and systems have not changed recently and are not about to. Automating in the middle of a reorganisation or software migration means building it twice.
- Digital at the input. The information arrives as a web form, structured email, spreadsheet, system export or API. Paper, phone calls and free-text chat can be handled, but they add a conversion step and more errors.
- Costly when it goes wrong. A late supplier payment, a lead nobody calls back or a wrong dispatch address hurts. A slightly untidy internal report does not.
The automation scorecard
Score each candidate from 1 (poor fit) to 5 (strong fit) on each test, plus two practical checks: how many exceptions the process has, and how easy it is to get access to the systems involved.
| Test | Score 1 | Score 3 | Score 5 |
|---|---|---|---|
| Frequency | A few times a year | Weekly | Many times a day |
| Rules | Depends on one expert's instinct | Mostly rules, some judgement | Clear written rules, or judgement a person can check quickly |
| Stability | Changing now or soon | Small changes each year | Unchanged for a long time |
| Digital input | Paper, calls, handwritten notes | Emails and PDFs in varied formats | Forms, structured data, API or export |
| Cost of errors or delay | Minor inconvenience | Rework and some customer impact | Financial loss, lost sales or compliance risk |
| Exceptions | Most cases are unusual | Some cases need special handling | Exceptions are rare and easy to spot |
| System access | No API, no export, locked-down vendor | Export or partial API | Documented API or built-in connectors |
A practical reading of the total, out of 35:
- 28 and above: a strong first candidate.
- 20 to 27: possible, but fix the weakest score first, often the input format or the exceptions.
- Below 20: keep it manual for now, or improve the process before automating it.
These thresholds are a rule of thumb, not a law. A process that scores 1 on stability should wait, whatever its total.
What are the main ways to automate a business process?
There are four main approaches: no-code or low-code workflow tools that connect cloud apps, robotic process automation (RPA) that operates software through its screen, AI or LLM-assisted steps that read and sort unstructured content, and custom integration or software. Most real processes combine two or more of them.
No-code and low-code workflow tools
Tools such as Zapier, Make, n8n and Microsoft Power Automate connect applications using ready-made connectors. You define a trigger, such as a form being submitted, and a series of actions, such as creating a contact and sending a message. They suit processes that live mostly in cloud software with existing connectors. Some, such as n8n, can also be self-hosted on your own servers, which matters when data must stay inside your infrastructure.
The risk is sprawl. Workflows built by different people on personal accounts, with no documentation, become fragile and hard to hand over.
Robotic process automation (RPA)
RPA uses software bots that work through an application's user interface the way a person would: opening screens, clicking, typing and copying. Platforms such as UiPath, and Microsoft's Power Automate desktop flows, are built for this. RPA earns its place when a system has no API or export, which is common with older desktop or legacy applications.
The trade-off is fragility. A bot that depends on where a button sits on the screen can break when the screen changes, and it often needs a dedicated machine and login to run.
AI and LLM-assisted steps
Large language models and document AI can handle steps that rules cannot: reading invoices that arrive in many layouts, extracting fields from a contract, classifying an email by intent, summarising a long thread or drafting a reply. These steps produce a likely answer, not a guaranteed one, so a well-designed process checks the output against validation rules, uses confidence scores where the tool provides them, and sends uncertain cases to a person.
If your main need is answering questions from your own documents, that is a specific pattern covered in our guide to an AI chatbot for business.
Custom integration and software
Sometimes the right answer is code: a direct connection between two systems through their APIs, a small internal web app for a step no tool covers, or a service that runs business rules too specific for a no-code builder. Custom work costs more to start but gives you control over error handling, logging, security and performance. Our guide on what API integration is explains how system-to-system connections work in more depth.
How the four approaches compare
| Aspect | Workflow tools | RPA | AI / LLM-assisted steps | Custom integration |
|---|---|---|---|---|
| How it works | Connects apps through ready-made connectors and triggers | A bot operates the user interface like a person | A model reads, classifies, extracts or drafts from unstructured content | Code connects systems directly through APIs or databases |
| Best fit | Cloud apps with connectors; simple, high-volume handoffs | Older systems with no API or export | Documents, emails and messages in varied formats | Complex rules, high volume, strict security or several systems |
| Main weakness | Sprawl and limits on complex logic | Breaks when screens change | Can be confidently wrong; needs checking | Higher upfront effort; needs developers to change |
| Who can maintain it | Trained operations staff, with oversight | RPA specialist or trained admin | Developer plus a business reviewer | Developers |
| Human check needed | For exceptions | For failures and exceptions | For low-confidence results, by design | For exceptions |
A common pattern combines them: a workflow tool watches an inbox, an AI step extracts the invoice fields, a person approves anything uncertain, and a custom integration posts the result to the accounting system.
RPA vs AI: what is the difference, and when do you need each?
RPA follows fixed instructions to operate software through its screen; it repeats the same clicks reliably but cannot understand content. AI interprets content, such as a document or a message, but its output is probabilistic and needs checks. Use RPA to reach systems without APIs, AI to understand unstructured input, and often both.
A simple way to tell which you need is to ask where the difficulty sits.
- Getting into a system is hard (no API, export or connector): RPA is the tool.
- Understanding the input is hard (every supplier's invoice looks different): an AI step is the tool.
- Both are hard: AI reads the document, a person confirms uncertain fields, RPA keys the result into the legacy system.
- Neither is hard: a workflow tool or direct integration will be cheaper to run and easier to maintain.
| Question | RPA | AI step |
|---|---|---|
| What does it do well? | Repeats exact on-screen actions | Interprets text, documents and images |
| What does it need? | Stable screens and fixed rules | Examples, clear instructions and review |
| How does it fail? | Stops or misclicks when the screen changes | Returns a plausible but wrong answer |
| How do you control it? | Monitoring and alerts on failed runs | Confidence thresholds, validation rules and human review |
| When is it the wrong tool? | When an API or export exists | When the input is already structured |

How much time can automating a process save?
The saving equals the time spent on the process today minus the time still spent after automation: checking results, handling exceptions and maintaining the automation. Measure today's time first. The honest figure is almost always lower than "minutes per task times volume", because some cases still need a person.
Here is the arithmetic, using made-up numbers.
Illustrative: a task taking 6 minutes, done 40 times a day.
- Time today: 40 × 6 = 240 minutes a day.
- Suppose the automation handles 70% of cases (28 a day) end to end, but a person spends 1 minute checking each: 28 × 1 = 28 minutes.
- The other 30% (12 a day) are exceptions that still need a person, and exceptions take longer, say 8 minutes each: 12 × 8 = 96 minutes.
- Time after: 28 + 96 = 124 minutes a day.
- Saving: 240 − 124 = 116 minutes a day, not 240.
Over 22 working days, that illustrative saving is 116 × 22 = 2,552 minutes, roughly 42 hours a month. Subtract the time someone spends maintaining the automation, say an illustrative 4 hours a month, and the net is about 38 hours.
The exception rate decides most of the result: halving exceptions often saves more than speeding up the automated path. Checking time is real time too, so design review screens for quick decisions. And time is only one benefit. Fewer errors, faster customer responses and a complete audit trail may matter more; count them separately rather than converting everything into rupees.
Use your own numbers. Time ten or twenty real cases with a stopwatch before you estimate anything.
What does business process automation look like in each department?
Each department has at least one process that passes the five tests: finance has invoice capture and approval, HR has onboarding, sales has lead routing and follow-up, support has ticket triage, operations has order-to-dispatch, and management has recurring reports. The examples below are illustrative and show where people stay involved.
None of these describes a real client.
Finance: invoice capture and approval (an illustrative example)
As-is. Supplier invoices arrive as PDFs in a shared inbox. An accounts assistant types each one into the accounting system, finds the matching purchase order and emails the budget holder for approval. Approvals get lost; duplicates occasionally get paid.
To-be.
- A workflow watches the shared inbox and saves each attachment.
- An AI extraction step reads the supplier, invoice number, dates, line totals and tax fields.
- Validation rules check the totals add up, the supplier exists, the invoice number has not been seen before, and the amounts match the purchase order within an agreed tolerance.
- Anything that fails a rule, or that the extraction marks as low confidence, goes to the accounts assistant's review queue with the field highlighted.
- Clean invoices are routed for approval based on amount and cost centre, with reminders when they wait too long.
- Approved invoices are posted to the accounting system through its API, with a link to the original PDF.
Where people stay. Reviewing low-confidence fields, approving payments and resolving mismatches with suppliers. Payment release itself should stay a human decision.
HR: new employee onboarding (an illustrative example)
As-is. When an offer is accepted, HR emails IT for accounts, the manager for a first-week plan and the new joiner for documents. Something is always missed.
To-be. Accepting the offer in the HR system triggers a checklist. Accounts are requested from IT with the right role template, the new joiner receives a document upload link, reminders go out for missing items, the manager gets a first-week template, and the checklist shows HR what is outstanding. On the last day of employment, the reverse checklist removes access.
Where people stay. Welcoming the person, verifying documents and approving access to sensitive systems.
Sales: lead routing and follow-up (an illustrative example)
As-is. Website enquiries land in an inbox. Someone forwards them to a salesperson when they have time. Some leads wait a day; a few are never answered.
To-be. The form sends each enquiry straight to the CRM. Rules assign it by region, product or deal size. The prospect gets an immediate acknowledgement, the assigned salesperson gets a notification, and if nobody logs a contact within an agreed window, the lead is escalated to a manager. An optional AI step summarises long free-text enquiries and suggests a category, which the salesperson can correct.
Where people stay. The conversation itself. Automated follow-up sequences should stop the moment a person replies.
Customer support: ticket triage (an illustrative example)
As-is. All emails and chat messages go into one queue. Agents read each one, decide what it is about, and pass it on. Urgent issues sit behind routine ones.
To-be. An AI classification step labels each message by topic, urgency and language, and pulls out order numbers. Rules route it to the right queue. Clear, low-risk categories, such as "where is my order", get an automatic status update from the order system. Anything about refunds, complaints or account security goes to a person. Agents can correct a wrong label with one click, and those corrections are reviewed to improve the rules.
Where people stay. Every reply with consequences: refunds, complaints and anything sensitive.

Operations: order-to-dispatch (an illustrative example)
As-is. Orders arrive from a website, marketplaces and phone calls. Staff copy each into the warehouse system, check stock, book a courier on its website and email tracking details to the customer.
To-be. Online orders flow into one order list through integrations. Stock is checked automatically; orders with stock issues are held and flagged. Pick lists are generated in batches, courier bookings are made through the courier's API, and tracking details are sent to the customer when the label is created. Phone orders are entered once, through a simple internal form, not retyped across several systems. If a marketplace or legacy system offers no API, an RPA bot can bridge that one step.
Where people stay. Picking, packing, handling damaged or short stock and deciding on substitutions.
Management: recurring reports (an illustrative example)
As-is. Every Monday, someone exports data from three systems into a spreadsheet, cleans it, builds charts and emails a summary, occasionally with a copy-paste error.
To-be. Scheduled exports or API pulls land in one place, the same transformations run each time, and a dashboard or report updates automatically. An optional AI step drafts a short written summary of notable changes, which a manager edits before sending.
Where people stay. Interpreting the numbers and deciding what to do about them.
The examples, scored
| Illustrative process | Frequency | Rules | Stability | Digital input | Cost of errors | Exceptions | Access | Total /35 |
|---|---|---|---|---|---|---|---|---|
| Invoice capture and approval | 5 | 4 | 4 | 4 | 5 | 3 | 4 | 29 |
| Employee onboarding | 2 | 5 | 4 | 4 | 4 | 4 | 3 | 26 |
| Lead routing and follow-up | 5 | 5 | 4 | 5 | 4 | 4 | 5 | 32 |
| Support ticket triage | 5 | 3 | 4 | 4 | 4 | 3 | 4 | 27 |
| Order-to-dispatch | 5 | 4 | 3 | 3 | 5 | 3 | 3 | 26 |
| Weekly management report | 4 | 5 | 4 | 5 | 3 | 5 | 4 | 30 |
These scores are invented to show the method; yours will differ.
How do you map a process before automating it?
Write down how the process runs today (as-is), including every exception, workaround and owner, then design how it should run (to-be) before choosing any tool. Map it with the people who do the work, using real recent cases. Most problems an automation will face are visible on a good map.
A practical mapping session covers:
- Trigger and outcome. What starts the process, and what does "done" look like?
- Steps. Each action, in order, with who does it and in which system.
- Decisions. Every point where someone chooses a path, and the rule they use. If the answer is "it depends", ask on what.
- Inputs and outputs. What data enters each step, in what format, and where it goes next.
- Exceptions. What happens when data is missing, wrong, late or unusual. List them by name, with a rough sense of how often each occurs.
- Owners. One accountable person for the process as a whole, and for each system it touches.
- Pain points. Where work waits, where errors appear and where people keep side spreadsheets.
Then design the to-be process: remove steps that exist only because of old constraints, standardise inputs, and decide which steps are automated, assisted or manual. Simplify first, then automate what remains.
Write both maps, the rules and the exception list into a short requirements document so everyone agrees and any build quote is meaningful. Our software requirements template is a reasonable starting structure.
How should an automation handle bad data and exceptions?
Assume bad data will arrive. Validate every input against clear rules, stop or divert anything that fails rather than passing it on, and send each exception to a named person's queue with the reason attached. An automation that fails loudly is safe; one that quietly writes wrong data into your systems is not.
Good exception handling has a few parts.
- Validation at the entry point. Check required fields, formats, totals, duplicates and reference data (does this customer or supplier exist?) before anything is written anywhere.
- A clear exception queue. Not an error email to a shared inbox, but a list someone owns, showing each failed item, why it failed and what to do next.
- Retry for temporary failures. If a system is briefly unavailable, retry a set number of times before raising an exception, so short outages do not create manual work.
- Idempotency. If the same item is processed twice, for example after a retry, it should not create two payments or two orders. Use unique references to detect repeats.
- Partial-failure rules. Decide what happens if step four of six fails. Does the record roll back, or stay half-done and flagged?
- Feedback into the process. Review the exception list regularly. A recurring exception is a design problem: fix the rule, the form or the upstream system.
Upstream data quality matters as much as validation. Duplicate customer records or product codes that differ between systems need cleaning before, or alongside, the automation.
Where should people stay in the loop?
Keep people in the loop wherever a mistake would be expensive or hard to reverse, wherever an AI step is uncertain, and wherever a customer or employee is affected by a judgement call. Design the human step deliberately: what the person sees, what they can change, and how quickly they can decide.
Three patterns:
- Review before action. The automation prepares the work and a person approves it: a drafted reply, an extracted invoice, a suggested routing. Good for anything with financial or customer impact.
- Review by exception. The automation acts on its own for clear cases and sends only uncertain or rule-breaking cases to a person. Good once you trust the automation's accuracy on a measured sample.
- Sampled review. A person checks a regular sample of completed cases. Good for catching slow drift in AI steps or data quality.
Make the review step easy: show the source document next to the extracted data, highlight uncertain fields, and let the reviewer correct and approve in one place. A clumsy screen pushes people to approve without looking. Set confidence thresholds with the business owner, not the developer alone, because they are decisions about risk.
How do you keep automations secure and auditable?
Give each automation its own service account with the least access it needs, store credentials in a proper secrets manager rather than inside workflows, log every action with a timestamp and reference, and review access regularly. Treat an automation like a staff member with keys to your systems, because that is what it is.
A security and audit checklist:
- Separate identities. Automations should not run under a named employee's personal login. When that person leaves, the automation breaks or keeps their access alive.
- Least privilege. If the automation only needs to read orders and create shipments, it should not be able to delete customers or change bank details.
- Credential storage. API keys and passwords belong in the platform's secure credential store or a secrets manager, never pasted into scripts, spreadsheets or chat.
- Audit trail. Record what the automation did, to which record, when, and on what input. For approvals, record who approved and when.
- Data handling. Know where data goes, especially when an AI step sends content to an external model provider. Check its retention and training terms before sending personal or financial data.
- Change control and reviews. Test and record changes to a live automation, and include automations in your regular access reviews.
For the wider application side, our web application security checklist covers authentication, access and logging in more depth.
How do you measure whether automation is working?
Measure a baseline before you build: how long the process takes, how many cases it handles, its error rate and its turnaround time. After launch, measure the same things the same way, plus the exception rate and time spent on reviews and maintenance. Without a baseline, any claimed improvement is a guess.
What to measure:
| Measure | Before | After | Notes |
|---|---|---|---|
| Volume | Cases per day or week | Same | Confirms you are comparing like with like |
| Handling time | Minutes per case, timed on real cases | Minutes per case including review | Include exception handling |
| Turnaround | Time from trigger to done | Same | Often the biggest visible change |
| Error rate | Rework, corrections, complaints | Same | Define what counts as an error first |
| Exception rate | Not applicable | Share of cases needing a person | Track by exception type |
| Maintenance | Not applicable | Hours spent fixing or updating | Part of the true cost |
Two honest habits help. Measure across a full cycle, because weekly or month-end peaks change the picture and a quiet week flatters any automation. And report the exception rate alongside the savings: an automation that handles only the easy cases may not reduce workload much.
Who maintains an automation after it goes live?
Every automation needs a named business owner who decides how it should behave and a technical owner who keeps it running. Plan for regular maintenance: connected apps change, APIs are updated, screens are redesigned, rules change, and logins expire. An automation with no owner tends to fail quietly.
A maintenance plan covers:
- Monitoring. Alerts on failed runs, rising exception rates and unusual volumes, sent to someone who will act.
- Documentation. What the automation does, which systems and accounts it uses, its rules, and how to switch it off safely.
- A manual fallback. If the automation stops, the team should know how to run the process by hand until it is fixed.
- Scheduled reviews. Check exception trends, AI accuracy on a sample, and whether the rules still match the business.
- Upstream change alerts. When a connected system is upgraded or a form changes, the automation owner should hear about it beforehand.
Limit who may change a live automation to a small, documented group with a review step. For what ongoing support arrangements typically include, see our guide to software maintenance and support.
When should you not automate a process?
Do not automate a process that is unstable or broken, rare, mostly judgement, or so exception-heavy that people handle most cases anyway. In those situations automation adds cost and complexity without removing much work. Fix, standardise or simply document the process first, and revisit it later.
Specific warning signs:
- The process is changing. A new ERP is coming, the team is being reorganised, or the pricing model is under review. Wait.
- The process is broken. If people disagree on how it should work, or the current output is often wrong, automation will produce wrong output faster.
- It is rare. A task done a few times a year rarely repays the build and maintenance. A clear checklist is the better tool.
- It is mostly judgement. Negotiating a contract or handling a sensitive complaint. Software can gather information, but the work is the judgement.
- Exceptions are the norm. If most cases need special handling, start by reducing the variety, perhaps with a standard form or clearer policy, before automating.
- An off-the-shelf product already does it. If a standard tool solves the whole process, buying may beat building. Our guide on custom software vs off-the-shelf covers that decision.
"Not yet" is a valid outcome of the scorecard, and it usually points to the fix that would make automation possible later.
What does a 30/60/90-day automation plan look like?
Spend the first 30 days choosing and mapping one process and measuring its baseline, the next 30 building and testing a first version with real cases, and the final 30 running it live with close monitoring, then deciding whether to expand. One well-run automation teaches more than five half-finished ones.
Days 1 to 30: choose, map and measure
- List candidate processes with the teams that run them, score each, and pick one, ideally scoring 28 or above.
- Map the as-is process with the people who do it, including exceptions and owners.
- Time a sample of real cases to set the baseline.
- Design the to-be process and decide which steps are automated, assisted or manual.
- Name the business and technical owners, and confirm system access.
Days 31 to 60: build and test
- Choose the approach for each step: workflow tool, RPA, AI step or custom integration.
- Build the first version with validation, the exception queue and logging from the start.
- Test with a set of real past cases, including known awkward ones.
- Run it in parallel with the manual process where possible, comparing results.
- Write the runbook: how it works, how to monitor it and how to switch it off.
- Train the people who will review exceptions.
Days 61 to 90: run, measure and decide
- Go live for a limited scope, such as one supplier group, one region or one channel.
- Watch the exception queue and failure alerts closely, and fix recurring problems.
- Measure the same things you measured for the baseline, and review them with the business owner.
- Decide: expand the scope, improve it further, or stop. All three are legitimate outcomes.
- Pick the next candidate from your scored list.
It is the same thinking as scoping an MVP: build the smallest useful version, learn from real use, then grow.
What should you ask an automation partner before you start?
Ask how they choose processes, how they handle exceptions and failures, who will own and maintain the automation, how they secure credentials and data, how they will measure results against a baseline, and what happens if you change partner later. Their answers show whether they build for the long run or only for the demo.
Useful questions, grouped:
Approach
- How do you decide whether a process should be automated at all?
- Which approach would you use for each step, and why not the alternatives?
Reliability
- How will the automation validate inputs and handle exceptions?
- What happens when a connected system is down or changes?
- How will we know when something fails, and who gets the alert?
AI steps
- Where do you use AI, and how do you handle uncertain results?
- Where does our data go, and what are the model provider's retention terms?
Security and ownership
- Which accounts and permissions will the automation use, and where are credentials stored?
- Who owns the workflows, code and documentation at the end?
- Can our own staff, or another partner, maintain it without you?
Measurement and support
- How will you measure the baseline and the result?
- What does ongoing support include, and how are changes priced?
A partner who mentions limits unprompted, and sometimes advises against automating, is usually safer than one who promises everything. For a broader checklist on vendors, see how to choose a software development company.
If you want help applying this framework, our AI & Automation service covers process mapping, workflow and integration builds, AI document extraction and classification with human review, and ongoing monitoring. We start with one measurable process before suggesting a second. Get in touch to talk through the process you would like to automate first.