Guides · Custom software

Automating an approval workflow with audit history

An approval workflow brings requests together and shows who needs to decide and what comes next. Its rules determine when to send a reminder and how to record the decision.

Define the path from request to decision

Choose one recurring decision, such as approving an update to a service page. The request stores the link, the proposed change, the owner, and the reply deadline. After required fields are checked, it moves to Pending approval.

Decide which transitions are allowed. A reviewer can approve, return the request for revision, or close a withdrawn request. For revisions, retain the decision and the version the reviewer saw. Route the updated version for a fresh review.

Check the current state before sending

In the example, a pending request gets one reminder at its deadline. The scheduled job reads the current state before sending. Approval cancels the reminder. If the job runs twice, the request ID and reminder time identify the duplicate.

Record who approved the request, when, and which version they saw. This makes it possible to review a decision after the underlying content has changed.

Try the normal path and the exceptions

Test one request approved on time, one returned for revision, and one with no reply. Try approval from an account without permission. Check access at the point of action, including when someone follows a direct link.

Run the reminder check twice for the same deadline and verify that one notification is sent. Then approve the request and run it again. The expected result is an updated decision history and a request that has left the pending queue.

Which approvals are worth automating?

  • Spending or purchases above a set amount.
  • A customer discount beyond what a salesperson may give alone.
  • Publishing or changing content on the website.
  • Taking on a new supplier, with their documents.
  • Time-off requests or shift changes.

Start with an approval that happens every week and has a clear rule for who approves. An approval that goes to a different person each time, by judgment, is better left manual for now.

Which tool do you build it in?

WayWhen it fitsWatch out for
An approval flow in a system you already useThe request already lives there, such as a CRM or task systemWhat happens when the approver doesn’t use that system
A form and an automation toolYou need to connect email, a sheet and one or two systemsWho sees failures, and where the decision log is kept
A custom toolThere are several approval stages, permissions or documentsDevelopment and upkeep

On the differences between automation tools, see n8n, Make or Zapier.

An approval workflow brief

Sample request
Pick one document or change that requires a decision and list what the reviewer needs.
Responsibilities
Name who submits, who can approve, and who handles overdue requests.
States and history
Define allowed transitions and the details to retain for each decision.
Acceptance checks
Try a valid request, a revision, an unauthorized approval, and a repeated reminder run.