N8N Tools - S3 Enhanced
Actions66
- Generate Presigned URL
- Generate Presigned POST
- Create Bucket
- Delete Bucket
- List Buckets
- Upload Object
- Download Object
- Delete Object
- List Objects
- Copy Object
- Get Object ACL
- Put Object ACL
- Get Bucket ACL
- Put Bucket ACL
- Get Bucket CORS
- Put Bucket CORS
- Delete Bucket CORS
- Get Bucket Lifecycle
- Put Bucket Lifecycle
- Delete Bucket Lifecycle
- Get Bucket Policy
- Put Bucket Policy
- Delete Bucket Policy
- Get Object Tagging
- Put Object Tagging
- Delete Object Tagging
- Get Bucket Tagging
- Put Bucket Tagging
- Delete Bucket Tagging
- Create Multipart Upload
- Upload Part
- Complete Multipart Upload
- Abort Multipart Upload
- List Parts
- List Multipart Uploads
- Get Bucket Versioning
- Put Bucket Versioning
- Get Bucket Logging
- Put Bucket Logging
- Get Bucket Notification
- Put Bucket Notification
- Get Bucket Replication
- Put Bucket Replication
- Delete Bucket Replication
- Get Bucket Encryption
- Put Bucket Encryption
- Delete Bucket Encryption
- Get Bucket Website
- Put Bucket Website
- Delete Bucket Website
- Get Bucket Metrics
- Put Bucket Metrics
- Delete Bucket Metrics
- Get Bucket Analytics
- Put Bucket Analytics
- Delete Bucket Analytics
- Get Bucket Inventory
- Put Bucket Inventory
- Delete Bucket Inventory
- Get Bucket Request Payment
- Put Bucket Request Payment
- Get Bucket Accelerate
- Put Bucket Accelerate
- Head Object
- Restore Object
- Select Object Content
Overview
This node provides enhanced operations for interacting with S3-compatible object storage services. It supports a wide range of bucket and object management features, including generating presigned URLs for secure temporary access, managing buckets (create, delete, list), uploading and downloading objects, handling object tagging, ACLs, lifecycle policies, multipart uploads, and more.
The "Delete Object Tagging" operation specifically deletes all tags associated with a given object in an S3 bucket. This is useful when you want to remove metadata tags from an object, for example, to reset classification or categorization information.
Common scenarios:
- Removing outdated or incorrect tags from an object.
- Cleaning up tags before re-tagging or archiving objects.
- Managing object metadata programmatically as part of data lifecycle workflows.
Practical example:
You have an object stored at folder/file.pdf in the bucket my-bucket-name. You want to remove all tags attached to this object to clear its metadata. Using this node's "Delete Object Tagging" operation, you specify the bucket name and object key, and the node will delete all tags on that object.
Properties
| Name | Meaning |
|---|---|
| Bucket Name | Name of the S3 bucket containing the object. |
| Object Key | Complete path/key of the object within the bucket whose tags are to be deleted. |
Output
The output JSON contains the following fields:
bucket: The name of the bucket where the object resides.key: The key/path of the object whose tags were deleted.message: A confirmation string indicating successful deletion of object tags.
Example output JSON:
{
"bucket": "my-bucket-name",
"key": "folder/file.pdf",
"message": "Object tags deleted successfully"
}
The node does not output binary data for this operation.
Dependencies
- Requires valid credentials for an S3-compatible service with permissions to delete object tagging.
- Uses AWS SDK for JavaScript v3 under the hood.
- Requires configuration of an API key credential with accessKeyId and secretAccessKey, optionally region and endpoint.
- No additional environment variables are needed beyond standard n8n credential setup.
Troubleshooting
Common issues:
- Invalid or missing bucket name or object key parameters.
- Insufficient permissions to delete object tags on the specified bucket/object.
- Network connectivity issues to the S3 endpoint.
- Incorrect or expired credentials.
Error messages and resolutions:
"S3 operation failed: AccessDenied": Check that your credentials have permission to delete object tagging on the target bucket/object."S3 operation failed: NoSuchBucket": Verify the bucket name is correct and exists."S3 operation failed: NoSuchKey": Confirm the object key is correct and the object exists."S3 operation failed: InvalidAccessKeyId"or"Invalid Secret Access Key": Recheck your API key credentials."Cannot connect to endpoint": Validate the endpoint URL and network connectivity.
If the node is set to continue on fail, errors will be returned in the output JSON with success: false and an error message.