HTTP Request Activity - Receiving data as Binary data and need to covert as PDF

Hi,

Receiving binary data as input from HTTP request activity and need to convert that in to PDF file.

Kindly provide on steps like how can we do it.

Thanks.!

@Muthu_Pandi

  1. Retrieve Binary Data from HTTP Request:
  • Use the “HTTP Request” activity to make the request.
  • Store the binary data in a variable (e.g., binaryData).
  1. Convert Binary Data to PDF:
  • Use the “Write Binary File” activity.
    • File Name: Specify the path with a “.pdf” extension (e.g., “C:\Path\To\Your\File.pdf”).
    • Content: Provide the binary data variable (e.g., binaryData).
  1. Optional: Save PDF to a Specific Location:
  • If desired, use the “Move File” activity.
    • Source: Specify the original file path.
    • Destination: Specify the desired location for the PDF file.

Thanks for your response @Krishna_Raj .

Do we have any package to get “write Binary File” activity. Since am not finding any activity .

@Krishna_Raj there is no such “Write Binary File” activity in UiPath studio. could be please provide more information about it.

To me, it looks like a Chat GPT reply, and those are not always super reliable. I haven’t heard about this activity, and I doubt it exists.

@ABHIMANYU_THITE1 have a look at this thread Binary data in to pdf file - #10 by aanandsanraj

1 Like

@Muthu_Pandi Hi, this kind of question is already answered. please check below link
Base64 binary to file - Help - UiPath Community Forum