How to download the file that user uploads in agent interface in RPA workflow

I am trying to create a conversation agent, which passes the file from agent to RPA workflow
but it just passes the iresource like

{
“File”:
{ ID :“guid”,
name: “filename.pdf”
Type : “application/pdf”

}

What method we can use to download or get the content of this file in the RPA workflow.

I don’t know exactly where the system stores the user uploaded file