Dropbox File
Dropbox File works with the files in your Dropbox account: it uploads new files, gets their details or contents, copies, moves, renames, deletes or shares them.
When to use it
- Saving in Dropbox the reports a flow generates.
- Reading the contents of a folder’s documents so an agent summarises them.
- Archiving files by moving them to another folder.
Configuration
The Operation field decides what the component does: Upload (default), Copy, Get, Update, Delete, Move or Share. Mode Of Input decides how you point to the file: By Selection (default), All Folders in Dropbox, By Id, By Filename or By Url.
You need a Dropbox API credential, with which you sign in to your Dropbox account. See Credentials.
| Field | What it does |
|---|---|
| Credential (required) | The Dropbox API credential. |
| Operation | What the component does. |
| Mode Of Input | How you point to the file. |
| Selection Mode | With Get: Folder (default) returns all files in the folder and File, a specific one. |
| Select File | Except with Upload, the file, chosen from your Dropbox. You can also give its ID in File Id. |
| Select Folder | With Upload, Copy, Move, Get and Update, the destination or search folder. Empty, the root. |
| Filename | With Upload, the file name; empty, the one the file brings. With Get, filters by name. |
| File Content | With Upload, the file’s content, for example the output of Binary. |
| New Name | With Update, the file’s new name. |
With Share, the email of the person to share with. |
Advanced options
| Field | What it does |
|---|---|
| Role | With Share, the permission: viewer (default), editor or owner. |
| Send Notification | With Share, emails the person. Off by default. |
| Download Base64 Content | With Get, includes the file’s encoded content. Off by default. |
| Process File Content | With Get, includes the file’s content converted to text. Off by default. |
| File Type | With Get, filters by type: Any (default), Document, Spreadsheet, Pdf, Image and others. |
Output
The Data output holds the result: the files found with their details and, if you ask for it, their contents, or confirmation of the operation.
In tool mode, an agent can use the component by itself. See Tool Mode.
Example
A law firm wants an agent to summarise the new contracts in a folder.
- Add Dropbox File with
Get, Selection Mode set toFolderand choose theContractsfolder. - Turn on Process File Content in the advanced options.
- Pass Data to the agent.
Related components
- Dropbox Folder: works with Dropbox folders.