Actions53
- Attachment Actions
- Collection Actions
- Comment Actions
- Document Actions
- Event Actions
- File Operation Actions
- Group Actions
- User Actions
Overview
The node interacts with the Outline knowledge base API, providing various operations on different resources such as documents, collections, users, groups, attachments, comments, and more. Specifically, for the Document resource and the Get Memberships operation, it retrieves user membership information related to a particular document. This is useful in scenarios where you want to know which users have access or permissions on a specific document within your knowledge base.
Practical examples include:
- Auditing who has access to sensitive documents.
- Managing document permissions by reviewing current memberships.
- Integrating document membership data into workflows for notifications or access control.
Properties
| Name | Meaning |
|---|---|
| Document ID | The unique identifier of the document for which to retrieve user memberships. |
Output
The output is a JSON object (or an array of objects) representing the user memberships associated with the specified document. Each item typically contains details about the users who have access to the document, including their permission levels and possibly other metadata related to their membership.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating requests to the Outline knowledge base API.
- The node uses the Outline API endpoints internally to perform actions.
- No additional external dependencies beyond the configured API authentication are needed.
Troubleshooting
Common issues:
- Providing an invalid or non-existent Document ID will likely result in an error from the API indicating that the document was not found.
- Missing or incorrect API credentials will cause authentication failures.
- Network connectivity issues can prevent successful API calls.
Error messages and resolutions:
- "Document not found": Verify that the Document ID is correct and that the document exists in the Outline knowledge base.
- Authentication errors: Ensure that the API key credential is correctly set up and has sufficient permissions.
- Timeout or network errors: Check internet connectivity and API endpoint availability.
Links and References
- Outline API Documentation (general reference for API endpoints)
- n8n documentation on creating custom nodes (for understanding node structure and usage)