Company manual › Shift planning

Watch the video

A narrated walkthrough of this module, step by step. The videos are in Spanish.

Shift planning

Who works each shift, week by week

1:21
Read the transcript (in Spanish)

En una planta con turnos, planificar la semana lleva horas. En la Planificación de LaborApp se ven los turnos de todos, se cubren las necesidades de cada franja, y el planificador automático hace una propuesta. La semana pone a cada persona en una fila, con su turno de cada día y sus horas. Se filtra por centro, y los turnos sin asignar quedan a la vista. El día enseña, hora a hora, quién está y cuánta gente hay, frente a la que hace falta. Y el mes, para ver de un vistazo cómo queda repartido. En Acciones están las herramientas: crear turnos y plantillas, duplicar una semana, las rotaciones cíclicas, los proyectos, la capacidad, publicar la semana, y el planificador automático con su asistente. En Necesidades se dice cuánta gente hace falta en cada puesto, cada día y cada hora. Con eso, el planificador automático propone quién cubre cada turno, y la semana se publica cuando está lista. Esto es la Planificación de turnos en LaborApp: la semana de todos, las necesidades cubiertas, y una propuesta automática para empezar.

1. Introduction and key concepts

The Shift planning module lets you create work schedules for the employees of each work center. The system offers two ways of planning:

Manual planning

The manager creates shifts one by one, assigning employees to specific time slots. Ideal for one-off adjustments or small teams.

AI auto-planner

A smart algorithm automatically generates the optimal plan. It takes into account staffing needs, absences, holidays and Spanish labour law. Ideal for planning whole weeks.

Glossary of concepts

ConceptDescription
Shift template Reusable definition of a type of shift (e.g. "Morning 8:00-15:00"). Includes timetable, break and colour.
Planned shift Specific assignment of an employee to a time slot on a given date.
Shift status Draft Created, pending publication.
Published Visible to the employees.
Confirmed Accepted by the employee.
Cancelled Voided.
Published week When a week is published, all draft shifts become "published" and the employees can see them.
Staffing needs Number of workers required per hour in each center. It is the main input of the auto-planner.
Work center Physical location where the services are provided. Planning is managed per center.
Cyclic rotation Rotating shift system where the workers are split into groups and each group changes shift automatically following a cycle (e.g. Morning → Afternoon → Night every week).

2. Access and permissions

Path: Attendance control > Planning

The planning module requires the A13 - Planningpermission. This permission is assigned from user management.

RoleCapabilities
Manager / Company Create, edit and delete shifts. Publish/unpublish weeks. Run the auto-planner. Manage templates.
Worker View their published shifts (read only).
To grant access to the module, edit the user from User management and enable the A13 (Planning) permission in the advanced permissions section.

3. Shift templates

Templates define reusable shift types. It is recommended to create them before you start planning.

Opening the templates

Click the Templates button in the planning toolbar.

Fields of a template

FieldDescriptionExample
NameDescriptive name of the shiftMorning
AbbreviationShort code (max. 4 characters)M
Start timeClock-in time08:00
End timeClock-out time15:00
Break (min)Minutes of break included30
ColourColour for display in the calendar Blue
DescriptionOptional notesMorning shift
The Theoretical hours field is calculated automatically: (end time - start time) - break. For example, a shift from 08:00 to 15:00 with a 30 min break = 6.5 hours.

Example: typical setup

Recommended templates for a business with 3 shifts: Morning (M) 08:00 - 15:00 Break: 30 min = 6.5h Afternoon (A) 15:00 - 22:00 Break: 30 min = 6.5h Night (N) 22:00 - 06:00 Break: 30 min = 7.5h Split (S) 09:00 - 14:00 + 16:00 - 19:00 = 8.0h

Actions on templates

ActionDescription
New templateCreate a new shift type
EditModify an existing template (does not affect shifts already created)
DeleteRemove a template
Modifying a template does not alter the shifts already created from it. It only affects the new shifts created in the future.

4. Planning views

The module offers three views, reachable from the tabs at the top:

Week view (default)

Table with the employees in rows and the 7 days of the week in columns. Each cell shows the assigned shifts as coloured chips with the timetable.

  • "Total" column: sum of planned hours per employee
  • "Unassigned" row: shifts created without an assigned employee
  • Pink background: indicates that the employee has an approved absence that day
  • Grey background: holiday

Example of the week view

Employee Mon 23/06 Tue 24/06 Wed 25/06 Thu 26/06 Fri 27/06 Sat 28/06 Sun 29/06 Total
García, Ana 08-15 08-15 08-15 08-15 08-15 32.5
López, Pedro 15-22 15-22 15-22 15-22 26.0
Martínez, Laura 22-06 22-06 22-06 22-06 30.0
Unassigned 15-22

