AWRA OpsHub Search
Automation insights
Success rate Failing workflows Exceptions

A workflow that fails once fails on every event after it.

Automation is the module nobody watches, because when it works there is nothing to see. Automation Insights watches it for you: how many runs succeeded this week, which workflows keep failing, which runs are stuck, which exceptions nobody owns, and which tasks a workflow handed to a person are now late — and it tells you which of those to fix first.

Automation pulse · last 7 days Computed
Success rate 91.4%
Failing workflows 1
Open exceptions 3
Fix first The failing workflow

Written by the model, from the figures above

“Most runs are succeeding, but one workflow has failed on its latest run and will fail again on the next event — open its last failed run before anything else.”

If no provider is configured, the amber panel is simply absent. The figures above it do not change.

The signals

Four things it works out, and exactly what counts.

Every figure uses the same definition as the Automation Overview and the screen it opens, so the insights card, the overview and the run logs never give you three different answers.

Success rate over seven days

Successful runs out of every run started in the last seven days, with today’s count beside it. A rolling week rather than all time, because a workflow fixed on Monday should stop dragging the number down by the following Monday.

Failing workflows, not failed runs

A workflow counts as failing when its latest run this week failed or got stuck, or when it failed a quarter of at least four runs. The unit is the workflow on purpose: forty failed runs from one broken step are one problem, and a count of runs would make it look like forty.

Stuck runs

A run still marked running thirty minutes after it started is counted as stuck. The insights read it as stuck without rewriting it — looking at a summary never changes the record underneath.

Exceptions and tasks waiting on a person

Open exceptions, with how many are critical and how many have no owner; workflow tasks past their due time; and the average time from an exception being raised to it being resolved over the last thirty days. These are the places an automation stops being automatic.

One recommendation, in a fixed order

The card names one thing to do, and the order is fixed rather than scored: a failing workflow first, because it repeats itself on every event; then critical exceptions; then stuck runs; then exceptions with no owner; then overdue workflow tasks. Each recommendation links to the filtered screen where the work is done. Beside it sit a score and a separate confidence — a workspace with three runs this week gets a low confidence however clean its score looks.

How the engine works

The numbers are not from the model. The sentence is.

This is the single most important thing to understand about Automation Insights, and it is the thing most “AI analytics” pages are careful not to say. Every figure on the page — every count, every total, every flagged record — is computed by an ordinary database query against your own data, with thresholds you control. A language model is used for exactly one job: turning that computed result into a paragraph a person can read quickly.

1 · The facts are queried

Counts, totals, ages and comparisons, run against your workspace under the same workspace scoping as every other screen. This step is deterministic: run it twice on unchanged data and you get the same answer twice. If the engine says nine invoices are overdue, nine rows matched.

2 · Your thresholds decide what counts

What makes a request stale, a cost a spike, an entry large or a balance overdue is a number in your settings, not a judgement in a model. The defaults are listed below. Change one and the flags change with it, immediately and predictably.

3 · The narrative is written last, and only when there is something to say

Only then is a short plain-language summary generated from those facts. It is written on a background job so the page never waits for it, and it fails soft: if no provider is configured or the request fails, the summary is simply not there and every number on the page is unaffected.

The narrative is keyed to the facts it was written about

The summary is stored with a fingerprint of the exact figures it was generated from. When those figures move, the fingerprint no longer matches and the summary is regenerated rather than served stale. This closes the failure that makes cached AI commentary dangerous: a confident paragraph describing last week, sitting directly above this week's numbers, with nothing on the screen indicating the two disagree.

Results are cached per workspace for a window you set — fifteen minutes by default — so the page is fast without being out of date, and a refresh action clears it when you want the current picture immediately.

The Automation thresholds, and what they ship as

These are the actual settings behind the flags on this page. They are per workspace, they are yours to change, and the defaults are chosen to be defensible rather than dramatic — an engine tuned to flag everything on day one is an engine nobody reads by day three.

Setting Ships as What it decides
cache_minutes 15 How long a computed result is reused before it is worked out again. The refresh action clears it immediately when you want the current picture.
modules_enabled automation: true Whether automation contributes to insights at all. Switched off, the page, the insights bar, the overview card and the mobile card go with it — the workflows themselves keep running.

Every flag carries the way to act on it. A finding is not a number on a dashboard you then go hunting for — it is rendered with a label and a link to the screen where the work is done. An insight you cannot act on from where you are reading it is a report, and you already have reports.

Stuck and failing are fixed rules today. Thirty minutes makes a run stuck, and a quarter of four or more runs makes a workflow failing, in every workspace. They are not yet settings in the table above — making them yours is in the ledger below.

Worked example

The approvals that stopped routing on Friday.

A purchase-order approval workflow broke when an approver left. Nobody noticed, because a workflow that does not fire looks exactly like a quiet week.

Monday 08:40 · The bar says one workflow is failing

The insights bar at the foot of the workflows screen reads 1 failing, success rate down to 74%. The recommendation is the failing workflow, with a link to its failed runs.

08:42 · The last failed run names the step

Every PO raised since Friday failed at the same step: the approval task was being assigned to a deactivated user. Eleven runs, one cause — which is why the card counts workflows, not runs.

08:50 · Fixed once, retried once

The step is pointed at the role instead of the person, and the failed runs are retried from the run log. The eleven purchase orders reach their approvers before the morning is out.

09:00 · The rest of the list is smaller than it looked

With the failing workflow cleared, the recommendation moves on to the two exceptions nobody owned. They are assigned, and the week starts with nothing silently broken.

Before you rely on it

What this reads, and what it does not pretend to be.

Automation Insights — the position

What AWRA OpsHub does today

  • A seven-day success rate across every workflow run, with today’s runs beside it.
  • Failing workflows counted per workflow, from a failed or stuck latest run or a failure share of a quarter over four or more runs.
  • Stuck runs — still running thirty minutes after they started — read without the record being rewritten.
  • Open, critical and unowned exceptions, overdue workflow tasks and the average time to resolve an exception.
  • One recommendation in a fixed order, linked to the filtered screen where the fix is made.
  • The same figures as the Automation Overview, from one shared calculation, so the two cannot disagree.
  • An insights bar on every workflow screen, a page of its own, and a card in the mobile app.
  • A per-workspace switch under AI modules that closes every one of those at once.

More we can add to your workspace

  • Your own thresholds for a stuck run and a failing workflow, set per workspace instead of the fixed thirty minutes and quarter-of-four.
  • Connector and webhook health inside the insight card — it is on the Automation Overview today, shown only to people who manage integrations.
  • A per-workflow trend over weeks, so a workflow drifting from 99% to 90% is visible before it is failing.
  • Time saved by each workflow, estimated from its runs and the manual step it replaced.

Where we point you to a specialist

  • We do not switch off, edit or re-run a failing workflow on our own. The card tells you which one is failing and why; changing what an automation does to your records is a decision for a person in your organization.
  • We will not present the model’s prose as a finding. The paragraph is a reading aid over figures that stand on their own; if the two ever disagree, the figures are what happened.

The middle column is work on top of an engine that already computes, caches and links. If your own stuck threshold or a per-workflow trend is the row that would change your week, tell us.

Help Center

Need a quick answer while you read?

Run inventory, procurement, assets, sales, and field work with approved AWRA guidance for setup, migration, integrations, security, pricing, and support.

Search all approved AWRA public help articles.

Open Help Center