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 to manage documents and other related resources. Specifically, for the Document - Delete operation, it allows users to delete a document by specifying its unique Document ID. This is useful in scenarios where you want to programmatically remove outdated or irrelevant documents from your knowledge base to keep content current and organized.
Practical examples include:
- Automatically deleting documents that are no longer needed after a certain workflow step.
- Cleaning up test or temporary documents created during automation.
- Removing documents based on external triggers or conditions in your business process.
Properties
| Name | Meaning |
|---|---|
| Document ID | The unique identifier of the document to delete. |
Output
The output of the delete operation is a JSON object representing the response from the Outline API after attempting to delete the specified document. Typically, this will confirm whether the deletion was successful or provide error details if it failed.
The structure generally includes fields such as status or confirmation messages, but exact fields depend on the Outline API's response format.
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the Outline API via an API key credential configured in n8n.
- The node uses the Outline API endpoints to perform actions; therefore, network access to the Outline service is necessary.
- Proper permissions on the Outline account to delete documents are required.
Troubleshooting
Common issues:
- Invalid or missing Document ID: Ensure the Document ID provided exists and is correct.
- Insufficient permissions: The API key used must have rights to delete documents.
- Network or authentication errors: Verify API credentials and network connectivity.
Error messages:
"Document not found": The specified Document ID does not exist. Check the ID."Unauthorized"or"Forbidden": The API key lacks permission to delete documents. Update credentials or permissions.- Other API errors will be returned as JSON error messages; review them for specific causes.
To resolve errors, verify input parameters, check API credentials, and ensure the Outline service is reachable.
Links and References
- Outline API Documentation (for detailed API endpoint info)
- n8n Documentation (for general usage of custom nodes and credentials)