Actions126
- User Actions
- Group Actions
- Content Actions
- Post Actions
- Comment Actions
- Like Actions
- Activity Actions
- Notification Actions
- Space Actions
- Calendar Actions
- CFile Directory Actions
- CFile Actions
- CFile Item Management Actions
- Survey Actions
- Task Actions
- Task List Actions
- Wiki Page Actions
- Mail Conversation Actions
- Mail Entry Actions
- Mail Recipient Actions
- Session Actions
- File Actions
- Space Membership Actions
- Topic Actions
- Survey Answer Actions
- Survey Answers Actions
- Wiki Page Revision Actions
- Mail Tag Actions
Overview
This node operation fetches unseen notifications from the HumHub API. It is useful for scenarios where you want to retrieve notifications that have not yet been viewed by the user, such as alerting users to new activity or messages. For example, it can be used to build a notification center that displays only new notifications or to trigger workflows based on unseen notifications.
Use Case Examples
- Retrieve all unseen notifications for a user to display in a dashboard.
- Fetch a limited number of unseen notifications for processing or alerting purposes.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authentication to use for the API request, either Basic Auth or JWT Token. |
| Return All | Determines whether to return all unseen notifications or limit the results. |
| Query Parameters | Additional parameters to control pagination when not returning all results. |
Output
JSON
id- Unique identifier of the notification.title- Title or summary of the notification.content- Detailed content or message of the notification.seen- Boolean indicating if the notification has been seen.created_at- Timestamp when the notification was created.
Dependencies
- Requires authentication credentials: either Basic Auth or JWT Token for HumHub API.
Troubleshooting
- If the node returns an error about authentication, verify that the correct credentials are provided and valid.
- If no notifications are returned, check that there are unseen notifications available for the authenticated user.
- Pagination parameters must be within allowed ranges; ensure 'Limit' is between 1 and 50 and 'Page' is at least 1.
Links
- HumHub API Notifications Documentation - Official API documentation for managing notifications in HumHub.
