0CodeKit icon

0CodeKit

A toolbox of no-code utilities

Actions114

Date & Time → Holidays

AI-generated

Overview

This node operation retrieves holiday information for a specified year and country, optionally filtered by state. It is useful for workflows that need to account for public holidays, such as scheduling, planning, or regional compliance checks. For example, a business automation could use this to avoid scheduling meetings on public holidays in a specific country or state.

Use Case Examples

  1. Get all public holidays in Germany for the year 2024.
  2. Retrieve holidays in the state of Baden-Württemberg (BW) in Germany for 2023.

Properties

Name Meaning
Year The year for which to retrieve holiday data.
Country Code The country code (e.g., DE for Germany) to specify the country for which holidays are retrieved.
State Optional state code (e.g., BW) to filter holidays within a specific state of the country.
Code Variables Optional code variables that can be used within the node's code editor for dynamic or customized processing of holiday data.

Output

JSON

  • year - The year for which holidays are retrieved.
  • countryCode - The country code used for the holiday query.
  • state - The state code used for filtering holidays, if provided.
  • holidays - An array or list of holiday objects returned for the specified year and location.

Dependencies

  • An API key credential for the 0CodeKit service is required to authenticate requests.

Troubleshooting

  • Ensure the year and country code are provided and valid; missing or incorrect values may cause errors or empty results.
  • If filtering by state, verify the state code is correct and supported for the selected country.
  • Check that the API key credential is correctly configured and has permissions to access the holiday data endpoint.
  • Common errors may include network issues, invalid parameters, or authentication failures; reviewing error messages and logs can help resolve these.

Discussion