Skip to main content

Dropbox

Upload files from your workflow, download them for later blocks, list and search folders, move, delete and share files in Dropbox.

Slugdropbox
Base URLhttps://api.dropboxapi.com/2
Auth optionsSign in with Dropbox, Your own Dropbox app
Test connectionPOST /users/get_current_account

1. Choose how to connect​

  • Sign in with Dropbox is one click: you approve on Dropbox's consent page and you're done. It's only shown when Blokkio offers one-click sign-in for this app; otherwise use the token option below.
  • Your own Dropbox app: when one-click isn't offered.
    1. Go to the Dropbox App Console → Create app → Scoped access, Full Dropbox (or App folder to limit Blokkio to one folder) and a name.
    2. On Permissions, tick files.metadata.read, files.content.read, files.content.write, sharing.read and sharing.write, then Submit.
    3. On Settings, add the redirect URI https://api.blokkio.com/api/connections/oauth2/callback (also shown in the connection dialog) and copy the App key and App secret.

The access tokens generated in the App Console expire after a few hours, so Blokkio always connects through sign-in and refreshes the token itself.

2. Create the connection​

  1. In Blokkio, go to Apps and open Dropbox.
  2. Click Connect (for your own app, enter the App key and App secret first) and allow access in Dropbox.
  3. Test connection calls users/get_current_account.

Paths​

Paths start with / and are relative to your Dropbox (or to the app's folder for App folder apps): /Invoices/2026/invoice-42.pdf. Leave Folder empty in List folder for the top folder.

Files in and out​

  • Upload file takes a file from an earlier block, for example {{ $nodes.Download.output.file }} or an email attachment. Path is the full path including the file name. With If the file exists = Keep both, a conflict saves name (1).pdf; Overwrite replaces the file. Up to 25 MB per upload.
  • Download file returns { file }; use {{ $nodes.<node>.output.file }} in the next block (attach it to an email, upload it elsewhere…).
  • Get temporary link returns a direct link valid for 4 hours; Create shared link a permanent one.

Actions​

Use them with the App Action node. Lists return { items, count }; actions that read every page return { items, pages } (turn off Fetch all pages or lower Max pages in the node to read less).

ActionKeyWhat it doesInputs (required)
Upload fileupload_fileUploads a file from another block (up to 25 MB).File, Path, If the file exists, Rename on conflict, Don't notify devices
Download filedownload_fileDownloads a file; use {{ $nodes.<this>.output.file }} in later blocks.Path
List folderlist_folderFiles and folders in a folder (first page; use List folder (continue) with the cursor for more).Folder, Include subfolders, How many
List folder (continue)list_folder_continueThe next page of List folder.Cursor
SearchsearchFiles and folders by name or content.Search, In folder, How many, File names only
Get file infoget_metadataPath
Create foldercreate_folderPath, Rename on conflict
Move or renamemoveFrom, To, Rename on conflict
DeletedeleteDeletes a file or folder (recoverable from Dropbox's deleted files for a while).Path
Get temporary linkget_temporary_linkA direct download link that works for 4 hours.Path
Create shared linkcreate_shared_linkA link anyone (or your team) can open. Fails with shared_link_already_exists if there is one: use List shared links.Path, Who can open it, Expires
List shared linkslist_shared_linksExisting shared links of a file or folder.Path

Triggers​

Use them with the App Trigger node. A trigger checks the app at its polling interval (the shortest allowed depends on your plan, see Plans and limits) and starts one run per new item, oldest first. The first check after you publish only records what already exists, so only items created after that start runs. Each run gets the item as $trigger (for example {{ $trigger.id }}).

TriggerKeyWhat starts a runInputs (required)Output
New filenew_fileFiles uploaded to a folder (folders are skipped). Up to 2,000 entries are checked.Folder, Include subfoldersid, name, path_display, size, server_modified, rev

A file moved into the folder keeps its original upload date and does not start a run. Use Download file with {{ $trigger.path_display }} to get its content.

Troubleshooting​

MessageWhat to do
HTTP 409 … path/not_foundNothing at that path. Paths start with /; check the folder names.
HTTP 409 … path/conflictA file exists there: set If the file exists or Rename on conflict.
HTTP 409 … shared_link_already_existsUse List shared links to get the existing link.
HTTP 401 … missing_scopeThe Dropbox app lacks a permission. Tick it in the App Console and reconnect.