HTTP Get file - output binay

Hello,

I’m struggling with getting a pdf URL, I didn’t find solution in the docs and community.

My scenario is triggered from a signrequest watch event (new signature).
In the data I have the PDF url of the signed doc, that expires after a few minutes.

(https://signrequest-pro.s3.amazonaws.com/docs/2024/08/30/9ae214a2a6085d7b0c1e43fd8661f3949056e237/mandat_de_gestion_butler_-_proprietaire_-_commission_1_signed.pdf?AWSAccessKeyId=AKIAR34EUYGLHZFIU4UH&Signature=MgiXsKo3h7Z2VQvCwMyu5eDCT14%3D&Expires=1725027265)

When opening this url on my browser I see the pdf.
I use then a HTTP module, get file where I pass the url above, but I got as output binary data, and I don’t seem to find how to use it. I wanted to upload the pdf in our drive.

here is what I got out of the http module:

"data": "IMTBuffer(444087, binary, 469e8dc895e846ab1512bccd2b7f02fb78b4826e): 255044462d312e340a25f6e4fcdf0a312030206f626a0a3c3c0a2f54797065202f436174616c6f670a2f50616765732032203020520a2f566965776572507265666572656e636573203c3c0a2f54797065202f566965776572507265666572656e636573",

I tried to upload the binary data, but it’s stored as a doc with binary data, I tried to upload output from the http module, same result.

Any help would be appreciated,
Thanks a lot.

You can map the “data” directly in another integration’s file field, like Google Drive’s “Upload a file”.

If you need further assistance, please provide the following:

1. Relevant Screenshots

Please share screenshots of your scenario, any error messages, relevant module fields, and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:

2. Scenario Blueprint

Please export the scenario blueprint file to allow others to view the mapped variables in the module fields. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

3. Output Bundles of Modules

Please provide the output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.

A. Upload as Text File

Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

B. Insert as Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.
These are the two ways to format text so that it won’t be modified by the forum:

  • Method 1: Type code block manually

    Add three backticks ``` before and after the content/bundle, like this:

    ```
    content goes here
    ```

  • Method 2. Highlight and click the format button in the editor

Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

1 Like

Thanks for the help.

It seems that when passing data in the drive module, the file name didn’t have the .pdf extension. So I manually added it in the name field and now it works.

1 Like