Box Skills are designed to allow custom processing of files uploaded to Box, with the intent of enhancing the underlying metadata of the file. The benefit towards this system is that it permits the storage of rich information about any files, which may then be used to automated tasks and future processes.
The end-to-end process of a Skills application is as follows.
- Setup up an app - Create a Custom Skills Box application that listens for files being uploaded within the entire enterprise or one or more folders.
- Configure the
invocation_url- After creating the Custom Skills app, an
invocation_urlwill need to be configured. This URL will be called every time a new file is uploaded to Box.
- Parse the event payload - When a file is
uploaded, copied, or moved into a folder that the Box Skill listens to, an
event payload is sent to the
invocation_url. This payload contains two Access Tokens that can be used to access the uploaded file in Box and store metadata back onto the file.
- Send the file for processing - The service that handles the Skill payload sends the file URL or file content to an external service for processing. This service can be a third party machine learning system, or an in-house service.
- Store the metadata on the file - Once the processing service has extracted the metadata for the file, those insights can be stored back on the uploaded file as custom metadata.