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
Create a Speech-to-Text API with OpenAI GPT4o-mini Transcribe
Description This template provides a simple and powerful backend for adding speech-to-text capabilities to any applicat...
Automate Daily Keyword Research with Google Sheets, Suggest API & Custom Search
Who's it for This workflow is perfect for SEO specialists, marketers, bloggers, and content creators who want to automa...
USDT And TRC20 Wallet Tracker API Workflow for n8n
Overview This n8n workflow is specifically designed to monitor USDT TRC20 transactions within a specified wallet. It u...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments