Actions132
- AI Actions
- Extract Text From Document
- Check Content Policy
- Detect Adult Content
- Detect Brand
- Detect Color
- Detect Email Type
- Detect Faces
- Extract Entities
- Extract Contact Information
- Extract Customizable Information From Text
- Fuzzy Text Matcher
- Generate Image
- Generate JavaScript Code
- Generate Python Code
- Detect Language
- Detect Mood
- Extract Text From PDF
- Recognize Objects in Image
- Extract Text From Image
- Redact Sensitive Information From PDF
- Remove Background Image
- Summarize Text
- Transcribe
- Translate Text
- Image Actions
- Business Actions
- Convert Actions
- Generate Actions
- Crypto Actions
- Operator Actions
- Storage Actions
- Scheduler Actions
- Text Actions
- Chart Actions
- Code Actions
- Calculate Actions
- Date and Time Actions
- PDF Actions
- Compress PDF File
- Count PDF Pages
- Create Empty PDF
- Decrypt PDF
- Convert DOCX to PDF
- Draw Image on PDF
- Draw Text on PDF
- Encrypt PDF
- Convert HTML to PDF
- Convert Markdown to PDF
- Manage PDF Metadata
- Merge PDF Files
- Add PDF Pages
- Remove PDF Pages
- Resize PDF Pages
- Rotate PDF Pages
- Convert PDF to Base64
- Convert PDF to Image
- Split PDF File
- Add Image Watermark to PDF
- Add Text Watermark to PDF
- Shortened URL Actions
Date and Time → Get Holidays
AI-generatedOverview
The "Get Holidays" operation under the "Date and Time" resource in this node allows users to retrieve a list of public holidays for a specified country and year. This is useful for workflows that need to account for non-working days, plan events around holidays, or adjust scheduling based on local public holidays.
For example, a user might use this node to:
- Automatically skip sending marketing emails on public holidays.
- Adjust project timelines by excluding holidays.
- Generate reports that highlight holiday periods.
Properties
| Name | Meaning |
|---|---|
| Country Code | The ISO country code representing the country for which to get holidays (e.g., DE, US, FR). |
| Year | The year for which to retrieve the holidays (e.g., 2024). |
Output
The node outputs JSON data containing the list of holidays for the specified country and year. Each holiday entry typically includes details such as the date and name of the holiday.
If the node supports binary data output, it would be related to any downloadable content or attachments associated with the holidays, but based on the provided information, the output is primarily JSON structured data listing holidays.
Dependencies
- Requires an API key credential for authentication with the external service at
https://prod.0codekit.com. - The node sends a POST request to the
/dateandtime/holidaysendpoint with the country code and year in the request body.
Troubleshooting
Common issues:
- Invalid or unsupported country codes may result in empty or error responses.
- Providing a year in an incorrect format could cause the API to reject the request.
- Network or authentication errors if the API key is missing or invalid.
Error messages:
- Authentication failures usually indicate missing or incorrect API credentials.
- Validation errors may occur if required parameters are missing or malformed.
To resolve these:
- Ensure the country code follows standard ISO codes.
- Use a valid four-digit year.
- Verify that the API key credential is correctly configured in n8n.
Links and References
- ISO 3166 Country Codes
- Public Holidays API Documentation (hypothetical link based on base URL)