Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Forms & Surveys

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

  1. Employee submits monthly hours
  2. Normalize submission
  3. Check the submission
  4. Is it usable?
  5. Save monthly hours
  6. Confirm the submission
  7. Explain what to fix
  8. Configure limits
  9. Get monthly hours
  10. Calculate remaining capacity
  11. Anyone running low?
  12. Split into individual employees
  13. Log warnings
  14. Confirm everyone has room

16 steps in total.

Similar automations