Actions36
- Document Actions
- Project Actions
- Project Task Actions
- User Actions
- Company Actions
Overview
This node integrates with the awork API to delete a specified document by its ID. It is useful in automation workflows where documents need to be programmatically removed from the awork system, such as cleaning up outdated or irrelevant files.
Use Case Examples
- Automatically delete project-related documents after project completion.
- Remove documents that are no longer needed based on certain workflow triggers.
Properties
| Name | Meaning |
|---|---|
| Document ID | The unique identifier of the document to be deleted, required to specify which document to remove. |
| Request Options | Settings to control request behavior such as batching, SSL certificate validation, proxy usage, and request timeout. |
Output
JSON
success- Indicates whether the document deletion was successful.documentId- The ID of the document that was requested to be deleted.
Dependencies
- Requires an API key credential for authenticating with the awork API.
Troubleshooting
- Ensure the Document ID is correct and exists in the awork system to avoid 'document not found' errors.
- If SSL certificate validation fails, consider enabling 'Ignore SSL Issues' option, but be aware of security risks.
- Check proxy settings if requests fail due to network issues.
- Adjust timeout settings if the server response is slow to prevent premature request abortion.
Links
- awork API Documentation - Official API documentation for awork, useful for understanding available endpoints and request formats.