Skip to content

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.

FieldWhat it does
Credential (required)The Dropbox API credential.
OperationWhat the component does.
Mode Of InputHow you point to the file.
Selection ModeWith Get: Folder (default) returns all files in the folder and File, a specific one.
Select FileExcept with Upload, the file, chosen from your Dropbox. You can also give its ID in File Id.
Select FolderWith Upload, Copy, Move, Get and Update, the destination or search folder. Empty, the root.
FilenameWith Upload, the file name; empty, the one the file brings. With Get, filters by name.
File ContentWith Upload, the file’s content, for example the output of Binary.
New NameWith Update, the file’s new name.
EmailWith Share, the email of the person to share with.

Advanced options

FieldWhat it does
RoleWith Share, the permission: viewer (default), editor or owner.
Send NotificationWith Share, emails the person. Off by default.
Download Base64 ContentWith Get, includes the file’s encoded content. Off by default.
Process File ContentWith Get, includes the file’s content converted to text. Off by default.
File TypeWith 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.

  1. Add Dropbox File with Get, Selection Mode set to Folder and choose the Contracts folder.
  2. Turn on Process File Content in the advanced options.
  3. Pass Data to the agent.