Skip to content

Dropbox

Dropbox reads files stored in your Dropbox: one specific file or every file in a folder, including its subfolders. It can return the text of the files, so an agent or a model can work with it, or the files themselves, to pass them on to another component.

It reads text documents, PDFs, Word documents, spreadsheets, data files (CSV, JSON, YAML, XML), web pages and code files.

When to use it

  • Summarise the reports your team drops into a shared Dropbox folder.
  • Load a project’s documentation into a knowledge base.
  • Pass a document stored in Dropbox to another component.

Configuration

The component needs a Dropbox API credential connected to your Dropbox account. See Credentials.

FieldWhat it does
Credential (required)The Dropbox credential used to access the files.
Upload file or select fileThe specific file you want to read.
or Select folderThe folder you want to read. If you pick a folder, the folder is read instead of the file.

You must pick a file or a folder.

Output

  • Data: the text of each file read, along with details such as its name and location. Connect it to an agent, a model or a document store.
  • Files: the files as they are, to pass them to components that work with files.

Example

A consultancy keeps the minutes of its client meetings in Dropbox:

  1. Add Dropbox, pick the credential and, in or Select folder, the minutes folder.
  2. Connect Data to an agent that extracts the pending tasks from each set of minutes.
  3. Email the task list to the team.

Good practices

  • Pick the most specific folder you can: all its subfolders are read too.
  • The account of the credential must have access to the files you want to read.
  • File: reads a file you upload to the flow.
  • Parse Data: turns the data read into text.