Process Automation | Tools
How to Monitor Automations in Production: Logs, Alerts and Metrics
· 7 min
An automation can run in production every day, without a single error, and still be doing the wrong job. The dashboard is all green. Orders keep flowing in. They just arrive without a delivery address.
Automation monitoring is the discipline that closes that gap. It is not the same as error handling. Error handling decides what a workflow does when something breaks. Monitoring tells you, at any moment, whether the workflow is delivering the business outcome it was built for.
This article covers the three parts of that discipline: which logs to keep, which metrics to track and which alerts deserve to interrupt someone.
Why "no errors" is not enough
Most automation platforms measure one thing: whether a run finished or crashed. That is a technical measure. It says little about the business.
Google's Site Reliability Engineering book draws a useful line here. In its chapter on monitoring distributed systems, it separates explicit errors from implicit ones. An explicit error is a request that fails. An implicit error is a request that "succeeds" but returns the wrong content.
In process automation, implicit errors are the expensive ones. A field renamed in an API. A supplier PDF with a new layout, where the total is now read as zero. A filter that, after a small change, lets half the records slip through.
None of these shows up as a failure in the run history. You only see them if you measure the outcome.
Logs: what to record and for how long
There are two kinds of record, and it pays to keep them apart.
The platform run history is what n8n, Power Automate or Make store for each execution: the data going in and out of every step. It is excellent for debugging. It is a poor permanent record, for two reasons.
The first is retention. The n8n documentation on execution data states that, by default, executions are pruned after 336 hours (14 days) or once they exceed 10,000 records, whichever comes first. For Power Automate, Microsoft confirms that cloud flow run history is kept for 28 days and then deleted.
If someone asks in July whether a March invoice reached the ERP, the platform history can no longer answer.
The second is content. Run history stores the full payload, often including personal data. Keeping it for years creates a GDPR problem you do not need.
The business log
The alternative is a business log: one row per processed item, written by the workflow itself into a table you control. A PostgreSQL database, a SharePoint list or, for small volumes, a spreadsheet.
Each row needs very little:
- item identifier (invoice, order or ticket number);
- workflow name and version;
- start and end time;
- outcome: completed, business exception or technical error;
- reason, when not completed;
- link to the platform execution, while it still exists.
Log identifiers, not contents. The invoice number is enough to find it in the ERP. The customer's VAT number and address do not belong in the log.
The table takes about an hour to set up and becomes the source for every metric below.
Five metrics that tell you whether an automation works
You do not need dozens of metrics. For most SME workflows, these five are enough.
1. Volume against expectation. How many items came in today, compared with the average for the same weekday. A sudden drop almost always means something stopped reaching the workflow, not that the business stopped.
2. Straight-through rate. The share of items completed without human intervention. It is the closest proxy for the automation's real value. If it started at 95% and slides to 80%, the automation is handing work back to the team.
3. Age of the oldest pending item. More useful than average processing time. A four-minute average can hide an order that has been stuck for two days.
4. Exception queue. How many items are waiting for a person, and for how long. A queue that grows every week means the workflow's rules no longer match reality.
5. A process-specific quality metric. The one that catches implicit errors. For invoice automation: the share of invoices posted with a zero total or a generic supplier. For orders: the share without an address or tax number. It is different for every process, and it is the one most often missing.
Metrics 2 and 4 are also the basis for measuring return. If you have not done that yet, our guide on how to calculate automation ROI shows how to turn the straight-through rate into hours and euros.
A worked example
Take a workflow that pushes orders from an online shop into the ERP. The figures are an illustrative estimate, not a measurement.
The shop receives around 120 orders a day. On a Monday, the e-commerce platform renames the delivery address field in an API update. The workflow keeps running without errors, but 35% of orders (those using the new format) now reach the ERP with no address.
Without outcome monitoring: run history shows a 100% success rate. The problem surfaces on Thursday, when the first customers complain their parcel never arrived. Four days: 4 × 120 × 35% ≈ 168 orders to fix by hand, plus re-shipments.
With metric 5 in place: the share of orders without an address jumps from roughly 1% to 35% within the first hour. An alert fires by late Monday morning. Some 20 to 40 orders are affected, and they are fixed before leaving the warehouse.
The workflow is identical in both cases. The only difference is what someone decided to measure.
Alerts: what deserves to interrupt someone
This is the most common mistake: turning every metric into an immediate alert. The result is an inbox full of warnings nobody reads.
The same Google chapter is blunt. Every alert that pages a person should be actionable, and should require intelligence. If the response is always the same mechanical step, it should not be an alert; it should be automated. The book also notes that email alerts are of very limited value, because they are rarely read.
In practice, three tiers work well:
- Immediate. To a named person, on a channel they actually watch (Teams, Slack, SMS). Only for symptoms that hit customers or money: zero volume during hours when there should be activity, a quality metric outside its normal range, urgent items in the exception queue.
- Daily digest. A 9am message with yesterday's numbers: volume, straight-through rate, open exceptions. Nobody has to act, but everyone sees the trend.
- Weekly review. Fifteen minutes to look at how the five metrics are moving and decide on adjustments.
Two details make a real difference. First, thresholds should be relative to history, not fixed numbers. "Volume below 50% of the last four Mondays' average" ages better than "fewer than 60 orders". Second, alert on symptoms (the customer is not served), not causes (the API was slow). Causes are for the investigation that follows.
How to make sure alerts carry enough context, and that failed items are not lost, is covered in our piece on what happens when an automation fails. We will not repeat it here.
Which tools to use
For an SME, the honest answer is: fewer than you think.
n8n has an Insights dashboard showing production executions, failures, failure rate and time saved per workflow. The seven-day summary is available on every edition. According to the documentation, the full dashboard is only on Cloud Pro and Enterprise, or self-hosted Business and Enterprise. The documentation does not describe alerting from it. It is useful for the weekly review; it does not replace the business log.
In Power Automate, flow run history can be stored in a Dataverse table, with retention configurable beyond 28 days. There are three conditions: it only covers solution-aware flows, it consumes paid storage capacity, and Microsoft itself warns that this copy is not guaranteed to be lossless. It is fine for analysis, not as a record of proof.
What works in most cases we see is simple: the business log in a table, a scheduled workflow that calculates the five metrics and sends the daily digest, and two or three immediate alert rules. Tools such as Grafana pay off when they already exist in the company, or when you run dozens of workflows.
What monitoring does not fix
It is worth being clear about the limits.
Monitoring fixes nothing. It only shortens the time until someone knows. Without a person responsible for acting, the best dashboard in the world achieves little.
The quality metric requires knowing the process. Nobody configures it by default, and it needs revisiting whenever the process changes.
And monitoring has a cost: set-up time, a table to maintain, fifteen minutes a week. For a workflow that sends an internal summary on Fridays, it is probably not worth it. For one that posts invoices or orders, it pays for itself at the first incident.
If you are assessing a partner, ask to see how they monitor automations they already run in production. It is one of the questions in our guide on what to demand before automating critical processes.
The decision for this week
Pick the most important automation you have running. Answer one question: which metric would show it is doing the wrong job without throwing an error?
If you cannot answer, that is where proper automation monitoring starts.