Actions84
- Avatar Actions
- Document Actions
- Function Actions
- Messaging Actions
- Create APNS Provider
- Create Email
- Create FCM Provider
- Create Mailgun Provider
- Create MSG91 Provider
- Create Provider
- Create Push
- Create Sendgrid Provider
- Create SMS
- Create SMTP Provider
- Create Subscriber
- Create Telesign Provider
- Create Textmagic Provider
- Create Topic
- Create Twilio Provider
- Create Vonage Provider
- Delete Provider
- Delete Subscriber
- Delete Topic
- Get Message
- Get Provider
- Get Subscriber
- Get Topic
- List Message Logs
- List Messages
- List Provider Logs
- List Providers
- List Subscriber Logs
- List Subscribers
- List Targets
- List Topic Logs
- List Topics
- Update APNS Provider
- Update Email
- Update FCM Provider
- Update Mailgun Provider
- Update MSG91 Provider
- Update Provider
- Update Push
- Update Sendgrid Provider
- Update SMS
- Update SMTP Provider
- Update Telesign Provider
- Update Textmagic Provider
- Update Topic
- Update Twilio Provider
- Update Vonage Provider
- Storage Actions
- Token Actions
- Users Actions
Overview
The node integrates with Appwrite's Storage service, allowing users to manage files and buckets programmatically within n8n workflows. Specifically, the Delete File operation deletes a file from a specified storage bucket in Appwrite.
This operation is useful when you want to automate cleanup tasks, remove outdated or unwanted files, or manage storage space by deleting files based on workflow logic. For example, after processing a file (e.g., image resizing or data extraction), you might want to delete the original file automatically.
Properties
| Name | Meaning |
|---|---|
| Bucket ID | The identifier of the storage bucket where the target file resides. |
| File ID | The identifier of the file to be deleted from the specified bucket. |
Output
The output JSON contains a single object with a success property indicating whether the deletion was successful. Example:
[
{
"success": true
}
]
success: A boolean value (trueorfalse) representing if the file was successfully deleted.
No binary data is output by this operation.
Dependencies
- Requires an API key credential for Appwrite configured in n8n to authenticate API requests.
- Needs the Appwrite endpoint URL and project ID as part of the credentials.
- Uses the official Appwrite SDK internally to perform operations.
Troubleshooting
Common issues:
- Invalid or missing Bucket ID or File ID parameters will cause the operation to fail.
- Insufficient permissions or invalid API credentials can result in authorization errors.
- Attempting to delete a non-existent file will likely return an error.
Error messages:
- Errors related to authentication usually indicate incorrect or expired API keys.
- "File not found" errors suggest the provided File ID does not exist in the specified bucket.
- Network or connectivity errors may occur if the Appwrite server URL is unreachable.
Resolutions:
- Verify that the Bucket ID and File ID are correct and correspond to existing resources.
- Ensure the API key credential has sufficient permissions to delete files.
- Check network connectivity and Appwrite server status.