Dropbox

App · File Storage · 18 actions · 1 trigger

Upload, download, share and organize files in Dropbox, and collect files from clients.

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_path
name_pattern

Event fields

What a run starts with. Later steps read each field with an @ reference.

idtext
nametext
path_displaytext
path_lowertext

Actions

ActionWhat it does
Add text to a fileAdd a line of text to the end of a text file in Dropbox, such as a log or a list, creating the file if it isn't there yet.
Close file requestClose a file request so its link stops taking uploads, for example once a client has sent everything.
Copy file or folderMake a copy of a file or folder somewhere else in Dropbox.
Create folderCreate a new folder in Dropbox.
Create shared linkMake a link to a file or folder that anyone who has it can open to view and download, for example to send a customer their documents.
Delete file or folderDelete a file or folder from Dropbox.
Download fileDownload a file from Dropbox.
Get download linkGet a link that downloads a file straight away, without signing in to Dropbox.
Get file detailsLook up a file or folder in Dropbox: whether it's there, its name, size, when it last changed and its current version.
List file versionsList the earlier versions Dropbox kept of a file, newest first, so one can be put back with Restore file version.
List folder contentsList the contents of a Dropbox folder.
List shared linksList the shared links you've made, for one file or folder or for your whole Dropbox.
Move or rename file or folderMove a file or folder to another place in Dropbox, or rename it by giving it a new name in the same folder.
Request filesMake a file request: a link you send to someone, even without a Dropbox account, so they can upload files straight into a folder of yours, for example a client's tax documents.
Restore file versionPut an earlier version of a file back, or bring back a deleted file.
Search filesFind files and folders in Dropbox by name or by the words inside them.
Turn off shared linkTurn off a shared link so it no longer opens the file or folder.
Upload fileUpload a file to Dropbox at the location you choose.

Add text to a file

Add a line of text to the end of a text file in Dropbox, such as a log or a list, creating the file if it isn't there yet.

Inputs

File pathdropbox_pathtextRequired
The text file to add to, including its name, for example /Logs/requests.txt.
TexttexttextRequired
The text to add. It goes on a new line at the end of the file.

Outputs

createdtrue/false
Whether the file was new, made by this step.
pathtext
The path of the file in Dropbox.
sizenumber
The file's size afterwards, in bytes.
statustext
Example output
{
  "created": false,
  "path": "/Logs/requests.txt",
  "size": 2048,
  "status": "success"
}

Close file request

Close a file request so its link stops taking uploads, for example once a client has sent everything. The files already uploaded stay in the folder.

Inputs

File request IDfile_request_idtextRequired
The file request's ID, as Request files gives it, for example oaCAVmEyrqYnkZX9955Y.

Outputs

idtext
The file request's ID.
is_opentrue/false
Whether the link still takes uploads: false once closed.
statustext
titletext
The file request's title.
Example output
{
  "id": "oaCAVmEyrqYnkZX9955Y",
  "is_open": false,
  "status": "success",
  "title": "Acme 2026 receipts"
}

Copy file or folder

Make a copy of a file or folder somewhere else in Dropbox.

Inputs

File or folder pathfrom_pathtextRequired
The path of the file or folder to copy, for example /Templates/contract.docx.
Copy's pathto_pathtextRequired
Where to put the copy, including its name, for example /Clients/Acme/contract.docx.
Rename automaticallyautorenametrue/false
If something already has that path, add a number to the copy's name instead of failing.Default: false.

Outputs

Response envelope; the payload is in the "path" field.

pathtext
The path of the new copy in Dropbox.
statustext
Example output
{
  "path": "/Clients/Acme/contract.docx",
  "status": "success"
}

Create folder

Create a new folder in Dropbox.

Inputs

Folder pathfolder_pathtextRequired
The path for the new folder (e.g., /Documents/NewFolder).
Rename automaticallyautorenametrue/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"
}

Make a link to a file or folder that anyone who has it can open to view and download, for example to send a customer their documents. If it already has a shared link, you get that one.

Inputs

File or folder pathtarget_pathtextRequired
The path of the file or folder to share, for example /Clients/Acme/proposal.pdf.

Outputs

already_existedtrue/false
True when the file or folder already had this link and no new one was made.
expirestext
When the link stops working, in UTC; empty when it doesn't expire.
nametext
The name of the shared file or folder.
pathtext
Its path in Dropbox, in lower case; empty when you can't see it.
statustext
urltext
The shared link.
Example output
{
  "already_existed": false,
  "expires": "",
  "name": "proposal.pdf",
  "path": "/clients/acme/proposal.pdf",
  "status": "success",
  "url": "https://www.dropbox.com/scl/fi/abc123/proposal.pdf?rlkey=xyz&dl=0"
}

