Create Davis-Bacon certified payroll and SAM.gov rate alerts with Google Sheets and Gmail
Ready for 3.0What this workflow does
This AI workflow has 23 nodes and runs on a schedule (cron 0 7 * * 1) (plus 1 other trigger). Along the way it connects Google Sheets, OpenAI Chat Model, Slack and Gmail.
How it runs
Trigger: On a schedule (cron 0 7 * * 1) (plus 1 other trigger).
- Set Prevailing Wage Settings (Edit Fields (Set)): sets 8 fields: companyName, payrollEmail, slackChannel…
- Read Projects (Google Sheets): read (sheet)
- Read Wage Rates (Google Sheets): read (sheet)
- Read Timesheets (Google Sheets): read (sheet)
- Check Pay Against Wage Rates (Code): runs custom JavaScript code
- List Back Wages Owed (Code): runs custom JavaScript code
- List Log Rows (Code): runs custom JavaScript code
- Anything to Fix? (If): checks a condition and branches into true / false
- Add to Back Wages Owed (Google Sheets): append (sheet)
- Log Weekly Check (Google Sheets): append (sheet)
…plus 9 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
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 (12)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - n8n Form Trigger
n8n-nodes-base.formTrigger - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Slack
n8n-nodes-base.slack - Convert to File
n8n-nodes-base.convertToFile - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow runs two Monday schedules to generate Davis-Bacon (WH-347) certified payroll spreadsheets from Google Sheets timesheets, validate pay against prevailing wage rates, email project files via Gmail, and separately check SAM.gov for…