Day view

Horizontal 24-hour timeline with one row per employee. The hours covered by a shift are marked with the template's colour.

  • Summary cards: total shifts, assigned, unassigned, total hours
  • Distribution chart: vertical bars showing how many workers are active at each hour of the day

Month view

Compact monthly calendar with one row per employee and one column per day. Each shift is shown as a coloured dot with the start time. Useful for an overview of the plan.

Navigating between periods

ControlAction
/ Move forward or back one period (week, day or month depending on the view)
Go directly to today
Center selectorFilter by work center

5. Creating shifts manually

There are two ways to create a shift manually:

"New shift" button

Click the button in the toolbar. The full creation form opens.

Click on an empty cell

In the week or day view, click an empty cell of the grid. If there are templates configured, the quick shift menu is shown. If not, the full form opens.

Form fields

FieldMandatoryDescription
DateYesDay of the shift
EmployeeNoAssigned worker. If left empty, the shift stays "Unassigned"
TemplateNoSelecting a template auto-fills the timetable fields
Start timeYesClock-in time
End timeYesClock-out time
BreakNoMinutes of break (0 by default)
ColourNoColour of the chip in the calendar
NotesNoComments visible when hovering over the chip
When you select a template in the form, the start time, end time, break and colour fields are filled in automatically with the template's values.

6. Quick shift from a template

If you have templates configured, clicking an empty cell opens the quick shift menu:

  1. Click the empty cell of an employee and a day
  2. The list of available templates is shown with their colour, name and timetable
  3. Click the desired template
  4. The shift is created instantly with the template's data
Example: quick shift for Ana García on Monday 23/061. Click the empty cell of "García, Ana" x "Mon 23/06" 2. The menu appears: Morning 08:00-15:00 (6.5h) Afternoon 15:00-22:00 (6.5h) Night 22:00-06:00 (7.5h) 3. Click "Morning" -> shift created automatically

If you prefer to create the shift with custom data, press "Create manually" at the bottom of the menu.

7. Editing and deleting shifts

Editing a shift

  1. Click the coloured chip of the shift in any view
  2. The edit form opens with the current data
  3. Modify the necessary fields
  4. Press Save

Deleting a shift

  1. Open the edit form by clicking the chip
  2. Press the Delete button (bottom left corner)
  3. Confirm the deletion
Only shifts in Draftstatus can be edited or deleted. Published shifts must be unpublished first.

8. Publishing weeks

Shifts are initially created as Draft. For the employees to see them, you need to publish the week.

Publication flow


Create shifts

Review grid

Publish week

Visible to employees

Publishing a week

  1. Go to the desired week in the week view
  2. Check that all shifts are correctly assigned
  3. Press the Publish
  4. Confirm the action
  5. The indicator changes to Published

Unpublishing a week

If you need to make changes after publishing:

  1. Press the Unpublish button (it appears when the week is published)
  2. The shifts go back to the status Draft
  3. Make the necessary changes
  4. Publish again
Publishing/unpublishing acts on all the shifts of the week in the selected work center.

9. Duplicating a week

Lets you copy all the shifts from one week to another. Useful when the plan repeats every week.

Steps

  1. Go to the week you want to copy
  2. Press Duplicate week
  3. Select the target week (by default, the next week)
  4. Press Duplicate
Example: duplicating the week of 23/06 to 30/06Source week: Mon 23/06 - Sun 29/06 (current week with 15 shifts) Target week: Mon 30/06 (the Monday of the target week is selected) Result: 15 new shifts are created in the week of 30/06 with the same employees, timetables and settings. The new shifts are created in "Draft" status.
Duplicating does not delete existing shifts in the target week. If there are already shifts, the new ones are added next to the existing ones.

10. Staffing needs by department

The staffing needs define how many workers are needed in each time slot of each day. They are the main input of the auto-planner: without configured needs, the algorithm does not know how many shifts to generate.

The needs can be defined by department (job position). In a restaurant, for example, the kitchen needs differ from those of the dining room or the bar. The auto-planner will assign workers from the corresponding department.

Opening the needs grid

  1. Select a work center in the selector at the top
  2. Press the Needs button in the toolbar
  3. The visual needs assistant opens for the current week

Tabs by department

The needs dialog shows tabs at the top:

TabDescription
Summary Aggregated read-onlyview. Shows the total needs of all departments, with summary badges per position and the total of worker-hours.
General Needs without a specific department. Used for workers of any position. Editable grid.
Kitchen, Bar, Dining room... One tab for each department of the center. Each one has its own editable grid. A blue dot marks the tabs with data.

Example: restaurant with 3 departments

