Forms & Surveys
Track employee overtime limits with n8n forms, Google Sheets and Slack
When a form is submitted, it processes form answers using Google Sheets, Slack.
What it does
### How it works Companies in Japan have to keep every employee's overtime under three ceilings at once: a hard monthly cap, an average across any 2 to 6 consecutive months, and a yearly total. Whoever handles HR usually works this out in a spreadsheet near the end of each month, and the rolling average is the one that gets missed. Employees report their overtime and holiday work for the month through a form. On a schedule the workflow reads every month on file and, for each person, works out how many hours are left under each ceiling. The tightest one wins. Anyone whose remaining hours fall below the threshold is posted to Slack together with the limit that is binding, and the warning is appended to a log. If everyone has room, the manager still gets a one-line confirmation. If a past month is missing, that average is skipped and the gap is named in the alert, so the number is never inflated by guessing. Nothing here decides whether someone may work more. It only says how much room is left. ### Setup steps 1. Add your Google Sheets and Slack credentials. 2. Create a spreadsheet with two tabs, MonthlyHours and WarningLog, using the column names shown in the sheet nodes. 3. Paste the spreadsheet ID into the two config fields: the Configure limits node and the spreadsheetId field in Normalize submission. 4. Set the Slack channel name in Configure limits and invite the bot to that channel. 5. Adjust the limits and the warning threshold if your agreement differs. 6. Share the form URL, run once manually, then activate.
The steps
- Employee submits monthly hours
- Normalize submission
- Check the submission
- Is it usable?
- Save monthly hours
- Confirm the submission
- Explain what to fix
- Configure limits
- Get monthly hours
- Calculate remaining capacity
- Anyone running low?
- Split into individual employees
- Log warnings
- Confirm everyone has room
16 steps in total.
Similar automations
Forms & SurveysAutomate employee leave approvals with Google Forms, Sheets, Gmail and Gemini25 stepsSecurity & ComplianceSecure inbound webhooks with HMAC, rate limits, audit logs, and Slack alerts19 stepsTasks & Project ManagementAutomate offboarding tasks with Google Forms, Sheets, ClickUp and Slack17 stepsMCP Servers & ToolsCheck eBay API Rate Limits as an MCP Server3 steps