How to manually upload a Binary content (PDF) to an Appian Document?

Certified Senior Developer

Hi,

I'm using an Integration component to call a REST API that allows to return a PDF file (the input is a document ID).

In the Integration Response Body Parsing selection, I've chosen the "Convert binary to Appian object" option to store automatically the document in Appian.

All works fine, the document PDF is retrieved then stored in Appian KC.

The issue I meet is to deal with the error case:
When the API is called with an incorrect Document ID, the Integration error output result is stored in Appian as a Json file.

But I don't want this Json file to be store in the Appian KC.

If I want to choose the "Return raw response body" to manually deal with the raw body response, could you tell me how may I manually convert and upload the binary content to a PDF file in Appian please ?

Regards

  Discussion posts and replies are publicly visible