"Kitchen" tab - Cook needsHour Mon Tue Wed Thu Fri Sat Sun 10:00 2 2 2 2 2 3 - 11:00 2 2 2 2 2 3 - 12:00 2 2 2 2 2 3 - 13:00 2 2 2 2 2 3 - 14:00 2 2 2 2 2 3 - 19:00 2 2 2 2 2 2 - 20:00 2 2 2 2 2 2 - 21:00 2 2 2 2 2 2 - 22:00 2 2 2 2 2 2 - Total: 108 worker-hours/week
"Dining room" tab - Waiter needsHour Mon Tue Wed Thu Fri Sat Sun 12:00 3 3 3 3 3 4 - 13:00 5 5 5 5 5 6 - 14:00 4 4 4 4 4 5 - 20:00 4 4 4 4 4 5 - 21:00 5 5 5 5 5 6 - 22:00 4 4 4 4 4 5 - 23:00 3 3 3 3 3 4 - Total: 194 worker-hours/week
The auto-planner uses the worker's department to assign slots: the employees of the "Kitchen" department are assigned to the "Kitchen" needs, those of "Dining room" to the "Dining room" ones, etc. The department matching score is worth up to 25 points in the scoring algorithm.

Weekly needs templates

If your needs repeat every week, you can save them as a template and apply it quickly:

Saving as a template

  1. Fill in the grids of all departments with the desired needs
  2. Press Save in each tab to store the data
  3. Press Templates inside the needs dialog
  4. Press "Save current week as template"
  5. Give it a descriptive name (e.g. "Standard restaurant week", "Summer week")

The template saves the needs of all departments (including "General").

Applying a template

  1. Press Templates inside the needs dialog
  2. Press the button next to the desired template
  3. Confirm the action (the existing needs of the week will be replaced)
  4. The grid is updated with the template's data
Applying a template replaces the existing needs of the selected week for all departments.

Relationship with the auto-planner

When you run the auto-planner, the algorithm:

  1. Reads the needs of all departments of the center and period
  2. Converts each need into shift slots grouped by department
  3. Assigns workers prioritising the department match (30 pts in scoring)
  4. If there are not enough workers from the right department, it assigns from other departments with a lower score

The auto-planner warnings include the department name: "3 Kitchen position shifts uncovered".

11. Visual staffing needs assistant

The visual assistant lets you define staffing needs in a quick and intuitiveway, without typing numbers cell by cell. It offers bulk fill tools, visual interaction and copy/paste functions.

Quick fill

The most powerful tool for defining needs. It lets you fill a whole time block in a single click:

How to use quick fill

  1. Select the start time (e.g. 10:00) and the end time (e.g. 15:00)
  2. Select the number of people (e.g. 2)
  3. Tick the target days of the week (Mon-Fri ticked by default)
  4. Press Fill

Result: 30 cells are filled at once (6 hours x 5 days = 30 cells with value 2).

Example: setting up kitchen needs in 3 clicks1. Quick fill: 10:00-15:00, 2 people, Mon-Sat -> Fill 2. Quick fill: 19:00-23:00, 2 people, Mon-Sat -> Fill 3. Save Total: 132 worker-hours defined in less than 30 seconds. (With the classic method, you would have to fill 132 cells one by one)

The Clear button erases all the cells of the current grid.

Cell interaction

The grid cells are interactive and do not require typing numbers:

ActionEffect
ClickIncreases the value by 1 (0 → 1 → 2 → 3...)
Shift + ClickDecreases the value by 1
Right clickSets the value to 0 (clears the cell)
Click + DragPaints several cells with the same value (brush mode)

Heat map

The cells are coloured automatically according to their value, creating a visual heat map :

  • Empty: no colour
  • 1 person: very light blue
  • 2-3 people: medium blue
  • 4+ people: intense blue (white text)

This lets you see at a glance where the staffing needs concentrate along the week.

Copying and pasting days

Ideal for replicating the pattern of one day on other days of the week:

  1. Click the icon in the header of a day (e.g. Monday)
  2. A green indicator appears: "Monday copied"
  3. The
  4. icon appears in the headers of the other days. Press it on each target day to paste the pattern
Quick flow: set up the Mondayneeds, copy Monday and paste it on Tuesday to Friday. Then adjust Saturday manually if it differs. You can complete a whole week in seconds.

Real-time totals

The grid shows totals that update automatically as you edit:

  • Total row (bottom): sum of worker-hours per day
  • Total column (right): sum of worker-hours per time slot
  • Grand total: weekly total of worker-hours (bottom right corner)

In the Summarytab, badges with the total per department are also shown (e.g. "Kitchen: 108, Dining room: 194, Total: 302 worker-hours").

12. AI auto-planner

The auto-planner automatically generates the shifts for a given period and center, respecting the legal constraints and optimising according to the chosen mode.

How it works internally


1. Loads data

2. Generates slots

