Box Snap Pack examples
| Example | Snaps used |
|---|---|
|
The following example demonstrates how to add a folder to Box by providing the folder name and parent folder ID. |
|
|
To create a user in Box, supply the following property values in the upstream Snap, followed by Structure before the Box Create User Snap: |
|
|
This Snap retrieves the metadata of the files and the folders of the parent ID that was provided. Supply the following property values: |
|
|
To move a file with File ID |
|
|
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. |
|
|
To update a user in Box, supply the following property values in an upstream Snap (followed by a Structure Snap): |
|
|
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. |