Skip weekends and public holidays in schedules with Nager.Date
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.
What this workflow does
This workflow has 10 nodes and runs on a schedule (cron 0 7 * * *) (plus 2 other triggers). It uses only n8n's built-in nodes.
How it runs
Trigger: On a schedule (cron 0 7 * * *) (plus 2 other triggers).
- Set gate config (Edit Fields (Set)): sets 9 fields: countryCode, subdivisionCode, timezone…
- List years to fetch (Code): runs custom JavaScript code
- Fetch public holidays (HTTP Request): calls an HTTP API
- Decide if business day (Code): runs custom JavaScript code
- Is it a business day? (If): checks a condition and branches into true / false
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.
Nodes used (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp
From the author
Quick overview This workflow runs daily (or as a sub-workflow) and checks whether a given date is a business day by combining weekday rules with public-holiday data from the Nager.Date API, then routes execution to a “continue” or “stop” branch. How it works…