3. Sorts by difficulty

4. Assigns workers

5. Generates preview

Step 1: Data loading

The system automatically gathers:

  • Active workers of the selected center (name, department, contract hours)
  • Approved absences (vacation, sick leaves, leaves) in the period
  • Holidays of the center in the period
  • Active shift templates
  • Staffing needs configured for the center

Step 2: Slot generation

Converts the staffing needs (X workers per hour) into specific shifts using the templates. For example, if 3 workers are needed from 8:00 to 15:00, it generates 3 slots of the "Morning" shift.

Step 3: Sorting by difficulty

The slots are sorted from hardest to easiest to cover. A slot is "hard" when few workers are available to cover it (constraint-first heuristic). This increases the probability of finding a complete solution.

Step 4: Assignment with scoring

For each slot, the algorithm evaluates all available workers and assigns the best candidate according to a 0 to 100 point scoring system:

CriterionPointsDescription
Department0-25The worker's department matches the required one
Contract utilisation0-20Prioritises workers who have not yet reached their contract hours
Mode optimisation0-20Variable score according to the selected mode
Rest quality0-15Favours workers with more hours since their last shift
Consistency0-10Rewards keeping the same type of shift on consecutive days
Tie-break0-10Random variation to avoid always assigning the same person

Step 5: Preview

The result is shown as a preview before applying, including:

  • Number of shifts generated and how many could be assigned
  • Table of hours per employee vs. contract hours
  • Warnings if there are uncovered shifts or imbalances
  • Estimated total cost

Step-by-step wizard

Wizard - Step 1: Setup

Configure the planning parameters:

  • Work center: the currently selected center is shown
  • Date range: from/to (the current week by default)
  • Optimisation mode: select the main criterion (see next section)
  • Replace existing: tick to delete the existing shifts before generating

Wizard - Step 2: Preview

Review the result before applying:

  • Summary cards: total shifts, assigned, unassigned, hours, cost
  • Warnings: alerts about detected problems (e.g. "3 uncovered shifts")
  • Employee table: breakdown of assigned hours vs. contract

If the result is not satisfactory, press Back to adjust the parameters.

Wizard - Step 3: Confirmation

Press Apply to create the shifts. They will be created as Draft so that you can review them before publishing.

The shifts generated by the auto-planner are always created as drafts. This lets you review them, manually adjust the ones that need it and then publish the week when you are satisfied with the result.

13. Optimisation modes

The optimisation mode determines which criterion the algorithm prioritises when assigning workers. All modes respect the same legal constraints; the difference lies in how the candidates are scored.

Maximum Coverage

Prioritises covering all the staffing needs.

The algorithm tries to assign workers to all the slots, even if this creates imbalances in the hours between employees. Ideal for businesses where coverage is critical (hospitals, security, customer service).

Example: coverage in a shop with peaksNeed: 5 workers from 10:00-14:00 (morning peak) 2 workers from 14:00-18:00 (valley) 4 workers from 18:00-22:00 (afternoon peak) Available: 7 employees Result: the 11 slots are covered, prioritising the peaks. An employee can do a double shift (morning+afternoon) as long as they do not exceed 9h a day.

Minimum Cost

Minimises the total cost of the plan.

Avoids overtime by preferably assigning workers who have not reached their contract hours. Reduces the total number of planned hours while keeping the minimum coverage.

Example: cost optimisationEmployee A: 40h contract, 30h already assigned this week Employee B: 40h contract, 38h already assigned this week For a 7h shift on Friday: - Employee A: 30 + 7 = 37h (within contract) -> ASSIGNED - Employee B: 38 + 7 = 45h (5h overtime!) -> DISCARDED

Fairness

Distributes the hours evenly among all the workers.

Seeks that all employees have a similar number of hours. Prioritises the workers with fewer assigned hours. Ideal for teams where everyone must have the same workload.

Example: fair distribution5 employees, 160 total hours to share out in the week: - Goal: 160 / 5 = 32h per employee Result: García, Ana -> 32.5h López, Pedro -> 32.0h Martínez, Laura -> 31.5h Sánchez, Carlos -> 32.0h Ruiz, María -> 32.0h

Fixed Shifts

Assigns each worker to their usual shift.

Prioritises consistency: if a worker usually does the morning shift, it always assigns them the morning shift. Ideal for companies with fixed morning/afternoon/night teams.

Example: fixed shiftsMorning team: García, López, Sánchez Afternoon team: Martínez, Ruiz, Fernández The algorithm assigns: García -> Morning (M,T,W,T,F) López -> Morning (M,T,W,T,F) Martínez -> Afternoon (M,T,W,T,F) Ruiz -> Afternoon (M,T,W,T,F) ...

Cyclic Rotation

Automatically rotates the shifts between groups of workers.

