OpenProject icon

OpenProject

Interact with OpenProject via API

Actions199

Overview

This node interacts with the OpenProject API to read notifications based on specified filter criteria. It is useful for workflows that need to retrieve and process user notifications from OpenProject, such as alerts about mentions, assignments, or updates related to projects or resources.

Practical examples include:

  • Automatically fetching all notifications where a user was mentioned to trigger follow-up actions.
  • Filtering notifications by project to monitor activity in specific projects.
  • Retrieving notifications related to particular resource types or IDs for detailed tracking.

Properties

Name Meaning
Filters JSON string specifying filter conditions for reading notifications. Supports filtering by: id (primary key), project (project of notification), reason (e.g., "mentioned", "assigned"), resourceId (ID of related resource), and resourceType (type of related resource). The filters use the same format as OpenProject query filters. Default example filters notifications where the reason equals "mentioned".

Output

The node outputs JSON data representing the notifications retrieved from OpenProject according to the applied filters. Each notification object typically includes details such as its ID, associated project, reason for notification, related resource information, and timestamps.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating with the OpenProject API.
  • Needs the base URL of the OpenProject instance configured in the node credentials.
  • Depends on the OpenProject REST API being accessible and properly configured to allow querying notifications.

Troubleshooting

  • Common issues:

    • Invalid or malformed JSON in the Filters property can cause request failures.
    • Incorrect or missing API credentials will result in authentication errors.
    • Using unsupported filter fields may lead to empty results or API errors.
    • Network connectivity problems to the OpenProject server will prevent data retrieval.
  • Error messages and resolutions:

    • Authentication failed: Verify the API key and base URL are correct and have sufficient permissions.
    • Invalid filter format: Ensure the Filters JSON matches the expected structure and supported fields.
    • No notifications found: Check filter criteria; try broadening filters or removing them to confirm data presence.

Links and References

Discussion