Challenge: leave requests live in several places, and the store schedule learns about them too late
A retail company (illustrative example) runs several brick-and-mortar stores, each with a shift of a few people. Leave requests reach store managers in different ways: by email, via a messaging app, on a slip of paper left in the back room, or verbally at the checkout. The manager checks in a spreadsheet how many days off the employee has left, looks at the schedule to see whether a shift would be left understaffed, and replies. Then someone in HR retypes the decision into the HR and payroll system, while the manager manually fixes the schedule and looks for cover, often phoning people from other stores one by one. In the pre-holiday and summer periods there are dozens of such requests a week.
This process had three recurring problems:
- requests got lost or waited several days for an answer, because there was no single place where the manager could see all the cases awaiting a decision,
- the manager decided without a full picture – they did not see that another person from the same shift already had leave that week, or that the neighboring store was short-staffed,
- the data in the schedule, in the manager's spreadsheet, and in the HR system drifted apart, so at month-end close HR had to reconcile everything by hand.
Solution: one flow from the employee's request to an updated schedule and a cover proposal
The automation collects requests in one place, prepares everything the manager needs to decide, and after their approval updates the systems and proposes cover on its own.
- Receiving the request – the employee submits a request through a simple form on their phone or writes to a chatbot in the company messaging app. The n8n flow saves the request in a single register with the leave type, dates, and store. On-demand leave, which an employee can request no later than on the day it starts, goes straight to the manager as an urgent matter.
- Gathering context – the system pulls the number of days available from the HR and payroll system, and the shift staffing for the chosen dates from the scheduling tool. It also checks the leave plan, if the company keeps one, and other people's requests for the same period.
- Rule-based assessment – rules set by the company (e.g., minimum shift staffing, peak sales periods) mark the request as “no conflict” or “needs attention” and describe what the assessment is based on. The system rejects nothing on its own.
- Manager approval – the manager receives, via the messaging app or by email, a request card showing days available, shift staffing, and any conflict. The flow waits for the answer – in n8n the Wait node does this, resuming after a form is submitted or a link is clicked. The manager approves, rejects, or proposes a different date, and if they do not respond within the set time, they get a reminder.
- Updating systems and cover – after approval, the leave goes into the HR system and the schedule, and the employee gets a confirmation. If the shift would drop below minimum staffing, the system identifies people who are off at that time and have already worked in that position, and sends them a request to cover the shift. The manager approves the choice of replacement.
Sample timeline: 6 weeks from design to a working process
- Week 1 – process audit and mapping: we list all request channels, staffing rules, and roles in the process.
- Week 2 – flow and rules design: we draw up the paths, the request card for the manager, and the list of data pulled from the HR system and the schedule.
- Weeks 3–4 – building the integrations in n8n, the form, and the chatbot: connecting the HR system, the scheduling tool, and the messaging app.
- Week 5 – tests in one store: we check exception paths, reminders, and cover proposals on real requests.
- Week 6 – training managers and employees, fixes after testing, and rollout to all stores.
What results to expect
Specific numbers depend on the starting point, so before rollout we measure the time from submitting a request to a decision, the number of shifts left without minimum staffing, and the number of discrepancies between the schedule and the HR system at month-end close. We compare the same indicators after rollout.
The direction of change is usually this:
- Response time to a request: from several days to the same day – the manager gets a ready card with all the data and a reminder when a case is waiting.
- Finding cover: from phoning people around to approving a ready proposal – the system identifies available people and asks them directly whether they can cover.
- Reconciling data: from manually comparing spreadsheets to a single source – the decision is saved in the schedule and in the HR system at the same time.
- Transparency for the employee: from uncertainty to a clear status – the employee sees whether the request is pending, accepted, or whether the manager has proposed a different date.
Where a human decides
Every decision to grant leave is made by the store manager, and the system only prepares the information for them and does not reject requests automatically. Staffing rules and peak sales periods are set by managers together with HR, and changing a rule does not require rebuilding the flow. If the “needs attention” assessment is overly cautious in a given situation, the manager approves the request anyway with one click, and their decision is saved together with the justification. The choice of replacement also belongs to the manager, because they know the people, their situation, and who has recently taken more shifts. The team does not lose the conversation with their supervisor – they only lose chasing answers and retyping the same dates in three places.
Takeaways
Automating leave requests does not replace the manager or HR – it takes collecting requests from many channels, checking days in a spreadsheet, and manually fixing the schedule off their plate. Three elements have the biggest impact: a single request register regardless of channel, a decision card with shift staffing and days available, and automatic updating of systems after approval. This gives the manager more time for the people in the store, and the employee finds out sooner whether they can plan their time off.
If in your company leave requests come through several channels and the schedule is fixed by hand after the fact, that is usually the first sign it is worth starting with an audit of the current process.