UploadFile
Uploads a local file and links it to a chosen CRM record, making the attachment available for users and workflows.
Input
| Name | Type | Description |
| ModuleName | String | API name of the module where the attachment is uploaded. |
| RecordID | String | Unique identifier of the record to which the attachment is uploaded. |
| UploadFile | String | The full file path of the file to attach to the record. |
| UploadType | String | Type of file being uploaded, such as image or document.
The allowed values are attachment, photo. The default value is attachment. |
| AttachmentURL | String | URL of the file to be attached to the record. |
| FileName | String | Name of the file, used if content is provided directly. |
Result Set Columns
| Name | Type | Description |
| ID | String | Unique identifier of the newly created attachment. |
| Created_Time | String | Timestamp indicating when the attachment was created. |
| Modified_Time | String | Timestamp indicating when the attachment was last modified. |
| Created_By | String | User who created the attachment. |
| Modified_By | String | User who last modified the attachment. |
| Status | String | Status of the upload operation, such as success or failure. |