Retrieve file property details
Retrieves the properties of a file uploaded into the Data Library. If both "File name" and "File" are provided then outputs will be provided for "File".
| Name | Description | Data Type | Required? |
|---|
| File name | The name of the file in the Wrkflow. Example: sample_file.pdf | Text(Short) | Yes |
| File | The file data item in the Wrkflow. Example: Hubspot Attachment | File | Yes |
Note: the value of inputs can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data library section. These variables in the Data library section are the outputs of previous Wrk Actions in the Wrkflow.
Outputs (what you get)
| Name | Description | Data Type | Required? | Example |
|---|
| File name | Name of the file | Text(Short) | Yes | sample_file.pdf |
| File type | Type (extension) of the file | Text(Short) | Yes | pdf |
| File size | Size of the file in MB | Number | Yes | 20.5 |
Outcomes
| Name | Description |
|---|
| Success | This status is selected when the file type was able to be retrieved |
| No Result | This status is selected in the event of the following scenarios:Unable to locate a file with the provided file name in the data library |
| Unsuccessful | This status is selected in the event of the following scenarios:Unable to determine file typeNeither a file name nor file variable was provided |