N8N Tools - S3 Enhanced icon

N8N Tools - S3 Enhanced

Enhanced S3 operations with presigned URLs, multipart upload, and advanced features

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.


Links and References

Discussion