Templates / Skip weekends and public holidays in schedules with Nager.Date

Skip weekends and public holidays in schedules with Nager.Date

Ready for 3.0

by Bluegum Home · 0 views · created 2026-11-13 · Engineering

Ready 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.

📬 Weekly n8n 3.0 breakage alerts, free

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).

  1. Set gate config (Edit Fields (Set)): sets 9 fields: countryCode, subdivisionCode, timezone…
  2. List years to fetch (Code): runs custom JavaScript code
  3. Fetch public holidays (HTTP Request): calls an HTTP API
  4. Decide if business day (Code): runs custom JavaScript code
  5. 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)

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…

Excerpt from Bluegum Home's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.