Track employee overtime limits with n8n forms, Google Sheets and Slack
Ready for 3.0What this workflow does
This workflow has 16 nodes and runs when someone submits an n8n form (“Monthly overtime report”) (plus 1 other trigger). Along the way it connects Google Sheets and Slack.
How it runs
Trigger: When someone submits an n8n form (“Monthly overtime report”) (plus 1 other trigger).
- Normalize submission (Edit Fields (Set)): sets 8 fields: spreadsheetId, employeeId, name…
- Configure limits (Edit Fields (Set)): sets 7 fields: spreadsheetId, currentMonth, monthlyCombinedLimit…
- Check the submission (Code): runs custom JavaScript code
- Get monthly hours (Google Sheets): uses Google Sheets
- Is it usable? (If): checks a condition and branches into true / false
- Calculate remaining capacity (Code): runs custom JavaScript code
- Save monthly hours (Google Sheets): append or update
- Explain what to fix (n8n Form): shows the next form page
- Anyone running low? (If): checks a condition and branches into true / false
- Confirm the submission (n8n Form): shows the next form page
…plus 4 more steps. See the full node list below.
Services it uses
Other Google Sheets + Slack templates (1,314)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (9)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - n8n Form
n8n-nodes-base.form - Split Out
n8n-nodes-base.splitOut - Slack
n8n-nodes-base.slack - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
Quick overview This workflow collects employees’ monthly overtime and holiday work via an n8n form, stores the data in Google Sheets, and checks weekly for anyone nearing monthly, rolling-average, or annual overtime limits before posting warnings (or an…