An open-source approval workflow app for small and mid-size teams, built with Next.js, TypeScript and PostgreSQL. Admins build request types such as expense claims, purchase requests, time off, contract sign-off and software access with their own forms and approval chains, and approvers decide from a Waiting for me inbox with delegation, reminders, an audit trail, reports and CSV export.
by Light CloudInventory and operations, Invoicing and finance


The app is built on the Next.js SaaS starter's accounts, settings and admin, with the approval rules in src/lib/approvals and the chain logic unit-tested. Requests already in progress keep the chain they started with when an admin changes a request type, and nobody can approve their own request, even as a delegate. Reminders run on an in-app timer and when pages are viewed, so on hosting that sleeps when idle, such as Light Cloud's default, they go out on the next visit unless CRON_SECRET and a scheduler are set. Attachments on disk or in S3 and email through Resend are built but not yet tested against real services, and approval steps are reordered with up and down buttons rather than drag and drop. The first sign-up takes over the demo's Operations Manager seat, so signing up with exactly claire.thompson@leeds-engineering.example fails until it is claimed.
Use the Expense claim type it comes with, or build your own under Settings, Request types: add the fields (date, category, amount, receipt), then the steps (line manager, then Finance, then a director over £500). Put people in the Finance and Directors roles under Settings, Approver roles and set line managers under Settings, People.
Yes. Each step can have an amount rule, so it only applies when the request's amount is over the value. The purchase request starts as line manager, then Finance over £1,000, then a director over £5,000, and steps below their threshold show as skipped.
Approvers set out-of-office dates and a delegate under Settings, Your account, and admins can set it for anyone. On those days waiting approvals also appear in the delegate's inbox, labelled with whose they are, and the audit trail records that the delegate decided on their behalf.
They run on an in-app timer and when pages are viewed, so a sleeping host sends them on the next visit. For reminders on time, set CRON_SECRET and have a scheduler call POST /api/cron/reminders every 15 minutes; add RESEND_API_KEY to email them as well.
Yes. This Next.js and PostgreSQL template is MIT licensed and runs on any Node.js host with PostgreSQL once DATABASE_URL and AUTH_SECRET are set, or on Light Cloud in one click, with no third-party keys needed.