Actions53
- Attachment Actions
- Collection Actions
- Comment Actions
- Document Actions
- Event Actions
- File Operation Actions
- Group Actions
- User Actions
Overview
This node integrates with the Outline knowledge base API, allowing users to perform various operations on different resources such as documents, collections, groups, attachments, comments, and more. Specifically for the Document resource and the Archive operation, the node archives a specified document by its ID. Archiving a document typically means marking it as inactive or hidden without deleting it permanently, which is useful for managing document lifecycle and keeping the knowledge base organized.
Common scenarios where this node is beneficial include:
- Automating document management workflows in a knowledge base.
- Archiving outdated or irrelevant documents programmatically.
- Integrating document lifecycle actions into larger automation pipelines.
Example use case:
- Automatically archive documents that have not been updated for a certain period.
- Archive documents after a review process completes.
Properties
| Name | Meaning |
|---|---|
| Document ID | The ID of the document to be archived. |
Output
The output JSON contains the response from the Outline API after attempting to archive the document. This typically includes confirmation details about the archived document or an error message if the operation failed.
The structure is generally:
{
"id": "string",
"archived": true,
// other document metadata fields returned by the API
}
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating with the Outline knowledge base API.
- The node uses the Outline API endpoints via HTTP POST requests.
- No additional external dependencies beyond the configured API authentication.
Troubleshooting
Common issues:
- Invalid or missing Document ID will cause the API request to fail.
- Insufficient permissions or invalid API credentials can result in authorization errors.
- Network connectivity issues may prevent successful API calls.
Error messages:
"Document not found": Verify the Document ID is correct and exists."Unauthorized"or"Authentication failed": Check the API key credential configuration."Request failed"or timeout errors: Ensure network access to the Outline API endpoint.
Resolution tips:
- Double-check the Document ID input.
- Confirm API credentials are valid and have necessary permissions.
- Retry after resolving any network issues.
Links and References
- Outline API Documentation (for detailed API endpoints and parameters)
- Outline Knowledge Base