Skip to content
All work

(02)Pharmaceutical manufacturing

4,000 salaries, calculated while everyone sleeps.

Month-end payroll went from days of counting to a job that runs itself at 11:59 PM.

Client
A medicine factory with 4,000 employees and daily-wage workers
What we built
Back-office automation
The flow
Attendance machine → Data checks → Payroll run

The story

Every month, HR exported the sheet from the thumb machine and worked out each person’s salary by hand, one employee at a time, from the days they had worked. We replaced that with an automation that triggers at 11:59 PM on the last day of the month, pulls the attendance records straight from the machine and calculates the total salary for every employee from their present days.

Beforethen

01HR exported the attendance sheet from the thumb machine at month-end.

02Present days were counted by hand for each of 4,000 employees.

03Salaries were calculated one by one, which took days and invited mistakes.

04Errors meant late salaries and disputes over miscounted days.

Afternow

01Runs on its own at 11:59 PM on the last day of every month.

02Attendance is pulled straight from the machine, with no manual exports.

03Every salary is computed from actual present days.

04HR and accounts review and approve instead of counting.

How it works

The full flow,step by step.

Every run follows the same path. Nothing is skipped, everything is logged, and a person can step in at any point.

  1. Attendance machine

    Step 01

    23:59, last day

    A scheduled job wakes up on its own at month-end. Nobody has to remember.

  2. Step 02

    Attendance pulled

    Raw punch logs are fetched from the biometric thumb machine.

  3. Data checks

    Step 03

    Records cleaned

    Duplicate punches and missed check-outs are flagged, never guessed.

  4. Step 04

    Days counted

    Present days are totalled for every employee for the month.

  5. Payroll run

    Step 05

    Salaries computed

    Present days × daily wage for all 4,000 people, in minutes.

  6. Step 06

    Sheet to accounts

    The payroll sheet and payslips are ready for approval the next morning.

See it run

A real run, replayed.

A step-by-step replay of what it does. It plays when you scroll here; hit replay to watch it again.

Scheduled job · payroll · 23:59 on the last day

Sep 30 · last day of month

23:59

  1. Trigger fired
  2. Pulling attendance
  3. Cleaning records
  4. Counting present days
  5. Computing salaries
  6. Sent to accounts

Thumb machine · raw punches

1 duplicate removed · 1 missed check-out flagged for HR

Salary = present days × daily wage

Try it: change the days ↓

EmployeeDept.Present daysWage / daySalary
A. Khan EMP-0412Packaging
··
1,450····
M. Rossi EMP-0907Production
··
1,300····
S. Okafor EMP-1188QA lab
··
1,500····
L. Chen EMP-1563Warehouse
··
1,350····
R. Patel EMP-2290Production
··
1,450····
J. Silva EMP-2731Maintenance
··
1,600····
N. Haddad EMP-3348Packaging
··
1,300····
T. Nguyen EMP-3964Dispatch
··
1,400····
+ 3,992 more employees

Salaries calculated

0

Shown rows total

—

Accounts

Sheet + payslips sent for approval

Sample data · names, numbers and companies are illustrative

Impact

4,000

salaries calculated in every run

23:59

runs itself on the last day of each month

0

attendance sheets counted by hand

Built with

  • Biometric attendance device
  • Scheduled automation
  • Data validation rules
  • Google Sheets / Excel
  • Payslip generation
  • Email to accounts

Next case · 03HVAC services

A receptionist that never misses a call.

Start here

What should webuild first?

Tell us what you have and what's costing you the most. We'll show you what we'd build, and tell you straight if you don't need us.