UploadFile
Uploads a local file and attaches it to a specified record, making it available to users and automation rules.
Input
| Name | Type | Description |
| ModuleName | String | The API name of the module for which the attachment is being uploaded. |
| RecordID | String | The unique identifier (Id) of the record the attachment is associated with. |
| UploadFile | String | The full file path of the file to attach to the record. |
| UploadType | String | The type of file to be uploaded as an attachment.
The allowed values are attachment, photo. The default value is attachment. |
| AttachmentURL | String | The URL of the file to be attached to the record. |
| FileName | String | The name of the file to be attached. Required when content is provided. |
Result Set Columns
| Name | Type | Description |
| ID | String | The unique Id of the attachment that was created. |
| Created_Time | String | The date and time when the attachment was created. |
| Modified_Time | String | The date and time when the attachment was last modified. |
| Created_By | String | The name of the user who created the attachment. |
| Modified_By | String | The name of the user who last modified the attachment. |
| Status | String | The result status of the upload operation. |