MinIO icon

MinIO

Connect to your MinIO server

Actions11

Overview

The node implements an operation to upload (put) an object into a specified bucket in a MinIO-compatible object storage service. This is useful for scenarios where users want to programmatically store files or data blobs into cloud or on-premises object storage systems that support the S3 API, such as backups, media uploads, or data archiving.

For example, you might use this node to:

  • Upload images or documents from n8n workflows into a MinIO bucket.
  • Store generated reports or logs as objects in a bucket for later retrieval.
  • Automate backup of binary data by pushing it into object storage.

Properties

Name Meaning
Bucket Name The name of the bucket where the object will be stored. Can be selected from a list of existing buckets or provided as a string ID.
Object Name The key or name of the object within the bucket. Can be selected from a list of existing objects or provided as a string ID.
Field Name The name of the binary field in the input data that contains the content to upload as the object data. Defaults to "data".

Output

The node outputs JSON data representing the result of the put operation. Typically, this includes metadata about the uploaded object such as its name, bucket, and possibly confirmation of success. If the node supports binary data output, it would relate to the stored object or response metadata, but based on the provided code, the main output is JSON confirming the upload.

Dependencies

  • Requires connection to a MinIO-compatible object storage service.
  • Needs appropriate credentials configured in n8n to authenticate with the storage service.
  • Uses internal methods for credential testing and listing buckets/objects to assist property selection.

Troubleshooting

  • Bucket or Object Not Found: Ensure the bucket name and object name are correct and exist if selecting from lists.
  • Authentication Errors: Verify that the API key or authentication token for the MinIO service is correctly set up in n8n credentials.
  • Binary Field Missing: Confirm that the specified binary field exists in the input data; otherwise, the node cannot upload the object content.
  • Permission Denied: Check that the credentials have write permissions for the target bucket.

Links and References

Discussion