Delete file or folder

Delete a file or folder from Dropbox.

Inputs

File or folder pathtarget_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

Download a file from Dropbox. Left to itself it keeps the file with your other files and hands it on as document_ref (beta), which an AI step or Read a file can open; name a destination path to save it there instead.

Inputs

Dropbox pathdropbox_pathtextRequired
The Dropbox path of the file to download.
Destination pathdestination_pathtext
Where to save the downloaded file. If left blank, the file is kept as a document_ref for later steps.

Outputs

Response envelope; the payload is in the "path" field.

document_reftext
Beta. Reference to the downloaded file, usable as a file input in later steps. Given when no destination path was named.
file_nametext
Beta. The file's name. Given with document_ref.
pathtext
The local path where the file was saved; empty when no destination path was given.
statustext
Example output
{
  "document_ref": "doc_0123456789abcdef0123456789abcdef",
  "file_name": "invoice.pdf",
  "path": "",
  "status": "success"
}

Get a link that downloads a file straight away, without signing in to Dropbox. The link stops working after four hours; use Create shared link for one that lasts.

Inputs

File pathdropbox_pathtextRequired
The path of the file, for example /Quotes/quote-88.pdf.

Outputs

linktext
The link that downloads the file. It works for four hours.
nametext
The file's name.
pathtext
The file's path in Dropbox.
statustext
Example output
{
  "link": "https://uc0a1b2c3d4e5f.dl.dropboxusercontent.com/cd/0/get/quote-88.pdf",
  "name": "quote-88.pdf",
  "path": "/Quotes/quote-88.pdf",
  "status": "success"
}

Get file details

Look up a file or folder in Dropbox: whether it's there, its name, size, when it last changed and its current version.

Inputs

File or folder pathtarget_pathtextRequired
The path of the file or folder, for example /Invoices/invoice-104.pdf.

Outputs

idtext
Dropbox's ID for the file or folder, which stays the same if it moves.
kindtext
file or folder.
modifiedtext
When the file last changed in Dropbox, in UTC; empty for a folder.
nametext
The file's or folder's name.
pathtext
Its path in Dropbox.
sizenumber
The file's size in bytes; 0 for a folder.
statustext
versiontext
The file's current version code; empty for a folder.
Example output
{
  "id": "id:a4ayc_80_OEAAAAAAAAAXw",
  "kind": "file",
  "modified": "2026-03-02T15:04:05Z",
  "name": "invoice-104.pdf",
  "path": "/Invoices/invoice-104.pdf",
  "size": 48213,
  "status": "success",
  "version": "a1c10ce0dd78"
}

List file versions

List the earlier versions Dropbox kept of a file, newest first, so one can be put back with Restore file version. Works for a deleted file too.

Inputs

File pathdropbox_pathtextRequired
The path of the file, for example /Price list.xlsx.
Most versionslimitnumber
How many versions to list, newest first (default 10, at most 100).

Outputs

is_deletedtrue/false
True when the file has been deleted; its versions can still be restored.
statustext
versionslist
The file's versions, newest first.
Example output
{
  "is_deleted": false,
  "status": "success",
  "versions": [
    {
      "modified": "2026-03-02T15:04:05Z",
      "path": "/Price list.xlsx",
      "size": 18734,
      "version": "a1c10ce0dd78"
    },
    {
      "modified": "2026-02-20T09:12:44Z",
      "path": "/Price list.xlsx",
      "size": 18102,
      "version": "a1c10ce0dd77"
    }
  ]
}

List folder contents

List the contents of a Dropbox folder.

Inputs

Folder pathfolder_pathtext
The Dropbox folder to list. Leave blank for the top level of your Dropbox.
Include subfoldersrecursivetrue/false
Set to true to also include files inside subfolders.Default: false.
Limitlimitnumber
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"
}

List the shared links you've made, for one file or folder or for your whole Dropbox.

Inputs

File or folder pathtarget_pathtext
Only list the links to this file or folder, for example /Clients/Acme/proposal.pdf. Leave blank to list every shared link.

Outputs

