OpenProject icon

OpenProject

Interact with OpenProject via API

Actions199

Overview

This node interacts with the "Work Schedule" resource of an external system, specifically allowing users to view details for a particular day of the week. It is useful in scenarios where you need to retrieve or display work schedule information for a specific weekday, such as Monday through Sunday.

For example, you might use this node to:

  • Fetch the work hours or shifts assigned on a given weekday.
  • Display or process scheduling data for a particular day in automation workflows.
  • Integrate with calendar or HR systems to pull daily schedule details.

Properties

Name Meaning
Day The week day number from 1 to 7, where 1 represents Monday and 7 represents Sunday. This property is required to specify which day's schedule to view.

Output

The node outputs JSON data representing the work schedule details for the specified weekday. The exact structure depends on the external API's response but typically includes fields such as working hours, assigned tasks, or shift information for that day.

If the node supports binary data output (not evident from the provided code), it would represent attachments or related files linked to the schedule, but no such indication is present here.

Dependencies

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

Troubleshooting

  • Invalid Day Number: Providing a day value outside the range 1-7 may cause errors or unexpected results. Ensure the day parameter is within this range.
  • Authentication Errors: If the API key or base URL is incorrect or missing, the node will fail to connect. Verify credential configuration.
  • API Response Issues: Changes in the external API or network issues can lead to failures. Check connectivity and API status.
  • Missing Required Property: Omitting the required "Day" property will prevent execution. Always provide this input.

Links and References

Discussion