Actions17
- Entity Actions
- File Actions
- Instance Actions
- Invoice Actions
- Push Notification Actions
- Repeatable Group Actions
File → Upload
AI-generatedSummary
Upload a binary file from incoming data to a specified file-type field in a Origami CRM record identified by an instance ID.
Inputs
- Entity Name or ID (required) — Select the entity to which the record belongs, either from the list or by specifying an ID using an expression.
- Instance ID (required) — The unique _id of the specific record to attach the file to.
- Field Name or ID (required) — The file-type field on the record to which the file will be uploaded; choose from a list or specify an ID with an expression.
- Input Data Field Name (required) — The name of the incoming binary data property that contains the file to upload, typically 'data'.
Output shape
a single JSON object reflecting the API response for the file upload operation, per input item.
Returns the API response from the file upload endpoint, including success or error details if any. The operation expects binary data to be present in the specified input field; otherwise, an error will be thrown.
Examples
Example 1: Uploading a file to a record's file field
Select the desired entity and record (_id), specify the file-type field on that record, and set the binary property name containing the file data to upload. The node attaches the file to that record.