[SOLVED] Getting file from URL that redirects

Status: Open · Asked by Luis PW on · 0 views

Luis PW — Question ·

I have a form on Paperform. I upload files there and get the file URL via webhook. However, this URL redirects to a different one. Is there a way to get that final URL? For now, I can use the Upload file (by Pabbly) action, but I was hoping to do it a different way and something that wouldn't cost me any tasks.

Here's an example of such file URL: https://paperform.co/file/s3.amazonaws.com/pf-user-files-01/u-852/uploads/2025-08-07/3o334pz/3m234h5.png

It redirects to: https://pf-user-files-01.s3.amazonaws.com/u-852/uploads/2025-08-07/3o334pz/3m234h5.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIF7PPHJ3FWGVXQCA%2F20250812%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250812T163253Z&X-Amz-SignedHeaders=host&X-Amz-Expires=604800&X-Amz-Signature=b0ec557dd134ec73e8919f199fff63d2bca29832757b0c25e298d71f169de80b

Arshil Ahmad — Reply ·

Hi @Luis PW,

Could you please share the Workflow URL where you have this concern?

Luis PW — Reply ·
Hi @Luis PW,

Could you please share the Workflow URL where you have this concern?


Hi. Thanks for your response. I’m on my phone and not able to share the workflow URL, but the workflow itself isn’t important. This happens on every workflow where I try to extract files from
Paperform file URLs which are received via webhook. Just test it by submitting the first URL with a form and getting the URL via webhook. Then try to upload the file somewhere. You’ll see the error.
Arshil Ahmad — Reply ·

I’m afraid there is no way to convert the file URL to the redirected URL.

Luis PW — Reply ·
I’m afraid there is no way to convert the file URL to the redirected URL.

Never mind. I figured out what the issue was. It was a combination of some tweaking inside Paperform (to make the URLs publicly available), some issues I had in the past with this use case and some stupidity on my part. Thanks for your responses.

Arshil Ahmad — Reply ·

Thank you for the update. We’re glad you were able to find a solution.

Back to all forum threads · Log in to reply