01Overview
I built a multi-workflow business operations system using n8n to automate employee attendance tracking, working-hour calculations, weekly payroll reporting, and sales and expense reporting.
02Problem
Business operations often involve repetitive tasks such as recording employee attendance, checking clock-in and clock-out records, calculating working hours, preparing payroll information, and compiling sales and expense reports.
Handling these processes manually can require repeated data entry, calculations, and report preparation.
03Solution
I designed a set of automated n8n workflows that process operational data, perform calculations, organize records in Google Sheets, and generate recurring reports.
The system separates daily attendance processing from weekly payroll and recurring business reporting, making each process easier to manage and maintain.
04System Architecture
Employee Attendance
- Employee Attendance
- Attendance Processing
- Working Hours
- Weekly Payroll
Sales & Expenses
- Sales Data + Expense Data
- Data Processing
- Daily Reporting
- Monthly Reporting
The system uses separate workflows for different operational tasks while keeping the data organized across the business reporting process. This diagram only explains the system — the n8n screenshots below are the actual workflows.
0501 — Employee Attendance Automation
An automated workflow for processing employee attendance, clock-in and clock-out information, working hours, and attendance reporting.
Problem
Daily attendance tracking can require checking employee records, determining clock-in or clock-out status, and calculating working hours.
Solution
The workflow processes attendance information, checks clock-in and clock-out records, calculates worked hours, and updates the relevant attendance and time-log records. It also runs an automated attendance reporting step on a schedule.
Actual n8n Workflow
How it works
- 1Employee Attendance
- 2Find Employee
- 3Prepare Attendance Data
- 4Check Clock In / Clock Out
- 5Find Today's Attendance
- 6Record Time Logs
- 7Calculate Worked Hours
- 8Update Worked Hours
0602 — Weekly Payroll & Salary Report
An automated workflow that processes employee time logs and prepares a weekly payroll and salary report.
Problem
Calculating employee salary from working-hour records can require repetitive data processing and calculations.
Solution
The workflow retrieves payroll-related time logs, filters the relevant records, groups the information by employee, calculates salary information, updates the total salary data, and builds a weekly payroll report.
Actual n8n Workflow
How it works
- 1Get Time Logs
- 2Filter Payroll Time Logs
- 3Group Payroll by Employee
- 4Get Employee Information
- 5Combine Data
- 6Calculate Salary
- 7Total Salary
- 8Build Weekly Payroll Report
- 9Send Report
0703 — Sales & Expenses Reporting
An automated workflow that processes daily sales and expense information and generates a structured report.
Problem
Daily sales and expense reporting can require collecting information from separate records, calculating totals, and preparing a summary.
Solution
The workflow retrieves sales and expense records, calculates the day's totals, combines the information, builds a report, formats the message, and sends the report through Telegram.
Actual n8n Workflow
How it works
- 1Sales Sheet
- 2Calculate Today's Sales
- 3Expenses Sheet
- 4Calculate Today's Expenses
- 5Merge
- 6Build Daily Report
- 7Format Telegram Message
- 8Send Message
0804 — Monthly Sales & Expenses Report
An automated monthly reporting workflow that calculates monthly sales and expenses and generates a consolidated report.
Problem
Preparing monthly sales and expense summaries can require collecting data, calculating totals, and manually preparing the final report.
Solution
The workflow retrieves monthly sales and expense data, calculates the relevant totals, builds the monthly report message, and records the report in Google Sheets while sending the report through Telegram.
Actual n8n Workflow
How it works
- 1Monthly Report Trigger
- 2Calculate Monthly Report
- 3Get Sales Monthly
- 4Calculate Sales for Monthly Report
- 5Get Expenses Monthly
- 6Calculate Expenses for Monthly Report
- 7Build Monthly Report Message
- 8Send Report
- 9Save Monthly Sales & Report
——Workflow Screenshots
Employee Attendance & Weekly Payroll
Sales & Expenses Reporting
Monthly Sales & Expenses Report
09Tools Used
n8n
Primary automation platform
Google Sheets
Records and reporting data
Telegram
Report delivery
JavaScript / Code
Calculations and formatting
Schedule Triggers
Recurring runs
Conditional Logic
Clock-in / clock-out routing
Data Processing
Merging and grouping records
Workflow Automation
End-to-end orchestration
10Business Benefits
- Automates repetitive attendance processing
- Organizes employee time records
- Automates recurring payroll calculations
- Simplifies weekly payroll reporting
- Automates sales and expense calculations
- Creates recurring monthly reports
- Centralizes operational information
- Reduces repetitive manual data processing