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
The node "N8N Tools - S3 Enhanced" provides a comprehensive set of operations to interact with S3-compatible object storage services. It supports advanced features such as generating presigned URLs and POSTs for secure temporary access, multipart uploads for large files, bucket and object management, ACL and tagging configurations, lifecycle policies, versioning, logging, notifications, replication, encryption, website hosting, metrics, analytics, inventory, request payment settings, accelerate configuration, and querying object content using SQL expressions.
This node is beneficial in scenarios where users need fine-grained control over S3 buckets and objects beyond simple upload/download, including managing bucket policies, multipart uploads, or generating temporary access URLs without exposing credentials.
Practical examples:
- Generating a presigned URL to allow a client to download a file securely without sharing AWS credentials.
- Initiating a multipart upload for uploading large files in parts.
- Listing all parts of an ongoing multipart upload to monitor progress.
- Setting bucket lifecycle rules to automatically archive or delete old objects.
- Copying objects between buckets within the same or different regions.
- Querying CSV data stored in an object using SQL expressions to extract specific rows.
Properties
| Name | Meaning |
|---|---|
| Bucket Name | Name of the S3 bucket to operate on. |
| Upload ID | Multipart upload ID used to identify a specific multipart upload session. |
For the List Parts operation specifically, the node requires:
- Bucket Name: The target bucket containing the multipart upload.
- Upload ID: The identifier of the multipart upload whose parts are to be listed.
Output
The output JSON structure for the List Parts operation includes:
bucket: The name of the bucket.key: The object key (path) associated with the multipart upload.uploadId: The multipart upload ID.parts: An array of parts uploaded so far, each typically containing metadata like part number, ETag, size, and last modified date.maxParts: The maximum number of parts returned in this response.isTruncated: A boolean indicating if there are more parts available beyond those returned.
This output allows users to inspect the status and details of each uploaded part in a multipart upload session.
Dependencies
- Requires an S3-compatible service endpoint with valid credentials (access key ID, secret access key, optional session token).
- Uses AWS SDK clients internally to communicate with the S3 API.
- Requires proper n8n credential setup for the S3-compatible service.
- No additional environment variables are explicitly required beyond the configured credentials.
Troubleshooting
Invalid Credentials Errors:
Common error messages include invalid access key ID or secret access key. Verify that the provided credentials are correct and have sufficient permissions.Connection Issues:
Errors like "Cannot connect to endpoint" indicate network or endpoint misconfiguration. Check the endpoint URL and network connectivity.Invalid JSON Format:
For properties expecting JSON input (not applicable directly to List Parts but relevant for other operations), ensure the JSON is well-formed.Multipart Upload Not Found:
If the specified upload ID does not exist or has been completed/aborted, the node may return errors or empty results. Confirm the upload ID is current and valid.Permission Denied:
Access denied errors suggest insufficient permissions on the bucket or multipart upload. Ensure the credentials have appropriate rights.