How to create a file from HTTP response Body

Hello all.
I am using Salesforce HTTP request to get the file content.
I am getting Response Body in String format.
Now How can I create a file out of it. (The actual file in Salesforce is PDF)

Hi @Dinesh_Babu_S
Try this might be helpful, use the HTTP Request activity to get the file content, convert it into a byte array, and save it as a PDF file using the Write Binary File

More details : Activities - HTTP Request

Happy Automation

1 Like

Aren’t you using the Salesforce Activities library? There is a Download File activity.

1 Like

Hi @postwick Thanks for your response.
Yes, I am using salesforce Download file activity (Integration service activities).
But it doesn’t have many properties.

I’ll check this.
Thanks for your response. @prashant1603765

@Dinesh_Babu_S

if using http request did you try to check giving filename for response attachment field?

also what issue are you facing with salesforce integration?what exact fields or configuration you would need?

cheers

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.