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 service, providing various operations on different resources such as attachments, documents, collections, users, and more. Specifically, for the Attachment resource with the Get Redirect URL operation, the node retrieves a redirect URL for an existing attachment by its ID. This URL can be used to access or download the attachment directly.
Common scenarios where this is useful include:
- Retrieving a temporary or permanent link to an attachment stored in Outline for sharing or embedding.
- Automating workflows that require fetching attachment URLs to send via email or integrate into other systems.
- Accessing attachments without downloading them through the API, using the redirect URL instead.
Example: You have an attachment ID from a previous step and want to get a direct URL to that file to share with team members or use in another application.
Properties
| Name | Meaning |
|---|---|
| Attachment ID | The unique identifier of the attachment whose redirect URL you want to retrieve. |
Output
The output JSON contains the response from the Outline API for the redirect request. Typically, this includes the redirect URL string or an object containing the URL and possibly metadata about the attachment.
The node does not output binary data for this operation; it only returns JSON data with the redirect URL information.
Example output structure (simplified):
{
"url": "https://outline.example.com/attachments/redirect/abc123"
}
Dependencies
- Requires an API key credential for authenticating with 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.
Troubleshooting
- Invalid Attachment ID: If the provided attachment ID does not exist or is incorrect, the API will return an error. Verify the ID is correct and corresponds to an existing attachment.
- Authentication Errors: Ensure the API key credential is valid and has sufficient permissions to access attachments.
- Network Issues: Connectivity problems may cause request failures. Check network access to the Outline API endpoint.
- API Rate Limits: Excessive requests might be throttled by the Outline API. Implement retry logic or reduce request frequency if needed.
Common error messages:
"Attachment not found": Check the attachment ID."Unauthorized"or"Authentication failed": Verify API credentials."Request timeout": Network or server issues; try again later.
Links and References
- Outline API Documentation — Official API docs for attachments and other resources.
- Outline Knowledge Base — Main site for the Outline product.