OpenProject icon

OpenProject

Interact with OpenProject via API

Actions199

Overview

The node interacts with a Work Schedule resource to view details about a specific day, particularly focusing on non-working days. It allows users to retrieve information about whether a given date is a non-working day within a work schedule. This can be useful in scenarios such as project management, resource planning, or any workflow that needs to account for holidays or days off.

For example, a user might want to check if May 6, 2022, is a non-working day before scheduling tasks or sending notifications.

Properties

Name Meaning
Date The date of the non-working day to view, provided in ISO 8601 format (e.g., "2022-05-06"). This specifies which day's information to retrieve from the work schedule.

Output

The output contains JSON data representing the details of the specified day in the work schedule. This typically includes whether the day is marked as a non-working day and may include additional metadata related to that day.

If the node supports binary data output, it would generally relate to attachments or files associated with the work schedule day, but based on the provided code and properties, the primary output is JSON data describing the day.

Dependencies

  • Requires an API key credential to authenticate requests to the OpenProject API.
  • Needs the base URL of the OpenProject instance configured in the node credentials.
  • Depends on the @devlikeapro/n8n-openapi-node package for building request properties and handling API interactions.
  • Uses an OpenAPI specification (openapi.json) bundled with the node to define available operations and parameters.

Troubleshooting

  • Invalid Date Format: If the date is not in ISO 8601 format, the API may reject the request or return incorrect data. Ensure the date string follows the "YYYY-MM-DD" format.
  • Authentication Errors: Missing or invalid API credentials will cause authentication failures. Verify that the API key and base URL are correctly set in the node credentials.
  • Resource Not Found: If the specified date does not exist in the work schedule or is outside the valid range, the node may return an empty result or an error. Confirm the date is within the configured work schedule.
  • Network Issues: Connectivity problems with the OpenProject server will prevent data retrieval. Check network access and server availability.

Links and References

Discussion