The workers are split into groups and each group rotates its shift following a predefined cycle. For example, in a 3-week cycle: Group 1 does Morning in week 1, Afternoon in week 2 and Night in week 3. Ideal for factories, hospitals and 24h services with rotating shifts.

Example: 3-week rotation in a factoryCycle: Morning (6-14h) → Afternoon (14-22h) → Night (22-06h) Week 1: Group A (García, López) -> Morning Group B (Martínez, Sánchez) -> Afternoon Group C (Ruiz, Fernández) -> Night Week 2: Group A -> Afternoon Group B -> Night Group C -> Morning Week 3: Group A -> Night Group B -> Morning Group C -> Afternoon Week 4: the cycle repeats (= Week 1)

Quick comparison

ModePriorityBest for
CoverageCover all the slotsCritical services, 24h service
CostAvoid overtimeOptimise the budget
FairnessEven distributionTeams with the same category
Fixed shiftsShift consistencyFixed teams per shift
Cyclic rotationAutomatic rotation of groupsFactories, hospitals, rotating 24h

Cyclic rotations

The cyclic rotations let you automate the shift change between groups of workers. Instead of assigning shifts manually every week, a cycle is defined (e.g. 3 weeks) with one shift template per phase, and the system automatically calculates which shift each group gets at each moment.

Key concepts

ConceptDescription
Rotation Configuration that defines a shift cycle for a work center. It has a name, a number of weeks (2 to 6) and a list of phases.
Phase Each week of the cycle. Each phase has a shift template assigned. Example: Phase 1 = Morning, Phase 2 = Afternoon, Phase 3 = Night.
Group Set of workers who do the same shift at the same time. The number of groups matches the number of phases of the cycle.

How to set up a rotation

Press the Rotations button in the planning toolbar.

Rotations are independent per work center. Each center can have several different rotations.

Step 1: Create the rotation

  1. Press New rotation
  2. Enter the name (e.g. "Production rotation")
  3. Select the work center
  4. Choose the number of weeks of the cycle (from 2 to 6)
  5. For each phase, assign a name and the corresponding shift template
  6. Press Save
Example: 3-phase rotationName: Plant 1 rotation Center: Central Factory Weeks of the cycle: 3 Phase 1: "Morning" → Template: Morning (06:00-14:00) Phase 2: "Afternoon" → Template: Afternoon (14:00-22:00) Phase 3: "Night" → Template: Night (22:00-06:00)

Step 2: Assign workers to groups

  1. In the list of rotations, press Assign on the desired rotation
  2. The list of workers of the center appears
  3. For each worker, select the group (1, 2, 3...)
  4. Press Save assignments
The number of groups matches the number of phases. In a 3-week cycle there are 3 groups. All the workers of a group do the same shift each week.

Step 3: Generate shifts with the rotation

  1. Open the Auto-planner or the Step-by-step wizard
  2. Select the Cyclic rotation
  3. mode. Choose the rotation you want to apply
  4. Press Generate

The algorithm calculates the current phase of each group based on the ISO week number of the year and automatically assigns the corresponding shift template to each worker.

How the phase calculation works

The formula that determines which shift each group does in a given week is:

Current phase formulaphase = ((ISO_week + group - 2) mod num_weeks) + 1 Where: ISO_week = week number of the year (1-53) group = group number of the worker (1, 2, 3...) num_weeks = length of the cycle (2, 3, 4, 5 or 6) Example for ISO week 26, 3-week cycle: Group 1: ((26 + 1 - 2) % 3) + 1 = (25 % 3) + 1 = 1 + 1 = Phase 2 (Afternoon) Group 2: ((26 + 2 - 2) % 3) + 1 = (26 % 3) + 1 = 2 + 1 = Phase 3 (Night) Group 3: ((26 + 3 - 2) % 3) + 1 = (27 % 3) + 1 = 0 + 1 = Phase 1 (Morning)
Workers not assigned to any group of the rotation are treated as "no preference" and the algorithm assigns them freely. Make sure you assign all the relevant workers before generating.

14. Legal constraints

The auto-planner automatically complies with Spanish labour law. These constraints are hard constraints: they can never be violated, regardless of the selected mode.

Maximum 9 hours a day
No worker can accumulate more than 9 hours of effective work on the same day (art. 34 ET).
Maximum 40 hours a week
The weekly working time cannot exceed 40 hours on a weekly basis (art. 34.1 ET).
Minimum rest of 12 hours between shifts
At least 12 hours must pass between the end of one shift and the start of the next (art. 34.3 ET).
Maximum 6 consecutive working days
Every worker is entitled to at least 1 day of rest for every 6 days worked (art. 37.1 ET).
These constraints are only applied automatically by the auto-planner. Manual shift creation does not validate these constraints, giving the manager more flexibility (under their responsibility).

