Here is the flow I am trying to achieve. I am using BOX Java SDK in my application to invoke BOX API.
- A bunch of files get uploaded to a folder (monitored by webhook)
- Application receives webhook trigger for each FILE (metadata )
- If FILE is a non-PDF (RTF, XLS) then convert to PDF
- Upload the converted file to BOX to a different folder
My draft implementation is centered around downloading file to local server on which application is running and then use itext/POI to convert non-PDF to PDF and upload PDF version to BOX.
Is there a simpler approach or a solution this ?