Track & Alert Team Holidays Across Countries with Nager.Date API, Notion and Slack
Who is this for This template is essential for Remote Operations Managers, HR Teams, and Project Leads managing distributed teams across different countries. It prevents scheduling conflicts by automatically flagging when a regional team is out of office and identifying when multiple teams are off simultaneously.
What it does Stop manually Googling "Is it a holiday in Berlin today?" This workflow automates your team availability calendar. It triggers on a weekly schedule. It takes your team's locations (e.g., KR, MX) and a "Lookahead" range (e.g., 50 days). It fetches official public holidays for both the current and next year using the Nager.Date API (to ensure year-end holidays aren't missed). It filters the results to find only holidays occurring within your defined lookahead window. It compares dates across countries to identify "Shared Holidays" (dates where multiple teams are off). It logs these holidays into a Notion database and notifies the team via Slack, specifically highlighting if a holiday is shared.
How to set up Notion: Create a Database with properties: Name (Title), Date (Date), and Shared Countries (Text). Slack: Connect your Slack account in the credentials. Configuration: Define Team Countries: Enter the 2-letter country codes (e.g., "KR", "US") in the Set node. Define Days to Lookahead: Set how many days into the future you want to check (default is 50). Add to Notion: Select your Database ID.
How to customize Filter Logic:** The "Filter Upcoming" node handles the date logic. You can modify this to check for specific holiday types (e.g., exclude "Optional" holidays). Shared Logic:** The "Find Shared Holidays" node calculates overlaps. You can adjust the JavaScript here if you want to change the format of the shared message sent to Slack. Destinations:** Swap the Notion node for Google Calendar to block off time directly.
Related Templates
Extract Title tag and Meta description from url for SEO analysis with Airtable
Extract Title tag and meta description from url for SEO analysis. How it works The workflows takes records from Airtabl...
Restore your workflows from GitHub
This workflow restores all n8n instance workflows from GitHub backups using the n8n API node. It complements the Backup ...
Extract Named Entities from Web Pages with Google Natural Language API
Who is this for? Content strategists analyzing web page semantic content SEO professionals conducting entity-based anal...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments