Box Snap Pack examples

Example Snaps used

Add a folder to Box

The following example demonstrates how to add a folder to Box by providing the folder name and parent folder ID.

Create a user in Box

To create a user in Box, supply the following property values in the upstream Snap, followed by Structure before the Box Create User Snap:

Browse Box files and folders

This Snap retrieves the metadata of the files and the folders of the parent ID that was provided. Supply the following property values:

Move a file in Box

To move a file with File ID 1234 to a chosen location with destination ID 34567 from its existing destination and the name of the file changed to new_name, supply the following property values:

Add and remove a collaborator in Box

The examples assume that you have configured and authorized a valid Box account (see Configuring Box Accounts) to be used with this Snap. The following examples show how to add a collaborator to and then delete the same collaborator from a Box folder.

Update a user in Box

To update a user in Box, supply the following property values in an upstream Snap (followed by a Structure Snap):

Write a file to Box

To write a file to Box, send a file from the File Reader Snap to the Box Write Snap where the file path is set to the destination path. If the Action property is set to Overwrite, it overwrites the existing file. If the Action property is set to Append, it appends the content to the existing file.