linkslist
The shared links, at most 1000.
statustext
Example output
{
  "links": [
    {
      "expires": "",
      "name": "proposal.pdf",
      "path": "/clients/acme/proposal.pdf",
      "url": "https://www.dropbox.com/scl/fi/abc123/proposal.pdf?rlkey=xyz&dl=0"
    }
  ],
  "status": "success"
}

Move or rename file or folder

Move a file or folder to another place in Dropbox, or rename it by giving it a new name in the same folder.

Inputs

File or folder pathfrom_pathtextRequired
The path of the file or folder to move, for example /Inbox/report.pdf.
New pathto_pathtextRequired
Where it should end up, including its name, for example /Archive/report.pdf.
Rename automaticallyautorenametrue/false
If something already has the new path, add a number to the name instead of failing.Default: false.

Outputs

Response envelope; the payload is in the "path" field.

pathtext
The new path of the file or folder in Dropbox.
statustext
Example output
{
  "path": "/Archive/report.pdf",
  "status": "success"
}

Request files

Make a file request: a link you send to someone, even without a Dropbox account, so they can upload files straight into a folder of yours, for example a client's tax documents. Nothing is sent; share the link yourself.

Inputs

TitletitletextRequired
What you're asking for, shown to the person uploading, for example Acme 2026 receipts.
Save into folderfolder_pathtextRequired
The Dropbox folder the uploaded files go into, for example /Clients/Acme/Receipts. It's made if it isn't there.
Descriptiondescriptiontext
A note shown to the person uploading, for example which files you need.

Outputs

folder_pathtext
The folder the uploaded files go into.
idtext
The file request's ID.
statustext
titletext
The file request's title.
urltext
The link to send, where people upload the files.
Example output
{
  "folder_path": "/Clients/Acme/Receipts",
  "id": "oaCAVmEyrqYnkZX9955Y",
  "status": "success",
  "title": "Acme 2026 receipts",
  "url": "https://www.dropbox.com/request/oaCAVmEyrqYnkZX9955Y"
}

Restore file version

Put an earlier version of a file back, or bring back a deleted file. The version comes from List file versions.

Inputs

File pathdropbox_pathtextRequired
The path of the file to restore, for example /Price list.xlsx.
VersionversiontextRequired
The version to put back, as List file versions gives it, for example a1c10ce0dd77.

Outputs

idtext
Dropbox's ID for the file or folder, which stays the same if it moves.
kindtext
file or folder.
modifiedtext
When the file last changed in Dropbox, in UTC; empty for a folder.
nametext
The file's or folder's name.
pathtext
Its path in Dropbox.
sizenumber
The file's size in bytes; 0 for a folder.
statustext
versiontext
The file's current version code; empty for a folder.
Example output
{
  "id": "id:a4ayc_80_OEAAAAAAAAAYa",
  "kind": "file",
  "modified": "2026-03-03T10:00:00Z",
  "name": "Price list.xlsx",
  "path": "/Price list.xlsx",
  "size": 18102,
  "status": "success",
  "version": "a1c10ce0dd79"
}

Search files

Find files and folders in Dropbox by name or by the words inside them.

Inputs

Search forquerytextRequired
The words to look for, for example invoice 2026.
In folderfolder_pathtext
Only search inside this folder, for example /Clients. Leave blank to search all of your Dropbox.
Names onlyfilename_onlytrue/false
Match only file and folder names, not the words inside files.Default: false.
Limitlimitnumber
Maximum number of matches to return (default 100, at most 1000).

Outputs

Response envelope; the payload is in the "entries" field.

entrieslist
Paths of the files and folders that matched.
statustext
Example output
{
  "entries": [
    "/Invoices/invoice-2026-01.pdf",
    "/Invoices/2026"
  ],
  "status": "success"
}

Turn off a shared link so it no longer opens the file or folder. The file itself stays in your Dropbox.

Inputs

Shared linkurltextRequired
The shared link to turn off, for example https://www.dropbox.com/scl/fi/abc123/proposal.pdf?rlkey=xyz&dl=0.

Outputs

removedtrue/false
True once the link no longer works.
statustext
urltext
The link that was turned off.
Example output
{
  "removed": true,
  "status": "success",
  "url": "https://www.dropbox.com/scl/fi/abc123/proposal.pdf?rlkey=xyz&dl=0"
}

Upload file

Upload a file to Dropbox at the location you choose.

Inputs

File to uploadfile_pathtextRequired
The file to upload to Dropbox.
Dropbox pathdropbox_pathtextRequired
The destination path in Dropbox (e.g., /folder/file.txt).
Rename automaticallyautorenametrue/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"
}

On this page