Dropbox
App · File Storage · 5 actions · 1 trigger
Upload, download, and organize content in Dropbox.
Triggers
Start a workflow when something happens in Dropbox. See how triggers work.
Dropbox New File
Triggers when a new file is added to Dropbox
Filters
Narrow which events start a run.
folder_pathname_pattern
Event fields
What a run starts with. Later steps read each field with an @ reference.
idtextnametextpath_displaytextpath_lowertext
Actions
| Action | What it does |
|---|---|
| Create Dropbox folder | Create a new folder in Dropbox. |
| Delete Dropbox file or folder | Delete a file or folder from Dropbox. |
| Download file from Dropbox | Download a file from Dropbox and save it to a location you choose. |
| List Dropbox folder contents | List the contents of a Dropbox folder. |
| Upload file to Dropbox | Upload a file to Dropbox at the location you choose. |
Create Dropbox folder
Create a new folder in Dropbox.
Inputs
- Folder path
folder_pathtextRequired - The path for the new folder (e.g., /Documents/NewFolder).
- Rename automatically
autorenametrue/false - Automatically rename if a folder with the same name exists.Default:
false.
Outputs
Response envelope; the payload is in the "path" field.
pathtext- The display path of the created folder.
statustext
Example output
{
"path": "/Documents/NewFolder",
"status": "success"
}Delete Dropbox file or folder
Delete a file or folder from Dropbox.
Inputs
- File or folder path
target_pathtextRequired - The path of the file or folder to delete, for example /folder/file.txt.
Outputs
Response envelope; the payload is in the "deleted" field.
deletedtrue/false- True if the deletion was successful.
statustext
Example output
{
"deleted": true,
"status": "success"
}Download file from Dropbox
Download a file from Dropbox and save it to a location you choose.
Inputs
- Dropbox path
dropbox_pathtextRequired - The Dropbox path of the file to download.
- Destination path
destination_pathtext - Where to save the downloaded file. If left blank, a temporary folder is used.
Outputs
Response envelope; the payload is in the "path" field.
pathtext- The local path where the file was saved.
statustext
Example output
{
"path": "/tmp/downloaded_file.txt",
"status": "success"
}List Dropbox folder contents
List the contents of a Dropbox folder.
Inputs
- Folder path
folder_pathtext - The Dropbox folder to list. Leave blank for the top level of your Dropbox.
- Include subfolders
recursivetrue/false - Set to true to also include files inside subfolders.Default:
false. - Limit
limitnumber - Maximum number of items to return (default 200).
Outputs
Response envelope; the payload is in the "entries" field.
entrieslist- List of file and folder paths in the directory.
statustext
Example output
{
"entries": [
"/Documents/file1.txt",
"/Documents/file2.pdf",
"/Documents/Subfolder"
],
"status": "success"
}Upload file to Dropbox
Upload a file to Dropbox at the location you choose.
Inputs
- File to upload
file_pathtextRequired - The file to upload to Dropbox.
- Dropbox path
dropbox_pathtextRequired - The destination path in Dropbox (e.g., /folder/file.txt).
- Rename automatically
autorenametrue/false - Automatically rename the file if one with the same name already exists.Default:
true.
Outputs
Response envelope; the payload is in the "path" field.
pathtext- The display path of the uploaded file in Dropbox.
statustext
Example output
{
"path": "/Documents/uploaded_file.txt",
"status": "success"
}