Actions9
- User Actions
- Folder Actions
- Password Actions
Overview
This node integrates with the Passwork API to retrieve user notifications. It is designed to fetch paginated notification data for a user, which can be useful in scenarios where you want to monitor or process alerts, updates, or messages related to a user's activity within Passwork. For example, you might use this node to automate workflows that respond to new notifications by sending alerts, updating dashboards, or triggering other processes.
Properties
| Name | Meaning |
|---|---|
| Page | The page number of the notifications list to retrieve (for pagination). |
| Limit | Maximum number of notification results to return per request. Must be at least 1. |
| Raw Result | If set to true, returns the raw API response without additional processing or formatting. |
Output
The node outputs JSON data representing the user's notifications retrieved from the Passwork API. The structure typically includes an array of notification objects containing details such as notification content, timestamps, and status. If the "Raw Result" property is enabled, the output will contain the unprocessed API response as-is.
No binary data output is indicated or expected from this operation.
Dependencies
- Requires an API key credential for authenticating with the Passwork API.
- The base URL for the Passwork API must be configured in the node credentials.
- The node depends on the Passwork API being accessible and responsive.
Troubleshooting
Common Issues:
- Pagination parameters (
PageandLimit) set incorrectly may result in empty or incomplete data sets. - Network connectivity issues or incorrect API base URL configuration can cause request failures.
- Insufficient permissions or invalid API credentials will lead to authentication errors.
- Pagination parameters (
Error Messages:
- Authentication errors typically indicate invalid or missing API credentials; verify and update the API key.
- Rate limiting or quota exceeded errors suggest too many requests in a short time; implement retry logic or reduce request frequency.
- Invalid parameter errors occur if
PageorLimitvalues are out of acceptable ranges; ensure these are valid numbers.
Links and References
- Passwork API Documentation (general reference for API endpoints and usage)
- n8n Documentation on Creating Custom Nodes