Overview
The node integrates with the Readwise Reader API to manage documents and tags. Specifically, the "Delete Document" operation allows users to remove a document from their Readwise Reader account by specifying its unique document ID. This is useful for automating cleanup tasks, managing reading lists, or synchronizing document states between systems.
Practical examples:
- Automatically deleting outdated or irrelevant documents from your Readwise Reader library.
- Integrating with other workflows to remove documents after processing or archiving them elsewhere.
Properties
| Name | Meaning |
|---|---|
| Document ID | The unique ID of the document to delete |
Output
The node outputs JSON data representing the result of the delete operation. Typically, this will include confirmation of deletion or any error messages returned by the Readwise Reader API. There is no indication that binary data is output by this node.
Dependencies
- Requires an API key credential for authenticating with the Readwise Reader API.
- The base URL for API requests is
https://readwise.io/api/v3. - Proper configuration of the API key credential in n8n is necessary for successful operation.
Troubleshooting
- Common issues:
- Providing an invalid or non-existent Document ID will likely cause the API to return an error.
- Missing or incorrect API authentication credentials will prevent the node from connecting to the Readwise Reader API.
- Error messages:
- Errors related to authorization typically indicate problems with the API key; verify the credential setup.
- Errors indicating "document not found" suggest the specified Document ID does not exist or has already been deleted.
- Resolution:
- Double-check the Document ID input for correctness.
- Ensure the API key credential is valid and has appropriate permissions.
- Review API rate limits or service availability if requests fail unexpectedly.
Links and References
- Readwise Reader API Documentation (for detailed API usage and error codes)