On-Demand Public Holiday Lookup API
detail.loadingPreview
This n8n workflow transforms a simple webhook request into a powerful tool for instantly retrieving public holiday data. By providing a year and country code, you can get detailed holiday information from the Nager.Date API, making it perfect for custom applications or data integration needs.
About This Workflow
Unlock on-demand access to global public holiday information with this efficient n8n workflow. Designed as a custom API endpoint, it listens for incoming POST requests via a webhook, expecting a year and countryCode. Upon receiving a request, the workflow dynamically queries the Nager.Date API, a reliable source for international holiday data. The retrieved public holiday details, including dates, names, and types, are then immediately returned as a JSON response to the original caller. This setup is ideal for integrating holiday lookup capabilities into your applications, dashboards, or other automated systems without needing to manage complex API keys or rate limits directly.
Key Features
- Custom API Endpoint: Expose a dedicated webhook URL to trigger public holiday lookups on demand.
- Dynamic Data Retrieval: Fetch holidays for any specified
yearandcountryCodeby leveraging the Nager.Date API. - Instant JSON Response: Receive detailed public holiday data directly back to your calling system.
- Extensible & Flexible: Easily add more nodes to filter, format, store (e.g., Google Sheets, database), or further process the holiday data before responding.
- No API Key Required: Utilize the Nager.Date API without needing direct authentication for this specific lookup.
How To Use
- Activate the Workflow: In your n8n instance, import this workflow and ensure it is activated.
- Obtain Webhook URL: Once activated, the 'Receive Holiday Request Webhook' node will display a unique test or production URL. Copy this URL.
- Send POST Request: Make a
POSTrequest to the copied webhook URL with a JSON body containingyear(e.g.,2024) andcountryCode(e.g.,USfor United States,DEfor Germany). Refer to Nager.Date country codes for a full list. - Receive Response: The workflow will process your request, fetch the public holidays, and respond with the holiday data in JSON format.
Apps Used
Workflow JSON
{
"id": "28e0500d-6d31-4daf-bda5-b5f2b8e76421",
"name": "On-Demand Public Holiday Lookup API",
"nodes": 10,
"category": "Operations",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 28e0500d-6d31...
About the Author
DevOps_Master_X
Infrastructure Expert
Specializing in CI/CD pipelines, Docker, and Kubernetes automations.
Statistics
Related Workflows
Discover more workflows you might like
Google Sheets to Icypeas: Automated Bulk Domain Scanning
This workflow streamlines the process of performing bulk domain scans by integrating your Google Sheets data directly with the Icypeas platform. Automate the submission of company names from your spreadsheet to Icypeas for comprehensive domain information, saving valuable time and effort.
Dynamic Bible Scripture Retrieval Workflow
This n8n workflow provides a robust solution for dynamically querying and retrieving Bible scriptures from the getBible.net API. It takes structured JSON input for references, translation, and version, returning the corresponding passages in a standardized API response format.
Instant WooCommerce Order Notifications via Telegram
When a new order is placed on your WooCommerce store, instantly receive detailed notifications directly to your Telegram chat. Stay on top of your e-commerce operations with real-time alerts, including order specifics and a direct link to view the order.