Actions199
- Collections Actions
- Forms Actions
- Actions Capabilities Actions
- Activities Actions
- Attachments Actions
- Budgets Actions
- Categories Actions
- Custom Actions Actions
- Custom Options Actions
- Documents Actions
- File Links Actions
- View File Link
- Delete File Link
- Open File Link
- Download File Link
- List Project Storages
- Get Project Storage
- Open Project Storage
- Create Storage
- Get Storage
- Update Storage
- Delete Storage
- Get Storage Files
- Prepare Storage File Upload
- Create Storage Folder
- Create Storage Oauth Credentials
- Open Storage
- Create Work Package File Link
- List Work Package File Links
- Grids Actions
- Groups Actions
- Help Texts Actions
- Memberships Actions
- Query Filter Instance Schema Actions
- News Actions
- Notifications Actions
- O Auth 2 Actions
- Posts Actions
- Principals Actions
- Priorities Actions
- Query Columns Actions
- Query Filters Actions
- Query Operators Actions
- Query Sort Bys Actions
- Relations Actions
- Previewing Actions
- Revisions Actions
- Roles Actions
- Time Entries Actions
- Time Entry Activities Actions
- Types Actions
- User Preferences Actions
- Wiki Pages Actions
- Work Schedule Actions
- Meetings Actions
- Values Property Actions
- Projects Actions
- Queries Actions
- Users Actions
- Statuses Actions
- Versions Actions
- Work Packages Actions
- Get Project Work Package Collection
- Create Project Work Package
- List Work Package File Links
- Form Create Work Package In Project
- Project Available Assignees
- List Work Packages
- Create Work Package
- Form Create Work Package
- List Work Package Schemas
- View Work Package Schema
- Delete Work Package
- View Work Package
- Update Work Package
- List Work Package Activities
- Comment Work Package
- Work Package Available Assignees
- Available Projects For Work Package
- List Available Relation Candidates
- Available Watchers
- Create Work Package File Link
- Form Edit Work Package
- Revisions
- Reminders
- List Watchers
- Add Watcher
- Remove Watcher
- Views Actions
Overview
This node operation fetches unread notifications from the OpenProject system. It allows users to retrieve notifications that have not yet been marked as read, filtered by various criteria such as project, reason for notification, or related resource. This is useful in scenarios where you want to monitor new activity or updates relevant to a user without manually checking the OpenProject interface.
Practical examples include:
- Automatically fetching all unread notifications where the user was mentioned.
- Retrieving unread notifications related to a specific project to trigger follow-up actions.
- Filtering notifications by resource type and ID to track changes on particular work items.
Properties
| Name | Meaning |
|---|---|
| Filters | JSON string specifying filter conditions for unread notifications. Supported filters include: id (primary key), project (project the notification belongs to), reason (e.g., "mentioned", "assigned"), resourceId, and resourceType. The format matches the OpenProject queries endpoint. |
Example of a default filter value:
[
{
"reason": {
"operator": "=",
"values": ["mentioned"]
}
}
]
Output
The node outputs an array of JSON objects representing unread notifications matching the specified filters. Each notification object typically contains details such as its ID, associated project, reason for notification, related resource information, and other metadata provided by the OpenProject API.
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to an OpenProject instance via an API key credential.
- The node depends on the OpenProject REST API, specifically the endpoint for querying notifications with filter parameters.
- Proper configuration of the base URL and authentication credentials in n8n is necessary.
Troubleshooting
Common issues:
- Incorrect or malformed JSON in the Filters property can cause query failures.
- Using unsupported filter fields may result in empty responses or errors.
- Network connectivity problems or invalid API credentials will prevent successful requests.
Error messages:
- "Invalid filter format" — Ensure the Filters JSON is correctly structured according to OpenProject's query syntax.
- "Authentication failed" — Verify that the API key credential is valid and has sufficient permissions.
- "Resource not found" — Check that the specified project or resource IDs exist and are accessible.
Links and References
- OpenProject API Documentation - Queries Endpoint
- OpenProject Notifications API (general reference)