Actions9
- User Actions
- Folder Actions
- Password Actions
Overview
This node integrates with the Passwork API to perform various operations on Passwork resources. Specifically, for the User resource and the New Notifications Count operation, it retrieves the count of new notifications related to the user. This is useful in scenarios where you want to monitor or trigger workflows based on the number of unread or new notifications a user has in Passwork.
Practical examples include:
- Automatically alerting a team when new notifications exceed a threshold.
- Triggering follow-up actions in a workflow when a user receives new notifications.
- Displaying notification counts in dashboards or reports.
Properties
| Name | Meaning |
|---|---|
| Raw Result | If set to true, the node returns the full raw response from the Passwork API; otherwise, it returns a processed or simplified output. |
Output
The node outputs JSON data containing the count of new notifications for the specified user. If the "Raw Result" property is false, the output will likely be a simplified object focusing on the notification count. If "Raw Result" is true, the output includes the complete API response as received from Passwork.
No binary data output is indicated by the source code.
Dependencies
- Requires an API key credential for authenticating with the Passwork API.
- The base URL for the Passwork API must be configured in the credentials.
- The node depends on the Passwork API being accessible and responsive.
Troubleshooting
Common issues:
- Invalid or missing API credentials can cause authentication failures.
- Incorrect base URL configuration may lead to connection errors.
- Network issues or API downtime can prevent successful requests.
Error messages:
- Authentication errors typically indicate invalid or expired API keys.
- HTTP errors (e.g., 404, 500) suggest endpoint or server problems.
- Timeout errors may require checking network connectivity or API status.
To resolve these, verify API credentials, ensure the base URL is correct, and check the Passwork service status.
Links and References
- Passwork API Documentation (general reference for API endpoints and usage)