Actions53
- Attachment Actions
- Collection Actions
- Comment Actions
- Document Actions
- Event Actions
- File Operation Actions
- Group Actions
- User Actions
Overview
This node interacts with the Outline knowledge base API, allowing users to manage various resources such as attachments, documents, collections, comments, groups, users, and more. Specifically, for the Attachment - Delete operation, it deletes an attachment identified by its ID from the Outline system.
This operation is useful when you want to programmatically remove unwanted or outdated attachments from your knowledge base, helping keep your data clean and relevant.
Practical example:
You have a workflow that processes document updates and removes obsolete attachments automatically to maintain storage hygiene and avoid clutter.
Properties
| Name | Meaning |
|---|---|
| Attachment ID | The unique identifier of the attachment to delete |
Output
The output JSON contains the response from the Outline API after attempting to delete the specified attachment. Typically, this will include confirmation of deletion or any error messages returned by the API.
The node does not output binary data for this operation.
Example output structure (simplified):
{
"success": true,
"id": "attachment-id"
}
or in case of failure:
{
"error": "Error message describing the problem"
}
Dependencies
- Requires an active connection to the Outline API.
- Requires an API authentication token credential configured in n8n to authorize requests.
- The node uses a helper function to make HTTP POST requests to Outline endpoints.
Troubleshooting
Common issues:
- Invalid or missing Attachment ID: Ensure the Attachment ID provided exists and is correct.
- Authentication errors: Verify that the API key or token credential is valid and has sufficient permissions.
- Network or API downtime: Check connectivity and Outline service status.
Common error messages:
"Attachment not found": The specified Attachment ID does not exist; verify the ID."Unauthorized"or"Authentication failed": Check API credentials."Request failed"or other HTTP errors: Inspect network and API endpoint availability.
To resolve errors, confirm input parameters, validate credentials, and ensure the Outline API is reachable.
Links and References
- Outline API Documentation (for detailed API endpoints and usage)
- n8n Documentation (for general node usage and credential setup)