Sandbox build ยท Slack, Bolt for JavaScript, TypeScript

Requests and approvals in Slack, with rules, delegates and a CSV audit log

A Slack app that routes requests by rules, shows the route before sending, hands off to delegates and logs every change.

Requests and approvals in Slack, with rules, delegates and a CSV audit log

  • The bottleneck

    A request for money, software or time off often starts as an email or a chat message and then wanders. The requester does not know who has to say yes, or in what order. An approver on holiday holds everything up. A small purchase waits days for a CFO who never needed to see it. Nobody can say afterwards who approved what, and when.

  • The fix

    I built a Slack app that runs on Azure, with a Postgres database. An admin defines each request type once: its form and its approval rules. Before sending, the form shows the requester who will approve. Approvers get a card in their direct messages. When two share a step, the first answer counts and the other card updates to say who decided. A delegate gets the cards of an approver who is away. A step past its time limit adds the approver's manager, whose approval alone settles it. Every change goes into an audit log that an admin can export as CSV for a chosen period.

  • What changes

    Over six test runs, all 8 cases passed. Four of them post to a real Slack sandbox. In one test, a 25,000 purchase went to the Manager, then Finance, and skipped the CFO step, needed only above 50,000. In another, the other approver's card updated 347 to 370 ms after the first approval, against a 5 second bar. In the export test, the CSV matched the log for 23 of 23 events, field by field. The approvers were fictional people in a one-person sandbox, so it is not proven with a real team. The escalation test moved the clock forward instead of waiting a day.

    Safeguard: The database is set to refuse any edit to the audit log.

Requests and approvals in Slack, with rules, delegates and a CSV audit log

What I built

Slack, Bolt for JavaScript, TypeScript, Azure Container Apps, PostgreSQL

A purchase request for DKK 25,000 marked approved, with the Manager and Finance decisions listed and the CFO step skipped.

Product names and logos belong to their owners. Privacy