What happens when the algorithm cannot meet the constraints

If a slot cannot be assigned to any worker without violating a constraint, the shift is created as "Unassigned" and a warning is generated in the preview. The manager can then:

  • Manually assign that shift to a worker
  • Delete the shift if it is not needed
  • Adjust the staffing needs and run the planner again

15. Project calendars

The projects module lets you create time-tracking calendars for projects, events or campaigns that affect the plan. Projects are shown as coloured bars over the week and month views.

Opening projects

Press the Projects button in the planning toolbar.

Fields of a project

FieldDescriptionExample
NameName of the projectChristmas campaign
DescriptionOptional detailReinforcement for the high season
ColourColour of the bar in the calendar Violet
Start / end datePeriod of the project01/12 - 06/01
CenterAssociated work center (optional)City Center Shop
BudgetAssigned budget (optional)5,000 €
StatusActive, Completed or CancelledActive

Project bars in the calendar

Active projects whose dates overlap with the visible period are shown as horizontal coloured bars above the shift grid, in the week and month views. This lets you see at a glance which projects are in progress and how they affect the plan.

Assigning employees to projects

You can assign employees to a project by indicating:

  • Role: the employee's function in the project (e.g. "Lead", "Reinforcement")
  • Weekly hours: hours assigned to the project per week

This information is used in the capacity panel to calculate each employee's total load.

16. Capacity panel

The capacity panel shows an overview of each employee's workload, combining planned shifts, projects and contract hours.

Opening the panel

Press the Capacity button in the planning toolbar.

Information shown per employee

MetricDescription
Contract hoursWeekly hours according to the employee's contract
Shift hoursHours planned in shifts for the current period
Project hoursHours assigned to active projects
Utilisation %Colour-coded progress bar
Absence daysDays of approved absence in the period

Utilisation colour code

  • Green Below 80%: capacity available
  • Yellow 80-100%: optimal load
  • Red Above 100%: overload (possible overtime)
Check the capacity panel before running the auto-planner to identify employees with spare hours or at risk of overload.

17. Example: full workflow (shop)

Let's look at a full planning example for a shop with 8 employees and 2 shifts:

Step 1: Create templates

We go to Templates and create two shifts:

  • Morning: 09:00 - 15:00, 30 min break, blue colour
  • Afternoon: 15:00 - 21:00, 30 min break, orange colour

Step 2: Run the auto-planner

We press Auto-plan and set:

  • Center: City Center Shop
  • Period: Mon 23/06 to Sun 29/06
  • Mode: Fairness

The algorithm generates the plan in seconds.

Step 3: Review the preview

The preview shows:

  • 56 shifts generated, 54 assigned, 2 unassigned
  • Warning: "2 Saturday shifts uncovered (only 6 workers available)"
  • Hours per employee: between 30h and 33h (fair distribution)

Step 4: Apply and adjust

We press Apply. The shifts appear in the week view as drafts. We manually adjust the 2 unassigned Saturday shifts, assigning them to the employees with fewer hours.

Step 5: Publish

When everything is correct, we press Publish. The employees can now see their shifts from the application.

Step 6: Following weeks

If the next week has the same structure, we use Duplicate week. If it changes, we run the auto-planner again with the new parameters.

18. Example: restaurant with departments

Let's see how to plan a restaurant with 12 employees spread over 3 departments, taking advantage of the needs by job position and the visual assistant.

Context

  • Company: El Fogón Restaurant
  • Departments: Kitchen (4 cooks), Bar (3 waiters), Dining room (5 waiters)
  • Timetable: Monday to Saturday, lunch and dinner services
  • Shifts: Morning (8-16), Lunch (11-16), Afternoon (16-00), Dinner (19-00), Full day (9-17), Midday reinforcement (12-16)

Step 1: Create templates and departments

From User management, we assign each employee to their department (Kitchen, Bar or Dining room). Then we create the 6 shift templates in Templates.

Step 2: Define the needs with the visual assistant

We open Needs and use Quick fill per department:

Kitchen tab:

  1. Quick fill: 10:00-15:00, 2 people, Mon-Sat → Fill
  2. Quick fill: 19:00-23:00, 2 people, Mon-Sat → Fill
  3. Save Kitchen

Dining room tab:

  1. Quick fill: 12:00-16:00, 3 people, Mon-Sat → Fill
  2. Quick fill: 20:00-00:00, 4 people, Mon-Sat → Fill
  3. Save Dining room

Bar tab:

  1. Quick fill: 11:00-15:00, 2 people, Mon-Sat → Fill
  2. Quick fill: 18:00-23:00, 2 people, Mon-Sat → Fill
  3. Save Bar

