Actions31
- Bookmark Actions
- List Actions
- Tag Actions
- Highlight Actions
- User Actions
- Asset Actions
Asset → Upload
AI-generatedSummary
Uploads an asset
Inputs
- uploadMethod (required) — Method to use for uploading the asset
- binaryPropertyName (required) — Name of the binary property containing the file data
- filename — Custom filename for the uploaded asset (optional, will use binary data filename if not provided)
- mimeType — MIME type of the file (optional, will auto-detect if not provided)
- fileUrl (required) — URL of the file to upload
- filename — Custom filename for the uploaded asset (optional, will extract from URL if not provided)
Output shape
a single asset object
Returns the created asset; may include binary data and metadata. Errors abort the workflow.
Examples
Example 1: Upload file from binary data
Upload Method = binary, Binary Property Name = data, optional Filename and MIME Type
Example 2: Upload file from URL
Upload Method = url, File URL provided, optional Filename