Requesting Assistance: Accessing Hidden/Private File Property via Workflow/Custom Code

Good afternoon!

I hope you’re doing well.

I’m currently working on a custom code aimed at retrieving the PDF file contained within a custom file-type property and sending it to an API that reads the file and returns the information it contains for automatic population of some properties within the workflow object in question.

However, I’ve encountered an obstacle: the file-type property is hidden and private. Is there a way to gain access to the PDF file within this property via workflow/custom code? If not, is there any workaround available to resolve this issue?

Thank you for your assistance.

Best regards,
Luiz Felipe Dias.

@LFDias - even though the file has been marked as private in your setup, there should still be a signed URL available to access the file. You should be able to find that signed URL using the file details API or this specific API call:

/files/v3/files/{fileId}/signed-url

Hope that helps!

Steve

Dear Steve,

Thank you very much for your prompt response and valuable assistance!

Your suggestion regarding the signed URL is incredibly helpful. I will explore the options you provided and proceed accordingly. Your guidance has shed light on a path forward for resolving this issue.

If I encounter any further questions or require additional assistance, I’ll be sure to reach out. Once again, I truly appreciate your support in helping me navigate through this challenge.

Best regards,
Luiz Felipe Dias.