Leave Management
14.5
Days you have left
2
Coverage conflicts
3
Single points of failure
6
Deputies active
October 2026, payments team
What matters here
- A leave tracker worth building is four parts: requests and balances, a responsibility map, a coverage check at request time, and activated deputies.
- Balance is the easy half. The question that matters is whether a responsibility is left uncovered, and only a responsibility map can answer it.
- Run the coverage check before approval, not after. A clash found the week before is a rota problem, and one found on the day is an incident.
- A deputy who is not activated in the systems that matter is a name on a document. Approval routing has to actually move.
- Public holidays vary by location and quietly break every naive leave calculation.
- A manager needs to see who is away. Almost nobody needs to see why. Getting that line right is most of the access design.
Who this is for
You run people operations, or you manage a team where certain responsibilities sit with one or two named people. What you want is for leave approval to consider coverage automatically, and for deputies to actually take over.
How it works in practice
What happens when somebody books a week off, and what the app knows that a shared calendar does not.
- 1
A request is checked against the balance
Entitlement, accrued, taken, booked but not yet taken, and remaining, calculated against that person's own working pattern and public holidays.
- 2
And against what they are responsible for
Every responsibility they hold is checked for cover across the whole requested window.
- 3
The clash is shown to the requester first
Before it reaches the approver. Most people move a day when they can see the problem themselves.
- 4
An approver sees coverage next to the balance
Plus the team calendar for that window, so it is one decision rather than two lookups.
- 5
Conflicts can be approved, with a reason
Blocking leave over coverage makes people route around the system. A recorded decision is the thing you actually wanted.
- 6
Deputies get activated, not just named
Approval routing, on-call, inbox delegation and system access each move, with a from and to date and a handover note.
What a leave and cover tracker is made of
This is not a shared calendar. It is four parts, and the second is the one that turns leave from an administrative record into an operational one.
Requests and balances
Leave types, entitlements, accruals, carryover, and a balance that accounts for booked but not yet taken. Plus a working-day calculation that respects each person's location and public holidays.
A responsibility map
Which responsibilities exist, who holds each, at what level, and the minimum number of holders that must be available. This is the data most companies have only in people's heads.
A coverage check
At request time, evaluate every responsibility the requester holds against who else is available in that window, and warn before approval rather than after.
Activated deputies
A named deputy per responsibility for the leave period, and a record of what actually moved: approval routing, on-call, inbox delegation, and system access.
The prompts
Paste these into Claude Code, Codex or Cursor in order. Each one leaves you with something that runs, so you can stop after any step.
These prompts start from a Helix project, which is what handles sign-in, credentials and hosting. Start with Helix.
Leave, done correctly
The administrative half, including the detail that breaks naive versions.
Create a Helix app: a leave and cover tracker.
Start with the ordinary half. Leave types in a config file: whether each deducts from a balance, whether it needs approval, notice required, maximum consecutive days, and any documentation requirement.
Requests with start and end dates, half-days at either end, and the working days calculated. Calculate those against that person's own location calendar and working pattern, not a generic one. Public holidays vary by country and quietly break every naive implementation of this.
Show five numbers on a balance, not one: entitlement, accrued to date, taken, booked but not yet taken, and remaining. "Remaining" on its own hides the three weeks somebody has already booked in December.
Write down what only exists in people's heads
The responsibility map, which is the reason to build this rather than buy a leave tool.
Now the part no leave tool does.
Build a list of responsibilities: things that must always have somebody available to do them. For each one, a description, a criticality, and the minimum number of available holders required at any time. Then record who holds each, and at what level: primary, secondary, or trained.
Seed it with the real ones: payment approval above a threshold, incident commander, production deploy approval, contract signature, the escalation owner for a named account, payroll submission.
Then two reports that need no leave data at all. Any responsibility with fewer holders than its minimum right now. And any responsibility with exactly one active holder, ranked by criticality.
Most companies find two or three they did not know about, and that alone justifies the build.
Check cover while the answer can still change
At request time, and shown to the requester.
Now connect the two halves.
When a request is submitted, take every responsibility that person holds, count how many other active holders are available across the whole requested window, and compare against the minimum. Three outcomes: clear, warning if it sits exactly at the minimum, conflict if it drops below. Name the responsibility and the dates.
Show that to the requester at submission, before the approver sees it. Most people move a day when they can see the clash themselves, and that resolves it without a conversation.
The approver sees the coverage result next to the balance, plus the team calendar for that window.
Allow approval over a conflict, with a required reason and a named mitigation. Blocking leave makes people route around the system, and a recorded decision is what you actually wanted. Then give me a forward view: any date in the next six months where a responsibility drops below its minimum given the leave already approved.
Make cover something that actually happens
Deputies, and the handover note nobody writes voluntarily.
For each approved absence, record a named deputy per responsibility, defaulting to the secondary holder.
Then track what actually moves, as a checklist with a from and to date: approval routing, on-call rota, inbox delegation, system access, and any named contact updates. A deputy named on a document changes nothing about who can approve a payment on Wednesday.
Notify the deputy on activation with what they are covering and until when, and again on the day it ends.
Prompt for a handover note two days before leave starts, which is the last moment anybody will write one: what is in flight, what needs a decision, who to contact.
And report which responsibilities repeatedly cause conflicts. That list is a cross-training or hiring argument with evidence attached.
Connect it to real systems
The step that turns a working prototype into something with your data in it.
Now connect it to the systems we actually run, so it works on real data rather than the rows you seeded.
Anything in angle brackets is a placeholder. Swap it for whatever we use instead, and have the app name the connection it wants rather than assume a vendor, so changing my mind later is a config change and not a rewrite.
<Workday>. Read entitlements, working patterns and public holidays for each person's location.
<Okta>. Read teams and the manager relationship, so a request routes to the right approver without a list somebody maintains.
<Google Calendar>. Show the team calendar for the requested window, and block the days once approved.
<PagerDuty>. Take somebody off the rota while they are away, which is the deputy step people forget.
<Slack>. Set a status and tell the deputy what they are covering and until when.
<Jira>. Reassign anything in flight to the deputy rather than leaving it queued behind somebody away.
<Gusto>. Read the entitlement and accrual rules that actually apply to each contract type.
Only write where I have said to write. Everything else is read only.
Ship it
The last step of every build: a URL, and the right people on it.
Deploy my app.
What it connects to
Leave data is the easy half. Making a deputy real means changing things in other systems.
-
Workday Read entitlements, working patterns and public holidays for each person's location. Reads -
Okta Read teams and the manager relationship, so a request routes to the right approver without a list somebody maintains. Reads -
Google Calendar Show the team calendar for the requested window, and block the days once approved. Reads and writes
- PagerDuty Take somebody off the rota while they are away, which is the deputy step people forget. Writes
-
Slack Set a status and tell the deputy what they are covering and until when. Writes
-
Jira Reassign anything in flight to the deputy rather than leaving it queued behind somebody away. Writes -
Gusto Read the entitlement and accrual rules that actually apply to each contract type. Reads
Named systems are the ones most teams actually run, not a list of the only ones that work. Swap in whatever you use.
Running it for real
The build gets you a working tracker. It holds personal leave data and controls who can approve what while somebody is away, so it needs to be run properly.
- 1
Get it to a URL people can open
One command takes the app from your assistant to a live address, so the people who need it get a link rather than instructions for running it locally.
- 2
Put your identity provider in front of it
Leave records are personal data. SSO means people sign in with their existing account, and access is scoped so an individual sees their own detail while a manager sees availability rather than reasons.
- 3
Connect the system of record with managed credentials
Reading joiners, leavers and entitlements from an HR system, and moving approval routing during an absence, needs real access. Granting it to the app rather than pasting keys into it means credentials can be rotated or revoked without a redeploy.
- 4
Put a name on it
Every app carries a named owner and an entry IT can see, so the tool does not become nobody's problem when the person who built it changes role.
- 5
Know what it costs to run
Per-app spend visibility, so an internal tool cannot quietly become a line item nobody can explain.