Challenge: medical exam and OHS training deadlines are scattered, and a single missing document halts a crew's work

A construction company (illustrative example) employs several dozen manual workers who are assigned each week to different crews and different sites. The Polish Labor Code (Kodeks pracy) prohibits employers from allowing anyone to work without a current medical certificate confirming no contraindications, and manual workers undergo periodic OHS (occupational health and safety) training at least once every 3 years (for especially dangerous work, at least once a year). Today the HR department keeps a spreadsheet with dates and reviews it manually once a month. Then it issues referrals for exams, arranges training with an external firm, and informs site managers by email. The manager builds the crew schedule separately, in their own file, and does not see whose documents will soon expire.

This process had three recurring problems:

  • deadlines are checked once a month, so an expiring certificate is often noticed only after it has lapsed,
  • employee data sits in several files that drift apart after every change,
  • the manager learns about missing exams on the day the crew heads out to the site, when it is hard to find a replacement quickly.

Solution: from a single deadline register to a check before assignment to a crew

The automation collects deadlines in one place and every day checks who needs action:

  1. A single deadline register – n8n, a tool for building flows between systems, pulls the list of employees and their positions from the HR and payroll system. HR only fills in the dates: the validity of the medical certificate and of the last periodic training. The register does not store medical details, only deadlines and status.
  2. Daily check – the flow runs automatically once a day and compares deadlines with the current date. The rule is simple: a deadline in 30 days triggers a reminder, in 14 days an urgent task, and after the deadline an alert to HR and the site manager. The thresholds are set by the HR department.
  3. Referral and training – when a reminder is triggered, the system prepares a draft referral for an exam with the position's details or a proposal to sign up for the nearest periodic training. HR checks the draft and sends it with one click.
  4. Follow-up exams after illness – when the HR system passes on only a signal that an absence due to incapacity for work has lasted longer than 30 days (without the cause or any details of the sick note, since that is health data), the flow creates a task to prepare a referral for a follow-up exam before the employee returns.
  5. Check before assignment – before the manager approves the crew schedule for the following week, the system marks in it the people whose certificate or training expires in that period. The manager can immediately plan a replacement or an earlier exam date.
  6. Closing the case – after the exam or training, HR enters the new date and attaches the document. The document goes to the personnel file, and the status in the register changes to "current".

Sample timeline: 6 weeks from project to a working process

  • Weeks 1–2 – audit and process mapping: a list of data sources, types of deadlines, responsible people, and exceptions, plus a measurement of indicators before the change.
  • Weeks 2–3 – rules design: reminder thresholds, escalation paths, the scope of data in the register, and access rules.
  • Weeks 3–4 – building the flow in n8n and integrations with the HR system, the calendar, and the crew schedule.
  • Weeks 4–5 – referral and notification templates and a view of deadlines for site managers.
  • Weeks 5–6 – tests on one crew, team training, and full rollout.

What results to expect

Specific numbers depend on the starting point, so before rollout we measure a few indicators, and after rollout we compare them with the baseline. For this process, these are usually the number of deadlines exceeded per month, the time from the reminder to the exam or training being completed, and the number of schedule changes caused by missing documents.

The direction of change is usually this:

  • Tracking deadlines: from a monthly spreadsheet review to a daily check that itself points out who needs action.
  • Referrals: from retyping data into every document to a draft ready for review.
  • Crew planning: from surprises on the day the crew heads out to information visible while the schedule is being built.
  • Documentation: from several inconsistent files to a single register with a current status.

Where a human decides

The system does not allow anyone to work or remove anyone from work. Whether someone may work in a given position is decided by the occupational medicine physician's certificate, and assignment to a crew is decided by the site manager. Training is conducted by authorized people, the certificate is issued by the training organizer, and the automation only tracks the deadline and collects confirmations. The HR department and the OHS specialist set the reminder thresholds, the types of deadlines, and who receives notifications. Anything the system does can be easily corrected, e.g. by postponing a reminder, changing the responsible person, or removing a flag after a new date is entered. The conversation with an employee about exams and training stays with people, and the team gains time to have it well in advance.

Takeaways

OHS deadline automation removes repetitive work, not people from the process: HR stops going through spreadsheets, and managers do not learn about a problem at the last minute. The biggest effect usually comes from three elements: a single deadline register fed from the HR system, a daily check with advance reminders, and information about document validity visible when building the schedule.

If in your company medical exam and OHS training deadlines are tracked in a spreadsheet, and you learn about an expired certificate on the day the crew heads out to the site, that is usually the first sign it is worth starting with an audit of the current process.