Required Parameters:

Workspace Description:

1. Make the Call | Creator, HTTPCallerAs this workspace does not require any input data, we use a Creator to get the workflow started. The first HTTPCaller makes a GET call to the Box.com API in order to get the name and extension of the file based on File ID.

2. Download the File | HTTPCaller, JSONFlattenerA second GET call is made to the Box.com API. The response in JSON format contains the download link provided by Box.com. Using JSONFlatter, this value is extracted into an attribute and processed with another HTTPCaller – note that this time we are not calling the Box.com API.

3. Save to File | AttributeFileWriterThe response of HTTPCaller is always saved into an attribute. The AttributeFileWriter is a very powerful transformer that reads the contents of the attribute and saves to disk, using the filename obtained earlier. Instead of terminating the workflow, as a Writer normally would, we could perform further transformations or processing after saving to disk.