Skip to main content

Retrieve file properties

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".

Inputs (what you have)​

NameDescriptionData TypeRequired?
File nameThe name of the file in the Wrkflow. Example: sample_file.pdfText(Short)Yes
FileThe file data item in the Wrkflow. Example: Hubspot AttachmentFileYes

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)​

NameDescriptionData TypeRequired?Example
File nameName of the fileText(Short)Yessample_file.pdf
File typeType (extension) of the fileText(Short)Yespdf
File sizeSize of the file in MBNumberYes20.5

Outcomes​

NameDescription
SuccessThis status is selected when the file type was able to be retrieved
No ResultThis status is selected in the event of the following scenarios:Unable to locate a file with the provided file name in the Data Library
UnsuccessfulThis status is selected in the event of the following scenarios:Unable to determine file typeNeither a file name nor file variable was provided