Actions9
- Message Actions
- Upload Actions
- Raw API Actions
Upload → Upload and Return Attachment
AI-generatedSummary
Upload a binary file to MAX as an attachment of a specified type and return the resulting attachment object along with upload details.
Inputs
- Attachment Type (required) — Select the type of attachment to upload (audio, file, image, video). Defaults to 'file'.
- Binary Property (required) — Name of the binary property in the input item containing the file to upload. Defaults to 'data'.
Output shape
a list of JSON objects each containing the uploaded attachment, upload link, and upload result information corresponding to each input item.
The operation automatically requests an upload URL from MAX, uploads the binary data, and returns a normalized attachment payload. Supports multiple items, outputs results paired by item index. Errors can be returned per item if continueOnFail option is enabled.