An automatic decision states its reasons (known supplier, critical fields confident, rate card matched) instead of showing a number you are asked to trust. Anything that fails a check waits for a person, with the failed check named.
From a processed document to an action
Automation starts where processing ends: with a document that has been read, classified and extracted, and whose values have been checked against the page. From that point, these are the parts that can act on it, and where you see each one at work.
- A document is processedRead, classified, extracted, and its values checked against the page.
- Rules runRaise an alert, tag the document, change its status or draft a reply.
- Invoices meet auto-approvalApproved with the checks it passed written on it — or held for a person, with the checks it failed.
- Alerts, the pipeline and the email queueIn the product, by email through your SMTP server, and on the pipeline board.
- Out to other systemsWebhooks, and ERP and CRM sync.
| Part | What it does | Where you see it |
|---|---|---|
| Rules | Run as each document is processed and when an email arrives: raise an alert, tag the document, change its status or draft a reply. | Rules |
| Auto-approval | Tests each invoice against named checks, then approves it or holds it for a person, with the reasons written on it. | The invoice record |
| Alerts | Raised by rules, by processing and by scheduled checks, including pipeline deadlines. | Alerts, and the bell in the header |
| Pipeline | Moves each shipment a stage as its documents arrive, and raises an alert when a stage runs past its SLA. | Pipeline |
| Email queue | Holds the replies rules drafted until a person sends or discards them. | Email queue |
| Other systems | Webhooks, and ERP and CRM sync, carry the results out. | Settings → Integrations |
| Audit log | Records each change to documents, suppliers, payments, shipments, rules, organization settings and the ERP connection, and who or what made it. | Audit log |
Rules: a trigger, conditions and actions
A rule reads when this happens, if that is true, do this. The editor draws it as a flow chart: a trigger, then conditions (combined into AND or OR groups when one test is not enough), then actions. The true and false branches are separate, so one rule can alert on a high-value invoice and handle everything below the threshold differently. Admins and Editors can manage rules.
| Trigger | When it runs |
|---|---|
| Document read | For every document, once it has been read, classified and extracted. |
| Extraction complete | At the same point, for documents that produced extracted fields. |
| Document processed (ready) | After the document has been indexed and has its final status. |
| Email received | When an email with at least one supported attachment arrives in a connected mailbox. A message without one is left alone, so no rule sees it. |
The first two run again when a document is re-extracted, so one document can trigger a rule twice. Document conditions test the type, status, supplier, file name, ingestion source or any extracted field, such as the gross amount. Email conditions test the subject, sender, sender domain, body and whether there is an attachment (which, for the messages a rule sees, is always true).
A document rule can Create alert at Info, Warning or Critical, with a title (left blank, it reads rule name: document name) and a description that can carry placeholders such as {{supplier}} or {{extracted.gross_amount}} — a placeholder that cannot be filled is left as written. It can Set tag, or Set status to a status code you type: most usefully needs_review, which queues the document for a person with the rule named as the reason. An approval status (approved, rejected, on_hold, ready and the rest) is refused when the rule is saved. An Email received rule can Draft email reply, Send email reply or Create alert. A rule that fails is logged and skipped; it never stops the document. The rules chapter walks through the editor.
Auto-approval and the reasons it writes
Every processed invoice is tested against a list of named checks; the table shows the main ones. If every check passes and auto-approval is switched on, the invoice becomes Auto-approved and the checks it passed are written on the record. If any check fails, the invoice is held for approval and the failed checks are written instead. The invoice record shows the note in its Auto-approved or Flagged for review panel.
| Check | Passes when | Written on the record |
|---|---|---|
| Known supplier | The invoice is linked to a supplier record, and the name printed on it agrees with that record. | known supplier "…" (name agrees), or unknown supplier |
| Confidence | The extraction as a whole scores at least 90%, and every critical field present at least 85% — amounts, currency, supplier name, invoice number, issue and due dates. Gross amount, currency, supplier name and invoice number must be there. | critical fields confident, or low confidence on vat_amount (61%), missing currency |
| Supplier trust | Once a supplier has history (20 corrections, or 20 auto-approvals in the last eight weeks), its trust is at least 50%. Corrections raise it; recent wrong auto-approvals lower it. | supplier trust 80%, or before that history exists insufficient trust signal (trust gate skipped) |
| Rate card match | If the invoice’s supplier and lane match a rate card, its net amount is within the card’s tolerance, whatever the settings. With Require Rate Card Match switched on, it must have a matching card as well. | rate card match, no matching rate card, or amount exceeds rate card tolerance (…) |
| Linked CMR | Only if enabled in the server configuration: a CMR is linked to the invoice’s shipment. | CMR linked, or no linked CMR |
| Approval threshold | Only if your organization sets an approval threshold: the gross amount does not exceed it. Above the line a person signs, never the pipeline. | within approval threshold, or above approval threshold (… > …) |
This is the design rule that matters: no opaque score. The note is the decision: a list of named checks, not a number you are asked to accept. The thresholds are defaults in the AutoApproval section of the server configuration. If you have no active rate cards at all, the rate-card check passes and says so. Require Rate Card Match is one of the processing rules:
Settings, then Document intake, then Processing rules
The same tab holds Auto-Approve Invoices, the switch for all of this. A new organization starts with it off. While it is off every invoice is still checked, but none is auto-approved: each waits for a person, with a note that begins Pending approval: auto-approval is switched off for this organization and goes on to name any check that failed.
An invoice that does not match the order it bills is not one more failed check: it goes On hold with the mismatch written as the reason, and only a person with a reason gets it past. A held invoice is not forgotten. One held only because its supplier was unknown is checked again as soon as a supplier is linked, and a daily sweep re-checks invoices that are Ready, Pending approval or Approved. An On hold invoice is checked again when it or its order is corrected, and a corrected match lifts the hold. An invoice a person has already approved is never downgraded.
When a document does not pass
There are two queues, for two different questions. Pending approval is the authorization queue: the data may be right, but the invoice failed a check, so a person decides whether it should be paid. Needs review is the data-quality queue: something about what was read is in doubt (the document type, a value that failed validation or is not on the page, which party is which), or a rule sent it there.
Either way the document opens with a Needs attention panel that names each problem, with a How to fix: line under it. A held invoice reads Auto-approval declined: followed by the failed checks, and the fix is to resolve them (link the supplier, correct weak fields) or approve manually. A document in review lists its recorded reasons, such as Flagged by a rule with the rule’s name beside it. Correcting a field that was read wrongly has its own guide.
Alerts: raised, streamed and emailed
Alerts come from your rules, from processing (a document that failed, a poor scan, an exact duplicate) and from scheduled checks for overdue payments, missing documents, rate-card deviations, suspected duplicate invoices, expiring contracts, companies at risk and stalled shipments. Each has a severity: Info, Warning or Critical.
Most alerts are for the whole organization. Two kinds are not: an alert addressed to one person, such as an assignment or a mention, is theirs alone, and an alert about a private document is for its uploader and the Admins. Every channel below keeps to that.
- Live, in the app. New alerts stream to everyone signed in to the organization who may read them, except to a person who switched that event off. The unread count on the bell rises and a notification appears on whatever page is open. The Notifications switch on the Alerts page adds desktop notifications in that browser.
- By email, once you switch it on. Alert email is off until enabled. It then goes to the recipients you list (or, if you leave the list blank, to the first account created in the organization that is still active) for alerts at or above the minimum severity, Warning and critical by default. A recipient is left out when the alert is not for them, when they switched its event off, or when their account is inactive: deactivated, or invited and not yet accepted. An address that is not an account in the organization, such as a shared mailbox, gets neither of the two kinds. It is sent through your own SMTP server, at most once per alert type to each recipient every 15 minutes.
- To other systems. Every alert for the whole organization is also sent as an
alert.createdwebhook event, with its type and severity in the payload. Neither of the two kinds is sent: a webhook feeds another system, and Logley cannot tell who reads it.
Settings, then Email, then Alert emails
Under Settings → My account → Personal, everyone can turn events off for themselves, in the app and by email. There are nine: overdue invoices, warning alerts, critical alerts, missing documents, rate-card deviations, expiring contracts, contract notice deadlines, company health drops and issued invoices not sent to the ERP. Off in the app, an event raises no notification and stays out of the count on the bell, though the Alerts page still lists it. An alert stops when either its own event or its severity is switched off. The switches only take away: turning email on adds no one to the recipients above. The settings chapter describes each switch.
Pipeline deadlines
On the pipeline board each shipment sits in a stage, and each stage has an SLA in hours. A daily check measures how long every shipment has been in its stage. Past the warning point it raises a Warning alert; past the critical point it escalates that same alert to Critical instead of adding a second one; when the shipment moves on, the alert for the stage it left is resolved. A confirmed transport order with no transport documents is reported as unfulfilled, and becomes critical once its loading date has passed.
By default the warning comes at half the SLA and the critical point at twice it. Administrators set all three per stage:
Settings, then Monitoring, then Transaction SLA
A shipment normally advances as its documents arrive. Anyone allowed to change shipments can also advance one from its card, and the stage history records whether each move was manual or automatic. The pipeline chapter explains the board and its views.
Replies: drafted, then sent by a person
When an inbound email matches a rule with Draft email reply, Logley writes a reply from a template and parks it in the email queue. It stays there until a person opens it, checks the To, Subject and Body, and chooses Send Reply or Discard. A reply that still contains an unfilled placeholder cannot be sent, either from the screen or through the API.
A Send email reply action sends without review, but only when Automatic replies is switched on under Settings → Document intake → Mailboxes. That switch is off by default. With it on, a Send email reply never answers no-reply or system addresses and sends at most one automatic reply per sender every 15 minutes; the switch also governs the receipt sent to someone who emails a document in, which has neither limit. Separately, whenever outgoing mail is configured, approving or rejecting an invoice emails the supplier a notice — the Approval notification and Rejection notification under Settings → Email → Reply templates.
The email queue chapter covers reviewing drafts, and connecting a mailbox sets up the mail coming in and going out.
The watchlist and the dashboard
The Watchlist is your own shortlist of companies, routes and shipments: add one from its own page with Watch, Watch route or Watch shipment, and remove it with Unwatch. It is per person and changes nothing about processing or alerting — a watched supplier’s documents are handled exactly like everyone else’s. The dashboard gathers the same threads into widgets for each workspace, among them Recent Alerts, Overdue Invoices, Watchlist and Transaction Pipeline.
Each has its own chapter: the watchlist and the dashboard.
Straight-through processing: the measure
The STP page is the scoreboard for all of this. An invoice counts as straight-through when it was auto-approved and nobody had to correct it afterwards. The page reports Overall STP, Repeat-Supplier STP (suppliers with at least five processed invoices, the figure that should be high) and the Approval-Error Rate: auto-approvals later corrected, or marked incorrect in the page’s own audit sample. The targets are 80%, 90% and under 2%.
The rates are recomputed daily over the last sixteen weeks, so a correction made today can turn an earlier straight-through invoice into an approval error. Admins find the page under STP; the STP chapter explains each figure.
What leaves Logley
| Channel | What goes out | Set up in Settings under |
|---|---|---|
| Webhooks | The events you subscribe to (such as invoice.auto_approved, invoice.pending_approval, document.needs_review and alert.created), each signed with the webhook’s secret. None is sent about a private document. | Webhooks |
| ERP sync | In the directions you choose: each supplier invoice a person approves (as a vendor bill) and each invoice or credit note you issue, as they happen; and every four hours, suppliers and vendor bills in and payment status out. | ERP |
| CRM sync | On the interval set for each connector. | CRM |
| Alert email | Alerts at or above the minimum severity, to your recipients. | Alert emails |
| Supplier notices | An approval or rejection notice, whenever outgoing mail is configured. | Reply templates |
| Automatic replies | Send email reply actions and ingestion receipts, only with the switch on. | Mailboxes |
Each reaches only the host you configure for it. API and webhooks covers subscribing to events and checking their signatures.
Finding out why something happened
- On the record. An invoice carries its approval note, a document in review lists its reasons, the Needs attention panel names each problem with its fix, and a shipment’s stage history shows whether each move was manual or automatic, and what triggered it.
- In the audit log. Each change to documents, suppliers, customers, payments, shipments, issued invoices, rules, rate cards, the ERP connection and organization settings is recorded as it is saved, with the values before and after and who made it: a named person, an Agent (an API key, under the name it had at the time), the Assistant acting for a person, or System for a background job. API keys and the assistant in the chat only read, so the changes you find there are people’s and the system’s.
- In the rule list. Each rule shows how many alerts it has raised: one that never fires is mistargeted, and one that fires constantly is too broad.
The audit log is for Admins, and it opens on today’s date: move From back before concluding that nothing happened. The audit log chapter covers filtering and export.
Limits
Auto-approval will not pass an invoice on a value the page does not support: such a value is flagged, its confidence is capped below the approval floor, and the invoice is held. A rule condition, though, reads an extracted field as it stands, flagged or not — so leave decisions about money to auto-approval.
- Approval belongs to people and to auto-approval, not to rules. Auto-approval writes its reasons on every record. A rule’s Set status refuses approval statuses, and records a reason only for
needs_review. - It is not a general workflow engine. There are four triggers and the actions above — no schedules, loops, custom code or calls to other systems. Anything further is work for the API and webhooks.
- Scheduled checks run daily. An overdue payment, a missing document or a stage past its SLA is found by a check that runs once a day, not at the moment it happens.