The Summary tab shows: Kitchen: 132, Dining room: 168, Bar: 108 → Total: 408 worker-hours.

Step 3: Save as a template

We press Templates → "Save current week as template" with the name "Standard restaurant week". This way we will reuse it every week.

Step 4: Run the auto-planner

We press Auto-plan with the Maximum Coveragemode. The algorithm:

  • Assigns the 4 cooks to the Kitchen slots
  • Assigns the 5 Dining room waiters to the Dining room slots
  • Assigns the 3 Bar waiters to the Bar slots

If a department does not have enough workers, the algorithm generates warnings such as "2 Dining room position shifts uncovered on Saturday".

Step 5: Review, adjust and publish

We review the week view, adjust the uncovered shifts (e.g. assigning a bar waiter to the dining room on Saturday) and publish.

For the following weeks: apply the "Standard restaurant week" template from Needs → Templates, and run the auto-planner again. The whole process takes less than a minute.

19. Example: factory with 3 shifts

Let's look at a detailed example of how to plan a factory that operates 24 hours with 3 rotating shifts and 18 operators.

Context

  • Company: Fábrica Metalúrgica del Norte S.L.
  • Center: Production plant
  • Operators: 18 workers (40h/week contract)
  • Operation: 24 hours, Monday to Saturday
  • Shifts: Morning, Afternoon, Night
  • Need: 5 operators per shift (Mon-Fri), 3 on Saturdays

Step 1: Create the 3 shift templates

We go to Templates and create:

Shift templates Morning (M) 06:00 - 14:00 Break: 30 min = 7.5h Colour: blue Afternoon (A) 14:00 - 22:00 Break: 30 min = 7.5h Colour: orange Night (N) 22:00 - 06:00 Break: 30 min = 7.5h Colour: violet

Step 2: Set up the staffing needs

We press Needs and fill in the grid:

Needs grid (relevant hours)Hour Mon Tue Wed Thu Fri Sat Sun 06:00 5 5 5 5 5 3 - 07:00 5 5 5 5 5 3 - ... (5 at every hour from 06-14) 13:00 5 5 5 5 5 3 - 14:00 5 5 5 5 5 3 - 15:00 5 5 5 5 5 3 - ... (5 at every hour from 14-22) 21:00 5 5 5 5 5 3 - 22:00 5 5 5 5 5 - - 23:00 5 5 5 5 5 - - 00:00 5 5 5 5 5 - - ... (5 at every hour from 22-06) 05:00 5 5 5 5 5 - - Summary: 5 workers x 24h x 5 days = 600 slots Mon-Fri 3 workers x 16h x 1 day = 48 slots Sat (M+A only) Total: 648 worker-hour slots

After saving, we press Templates > "Save current week as template" with the name "Standard factory week" to reuse it every week.

Step 3: Run the auto-planner

We press Auto-plan:

  • Center: Production plant
  • Period: Mon 23/06 to Sun 29/06
  • Mode: Maximum Coverage (covering 24h production is the priority)

Step 4: Review the preview

The algorithm generates the plan:

Auto-planner resultSTATISTICS: Shifts generated: 93 Assigned: 90 (96.8%) Unassigned: 3 (Saturday night - not enough operators) Total hours: 697.5h BREAKDOWN PER EMPLOYEE: Employee Assigned Contract Difference García, Juan 37.5h 40h -2.5h López, María 37.5h 40h -2.5h Martínez, Pedro 37.5h 40h -2.5h Sánchez, Ana 37.5h 40h -2.5h Ruiz, Carlos 37.5h 40h -2.5h Fernández, Luis 37.5h 40h -2.5h ... (18 employees with a similar share) WARNINGS: - 3 Saturday night shifts uncovered (18 operators / 3 shifts = 6 per shift, but on Saturday night only 3 remain available after assigning M and A) - Consider hiring reinforcement for Saturday night

Step 5: Apply and adjust

We press Apply. The week view shows:

Employee Mon Tue Wed Thu Fri Sat Sun Total
García, Juan 06-14 06-14 06-14 06-14 06-14 37.5
López, María 06-14 06-14 06-14 06-14 06-14 37.5
Martínez, Pedro 14-22 14-22 14-22 14-22 14-22 06-14 45.0
Sánchez, Ana 22-06 22-06 22-06 22-06 22-06 37.5
... (14 more employees)
Unassigned 22-06
22-06
22-06

The 3 Saturday night shifts remain unassigned. The manager can:

  • Assign them manually to the employees with fewer hours
  • Delete them if Saturday night production is not needed
  • Hire temporary staff to cover that shift

Step 6: Publish

After resolving the pending shifts, we publish the week. The operators check their shifts from the app.

Step 7: Following weeks

