Hi @dw_22801,
You can use a Update task details action for this. In that action you can set a reference like a link to a file. You just need to collect the file path.
Btw, it looks like you are using a deprecated trigger action. Which I wouldn't recommend using.
Below is an example
1. Place a Get file metadata using path action directly after the trigger action
a. Use the expression below to use the x-ms-file-id property value and decode the characters which are encoded (like the / slash)
replace(replace(triggerOutputs()?['headers/x-ms-file-id'], '%252f', '/'), '%2b', ' ')
2. Place a Update task details action at the end
a. Use the id of the Create a task action
b. Use the File Name variable in the Reference Alias
c. Use the expression below as the hyperlink to the file. In concatenates the site address and the relative file path values together
concat(trigger()['inputs']['parameters']['dataset'], outputs('Get_file_metadata_using_path')?['body/Path'])
