Actions11
File → Upload
AI-generatedOverview
This node allows users to upload files to a MinIO S3 bucket. It supports uploading file data either from a binary field or directly from text content. This is useful for scenarios where files need to be programmatically stored in cloud storage, such as backing up data, storing user uploads, or integrating file storage into automated workflows.
Use Case Examples
- Uploading a user-generated image file from a binary data field to a specified bucket.
- Uploading a text file with content provided as a string to a bucket for later retrieval.
Properties
| Name | Meaning |
|---|---|
| Bucket Name | Specifies the name of the bucket where the file will be uploaded. |
| File Name | Specifies the name of the file to be uploaded. |
| Binary Data | Determines whether the file data to upload should be taken from a binary field (true) or from a text string (false). |
| Binary Property | The name of the binary property containing the file data to upload when Binary Data is true. |
| File Content | The text content of the file to upload when Binary Data is false. |
Output
JSON
json- The response from the MinIO S3 API after uploading the file, typically containing metadata or confirmation of the upload operation.
Dependencies
- Requires an API key credential for MinIO S3 access to authenticate and authorize file operations.
Troubleshooting
- Common issues include providing an incorrect bucket name or file name, which will cause the upload to fail.
- If Binary Data is true but the specified binary property does not exist or contains invalid data, the upload will fail.
- Network or permission errors from the MinIO S3 service can cause the upload to fail; ensure credentials and network access are correct.
Links
- MinIO JavaScript API Documentation - Official documentation for MinIO's JavaScript API used for file operations.