For the next week:

  1. We go to the week of 30/06
  2. We press Needs > Templates > Apply "Standard factory week"
  3. We run the auto-planner again
  4. The algorithm rotates the teams (those who did mornings move to afternoons, those on afternoons to nights, etc.) thanks to the Fixed Shifts mode or to the consistency score
For factories with strict rotation (week 1 = morning, week 2 = afternoon, week 3 = night), use the Fixed Shiftsmode. The algorithm detects the last shift assigned to each worker and assigns them the next one in the rotation.

Setup summary for the factory

ElementSetup
Shift templates3: Morning (06-14), Afternoon (14-22), Night (22-06)
Needs Mon-Fri5 operators x 24h (all time slots)
Needs Saturday3 operators x 16h (morning and afternoon only)
Needs template"Standard factory week" (save to reuse)
Recommended modeCoverage (cover all production) or Fixed Shifts (rotation)
Operators18 (= 3 shifts x 5 + 3 reserve/rest)

20. Frequently asked questions

What data do I need before using the auto-planner?

At least: (1) defined shift templates, (2) active employees assigned to the work center, and optionally (3) configured staffing needs. Without needs, the algorithm will distribute the shifts according to the available templates and the number of workers.

Does the auto-planner take vacation into account?

Yes. The system automatically loads the approved absences (vacation, sick leaves, leaves) of the period and excludes those workers on the days when they are absent. Cells with an absence are shown with a pink background.

Can I modify shifts generated by the auto-planner?

Yes. The generated shifts are created as drafts and are fully editable. You can change timetables, reassign employees or delete shifts before publishing.

What happens if I run the auto-planner twice?

If you do not tick the "Replace existing shifts" option, the new shifts are added next to the existing ones (which may create duplicates). If you tick the option, the draft shifts of the period are deleted before the new ones are generated.

Can I plan only some days of the week?

Yes. In the auto-planner wizard you can select the exact date range. For example, Monday to Friday if you do not work at weekends.

Do employees get a notification when publishing?

Published shifts are visible to the employees when they open the planning module. The system does not send push notifications automatically.

Can I have "unassigned" shifts?

Yes. You can create shifts without an assigned employee. They appear in the "Unassigned" row with an orange background. They are useful for defining coverage needs before deciding who will cover each shift.

Does the module work with several work centers?

Yes. Planning is independent per center. Use the center selector in the top bar to switch between centers. Each center has its own shifts, templates and publication status.

What do the colours in the calendar mean?

Each colour corresponds to a shift template (or to the colour chosen when creating the shift manually). By convention:

  • Blue: morning shift
  • Orange: afternoon shift
  • Violet: night shift
  • Green: split shift

The colours are fully customisable when creating the templates.

How do needs by department work?

The needs are organised in tabs: Summary (overview of all departments), General (needs without a specific department) and one tab for each active department of the center. When needs are set up by department, the auto-planner assigns only employees of the corresponding department to each time slot.

How does the quick fill of the visual assistant work?

The quick fill bar (Quick Fill) lets you define a time slot (start time, end time), an amount and the days of the week to fill. When you press Fill, all the cells that match the criteria are updated at once. Use the Clear all button to set the whole grid to zero.

Can I copy the needs from one day to another?

Yes. In the visual assistant, press the icon in the header of the day you want to copy. An icon will appear on the other days: press the target day to paste the values. You can also click the cells to adjust them (+1 left click, -1 Shift+click) or drag to paint several cells with the same value.

What are project calendars?

Project calendars let you link planned shifts to specific projects (works, events, campaigns). Each project has start and end dates, and the assigned shifts are displayed on a timeline with progress bars. Useful for companies that manage staff at several locations or customers at the same time.

What does the capacity panel show?

The capacity panel shows, for each employee, their contracted hours against the hours planned in the selected period. The colour indicators make it easy to read: green (80-100% utilisation), yellow (60-80% or >100%) and red (<60%). It also includes a budget summary with the estimated cost of the plan.

What is a cyclic rotation and when should I use it?

A cyclic rotation is a rotating shift system where the workers are split into groups and each group changes shift automatically every week following a cycle. It is ideal for factories with morning/afternoon/night shifts, hospitals, security services and any activity that requires 24h coverage with rotating shifts. It is set up from the Rotations button of the toolbar.

Can I have several rotations in the same center?

Yes. You can create several rotations for the same work center. For example, a 3-shift rotation for the production area and a 2-shift one for the warehouse area. When auto-planning, select the rotation you want to apply.

What happens if a worker is not assigned to any rotation group?

Workers without an assigned group are treated as "no shift preference". The algorithm assigns them freely according to the selected mode. It is advisable to assign all the relevant workers to a group before generating shifts with the cyclic rotation mode.

Not using LaborApp yet?

We'll show you how it works for your case, no strings attached. The form is in Spanish.

Request a free demo