Passwork icon

Passwork

Interact with Passwork API

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 (Page and Limit) 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.
  • 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 Page or Limit values are out of acceptable ranges; ensure these are valid numbers.

Links and References

Discussion