Time off request approval
Help a manager decide on a vacation or time off request: approve it, approve it with a handover plan, suggest other dates, decline it with a clear reason, or pass it to HR when it is a protected or special type of leave, based on coverage, balance and policy.
F@fLimits to keep in mind
Leave rules differ by country, contract and company policy; HR or local law always decides protected leave.
This label supports a manager's decision and does not replace a conversation with the employee.
Balances in HR tools can be out of date; check the official balance before declining for lack of days.
Problem
Managers get time off requests by email, chat or an HR tool, often in batches before school holidays and the end of the year. Decisions are made quickly and inconsistently: some people get every request approved while others are told no without a reason, critical weeks end up with nobody who can cover, and protected types of leave such as sick, parental or bereavement leave are sometimes treated like vacation and refused for business reasons. Employees then feel treated unfairly and teams burn out.
Goal
Label each time off request so that normal requests are approved quickly, longer absences get a handover plan, clashes with critical work or overlapping absences lead to a fair alternative instead of a flat no, declines are rare and always explained by policy or balance, and protected or special types of leave go to HR instead of being judged on coverage.
Input / state
One time off request with its dates, length, type and notice, the team's coverage and critical work in that period, the employee's remaining balance and the relevant policy rules, and any context the employee chose to share.
- request_details
- Requested dates and number of working days, type of leave (vacation, unpaid, sick, parental, bereavement, other), and how much notice was given.
- team_coverage
- Who else is off in that period, who can cover the work, on-call or customer duties, and launches, deadlines, audits or peak periods in those dates.
- balance_and_policy
- Remaining days for the year, carry-over rules, minimum notice, blackout periods, maximum length in a row, and any rule from the contract or company policy.
- context_notes
- Anything the employee chose to share, earlier requests and decisions this year, and fairness points such as who had the last holiday period off.
Decision question
time_off_decisionWhat should the manager do with this time off request? First check the type: sick, parental, bereavement, medical, legal or accommodation-related leave goes to refer_to_hr, because it may be protected by law. For vacation, check the balance and policy, then coverage and critical work in those dates. Prefer approval, with a handover for long or busy periods; suggest other dates for real clashes; decline only for a policy or balance rule. Use needs_review when dates, balance or policy are unclear.
Options
approveEnough balance, the notice rule is met, no blackout period and the team is covered; approve the request as it is.approve_with_handoverThe request is fine but long or during a busy period; approve it and agree a handover: who covers what, open tasks, contacts and an out-of-office message.suggest_other_datesThe dates clash with critical work or other approved absences and nobody can cover; offer specific alternative dates or a shorter break instead of a flat refusal.declineA clear policy or balance rule is broken, such as no remaining days with no unpaid option, a published blackout period or a notice rule, and no alternative fits; decline with the rule explained.refer_to_hrSick, parental, bereavement, medical, jury duty, religious or accommodation-related leave, or anything that may be protected by law; pass it to HR and do not judge it on coverage.
Allowed outcomes
Decided in your code from the answer and its confidence. Thresholds are yours to set and test.
- Check details firstDates, balance, policy or type of leave are unclear; check with the employee or HR before deciding, and reply that a decision follows soon.
- ApproveApprove promptly in the HR tool, add the dates to the team calendar and thank the employee for the notice.
- Approve with handoverApprove now and agree a short handover plan with a named cover person, open tasks and an out-of-office message a few days before the leave.
- Suggest other datesExplain the clash honestly, offer two or three concrete alternatives or a shorter period, and agree a decision date.
- Decline with reasonDecline in writing with the exact policy or balance rule, offer what is possible, such as other dates or unpaid leave, and keep a record.
- Refer to HRAcknowledge the request kindly, do not ask for medical or private details, and pass it to HR the same day for the correct process.
Example scenarios
Predefined demonstrations. No model is called; the outcome shown is an illustrative judgment.
Example state
{
"context_notes": "First request this year",
"team_coverage": "Two teammates in the office, no deadlines or on-call duty that week",
"request_details": "Vacation Friday 23 and Monday 26 January, 2 working days, requested 6 weeks ahead",
"balance_and_policy": "14 days left, notice rule is 2 weeks, no blackout period"
}Outcome
IllustrativeApprove promptly in the HR tool, add the dates to the team calendar and thank the employee for the notice.
Why
Enough balance and notice, no clash and the team is covered.
Using it well
- Check the type of leave first; protected types go to HR whatever the coverage situation.
- Approval is the default for vacation with enough balance and notice; the manager has to justify a no, not the employee a yes.
- Judge coverage by the work, not by headcount: one person who can cover the on-call duty may be enough.
- When dates clash, offer concrete alternatives instead of only saying no.
- Be consistent and fair across the team: look at who had the last popular holiday period off and handle requests in a clear order.
- Never ask for the reason for vacation; private context shared by the employee is used only in their favor.
- Reply quickly, ideally within two working days; late answers make planning travel or childcare impossible.
Request definition
POST https://api.typesafe.ai/v1/systemone{
"model": "jev-latest",
"state": {
"request_details": "<request_details>",
"team_coverage": "<team_coverage>",
"balance_and_policy": "<balance_and_policy>",
"context_notes": "<context_notes>"
},
"questions": {
"time_off_decision": {
"type": "choice",
"instructions": "What should the manager do with this time off request? First check the type: sick, parental, bereavement, medical, legal or accommodation-related leave goes to refer_to_hr, because it may be protected by law. For vacation, check the balance and policy, then coverage and critical work in those dates. Prefer approval, with a handover for long or busy periods; suggest other dates for real clashes; decline only for a policy or balance rule. Use needs_review when dates, balance or policy are unclear.",
"criteria": {
"approve": "Enough balance, the notice rule is met, no blackout period and the team is covered; approve the request as it is.",
"approve_with_handover": "The request is fine but long or during a busy period; approve it and agree a handover: who covers what, open tasks, contacts and an out-of-office message.",
"suggest_other_dates": "The dates clash with critical work or other approved absences and nobody can cover; offer specific alternative dates or a shorter break instead of a flat refusal.",
"decline": "A clear policy or balance rule is broken, such as no remaining days with no unpaid option, a published blackout period or a notice rule, and no alternative fits; decline with the rule explained.",
"refer_to_hr": "Sick, parental, bereavement, medical, jury duty, religious or accommodation-related leave, or anything that may be protected by law; pass it to HR and do not judge it on coverage."
}
}
}
}Request shape from the System One API reference; a Kev server accepts the same body. Replace the placeholder state with your data. Requests need your own API key or server.
Version History
Initial version