Is there a way to show file(blob) responses from an API to the flow

Is there a way to show file(blob) responses from an API to the flow.

Hey @Shiva_Singhal Can you elaborate a little more about it .

We need to show the Blob Response of an API in the file node of the flow. So that user can download it from there.

Please find the attached screenshot for your reference.

You can use “file” “message type” for this purpose

You can display a file using URL

1 Like

Can you explain a little more about it.

  1. What will be the Data Type for file(blob) type response in api node?


I think if you select encoding null, you will directly get proper PDF file URL in API response (As string)

Either use it directly in File node or use following in fetch from option

{
    "file":{
        "name":"filename",
        "url":"http://www.africau.edu/images/default/sample.pdf"
    }
}

Can you try this and let me know?

1 Like

Converting to url for BLOB which is in pdf format is working fine.

But in case of XLSX format, it is not working.

If we are selecting encoding null in XLSX case, we are getting different output.

Can you tell me the solution for this?