Actions21
- Attachment Actions
- Directory Actions
- Data Import/Export Task Actions
- File Actions
- Record Actions
Overview
This node interacts with the Caspio REST API to perform operations on various resources, including files. Specifically, the 'Delete' operation under the 'File' resource allows users to delete a specified file from Caspio's storage. This is useful for managing and cleaning up files programmatically within automated workflows, such as removing outdated documents or unwanted uploads.
Use Case Examples
- Deleting a file by its external key to free up storage space.
- Removing a file by its path within a project directory to maintain organized file storage.
Properties
| Name | Meaning |
|---|---|
| File | Specifies the file to delete, which can be identified either by an external key or by its file path within the project. |
Output
JSON
success- Indicates whether the file deletion was successful.message- Provides additional information or error messages related to the deletion operation.
Dependencies
- Requires Caspio OAuth2 API credentials for authentication to access and modify files via the Caspio REST API.
Troubleshooting
- Ensure the provided file identifier (external key or path) is correct and exists in Caspio storage; otherwise, the deletion will fail.
- Authentication errors may occur if the OAuth2 credentials are invalid or expired; re-authenticate to resolve.
- Permission issues might prevent file deletion if the authenticated user lacks necessary rights.
Links
- Caspio n8n Integration Documentation - Official documentation for integrating Caspio with n8n, including file operations.