Skip to main content

Dropbox Connector

Dropbox Dropbox is a file sharing platform that allows teams to collaborate and share files with one another. The Dropbox component enables interaction with the Dropbox API. Files can be uploaded, downloaded, listed, and moved within a Dropbox account.

API Documentation​

This component was built using the Dropbox API Documentation

Connections​

OAuth 2.0​

OAuth 2.0 Connectivity for Dropbox

This component uses OAuth 2.0 to connect to Dropbox's API.

Prerequisites​

Setup Steps​

To create a Dropbox OAuth 2.0 app, log in to Dropbox and open https://www.dropbox.com/developers/apps:

  1. Select Create app.
  2. Select Scoped access.
  3. Choose the type of access required:
    1. App folder access grants access to a single folder in the user's Apps/ directory. A folder will be created with the same name as the OAuth app.
    2. Full Dropbox access grants access to all files and folders in a user's Dropbox account.
  4. Give the app a name and click Create app.
    1. Take note of the App key and App secret. These are entered in a Dropbox connection config variable.
  5. Under the OAuth2 section add the Redirect URI as https://oauth2.integrations.acme.com/callback.

Under the Permissions tab, choose the permissions the app will need. The actions supported in this component relate to files, so grant the files.metadata.read and files.content.read permissions for read-only access, and also include the files.metadata.write and files.content.write permissions to write files to a user's Dropbox account. Permissions listed under Collaboration and Account Info can be safely ignored.

Configure the Connection​

  • Enter the App key from the Dropbox app's settings page as the App Key.
  • Enter the App secret from the Dropbox app's settings page as the App Secret.

Production Approval​

Dropbox requires third-party OAuth apps to pass a production approval review. Dropbox OAuth apps start in development mode, which are fully functional but limited to 50 total linked users. These apps may be used to build, test, and deploy integrations in this state.

Dropbox apps pass through two states before they are ready for broad deployment.

Development mode (default): New apps start in development mode, limited to 50 total linked users. The OAuth authorization flow works normally for users within this limit. No warning is shown during authentication. Once the app reaches 50 linked users, it is frozen: new users cannot authenticate and the authorization flow returns an error to anyone attempting to connect.

Production approved: Any Dropbox user can authorize the integration without restriction. No warning is shown.

Submit for production approval before broadly deploying the integration to end users. Once an app reaches 50 linked users, Dropbox opens a two-week window to apply for approval. If approval is not granted within this window, the app is frozen: new users cannot authenticate, and the app cannot be unfrozen by unlinking existing users. Production approval is the only path forward once frozen.

The recommended approach: deploy to a small initial group to reach the 50 linked users required for review eligibility, then apply for approval immediately and refrain from waiting to scale broadly.

Apps used solely for internal purposes can remain in development mode and do not require production approval.

Applying for Production Approval​

  1. Open the Dropbox App Console and select the app
  2. On the app's info page, click Apply for Production
  3. Provide the following details (more detail leads to faster review):
    • A description of how the app uses the Dropbox API
    • An app icon
    • A functional description of the integration

Applications are not reviewed until the app has at least 50 linked users. Early review is possible by providing a compelling justification when applying.

App Name Is Locked After Approval

The app name cannot be changed after production approval is granted. Finalize the app name before submitting.

Refer to the Dropbox developer guide for full production approval requirements.

This connection uses OAuth 2.0, a common authentication mechanism for integrations. Read about how OAuth 2.0 works here.

InputCommentsDefault
App KeyGenerate in the Dropbox Developer Portal.
App SecretGenerate in the Dropbox Developer Portal.

Triggers​

New and Updated Files​

Checks for new and updated files on a configured schedule. Set a Look-back Date to sync the folder's existing files once when the instance is deployed.

InputCommentsDefault
ConnectionThe Dropbox connection to use.
Directory PathThe path to a directory within a Dropbox share. Include a leading /.
RecursiveIf true, the response will contain contents of all subfolders.false
Include Deleted?If true, the results will include entries for files and folders that used to exist but were deleted.false
Look-back DateThe date the initial sync starts from, in YYYY-MM-DD format. Cannot be a future date. Leave empty to start from the first recurrence with no backfill. When set, the initial sync reports each file modified on or after this date once; Dropbox has no date filter on folder listing, so the folder is still read in full and the date bounds only what is dispatched.
Team User TypeThe team member context the request runs as: Admin acts with team admin privileges, User acts as the member themselves. This takes effect only when Team Member ID is also set.
Team Member IDThe ID of the team member. Required if Team User Type is set
Initial Sync Page SizeHow many existing entries to read per request while backfilling on deploy. Defaults to 2000, the largest value Dropbox accepts. Lower it when a downstream step is slow enough that a full page of work per round is too much to hand over at once.

Webhook​

Receive and validate webhook requests from Dropbox for webhooks you configure.

InputCommentsDefault
Signing SecretThe 'App Secret' of the Dropbox app, used to verify that an incoming request was signed by Dropbox.

Actions​

Copy Object​

Copy a Folder or File from one path to another

InputCommentsDefault
ConnectionThe Dropbox connection to use.
From PathThe location of a source file within a Dropbox share. Include a leading /.
To PathThe location of a destination file within a Dropbox share. Include a leading /.

Create Folder​

Create a Folder at the specified path

InputCommentsDefault
ConnectionThe Dropbox connection to use.
PathThe location of a file within a Dropbox share. Include a leading /.

Create a shared link with custom settings. If no settings are given then the default visibility is RequestedVisibility.public (The resolved visibility, though, may depend on other aspects such as team and shared folder settings).

InputCommentsDefault
ConnectionThe Dropbox connection to use.
PathThe location of a file within a Dropbox share. Include a leading /.
Link SettingsPassword, expiration, access level, and download controls to apply to the link.
Require PasswordWhen true, the shared link can only be opened by entering the value set in Link Password. When false, Dropbox applies its default setting for the file.false
Link PasswordIf the shared link has a password, this parameter can be used.
ExpiresThe date and time at which the shared link stops working, as an ISO 8601 timestamp in UTC. Leave empty for a link that never expires.
AccessThe access level the audience gains from this link. Modifying the access level of an existing link is not supported.
Allow DownloadWhen true, anyone with the shared link can download the file rather than only preview it. When false, Dropbox applies its default setting for the file.false
AudienceWho is allowed to open the shared link: Public grants access to anyone with the link, Team to members of the Dropbox team, and No One to no one beyond the link's owner. Leave empty to let Dropbox resolve visibility from the team and shared folder settings.
Team User TypeThe team member context the request runs as: Admin acts with team admin privileges, User acts as the member themselves. This takes effect only when Team Member ID is also set.
Team Member IDThe ID of the team member. Required if Team User Type is set

Delete Object​

Delete a Folder or File at the specified path

InputCommentsDefault
ConnectionThe Dropbox connection to use.
PathThe location of a file within a Dropbox share. Include a leading /.

Download File​

Download the file (< 150MB) at the specified path

InputCommentsDefault
ConnectionThe Dropbox connection to use.
PathThe location of a file within a Dropbox share. Include a leading /.
Download as ZipDownload a folder from the user's Dropbox, as a zip file. The folder must be less than 20 GB in size and any single file within must be less than 4 GB in size.false

Export File​

Export the file at the specified path

InputCommentsDefault
ConnectionThe Dropbox connection to use.
Directory PathThe path of the file to be exported.
Team User TypeThe team member context the request runs as: Admin acts with team admin privileges, User acts as the member themselves. This takes effect only when Team Member ID is also set.
Team Member IDThe ID of the team member. Required if Team User Type is set

Get Current Account​

Get information about the currently authenticated user

InputCommentsDefault
ConnectionThe Dropbox connection to use.

Get Download Status​

Get the status of a file download from a URL to Dropbox

InputCommentsDefault
ConnectionThe Dropbox connection to use.
Async Job IDThe identifier of the asynchronous job to check. The Save From URL action returns this value in its response.

Get File Lock​

Return the lock metadata for the given list of paths

InputCommentsDefault
ConnectionThe Dropbox connection to use.
Team Member IDUsed to specify the user to act on behalf of.
File PathThe paths of the files to act on. Each path must include a leading /. Supply this input, Dynamic Paths, or both.
Dynamic PathsA list of file paths referenced from a previous step, each with a leading /. Supply this input, File Paths, or both.

Get Metadata for File or Folder​

Returns the metadata for a file or folder.

InputCommentsDefault
ConnectionThe Dropbox connection to use.
PathThe file or folder to get metadata for. Accepts either a path with a leading / or a Dropbox ID.
Result OptionsOptions that control which records are returned and how the response is shaped.
Include Media InfoIf true, FileMetadata.media_info is set for photo and video.false
Include DeletedWhen true, metadata is returned for a file or folder that has been deleted, instead of the request failing with a not-found error.false
Include Has Explicit Shared MembersIf true, the results will include a flag for each file indicating whether or not that file has any explicit members.false
Team User TypeThe team member context the request runs as: Admin acts with team admin privileges, User acts as the member themselves. This takes effect only when Team Member ID is also set.
Team Member IDThe ID of the team member. Required if Team User Type is set

Get Shared Link File​

Download the shared link's file from a user's Dropbox.

InputCommentsDefault
ConnectionThe Dropbox connection to use.
Shared Link URLThe Dropbox shared link to read the file from, including the full https:// URL.
Directory PathIf the shared link is to a folder, this parameter can be used to retrieve the metadata for a specific file or sub-folder in this folder. A relative path should be used.
Link PasswordIf the shared link has a password, this parameter can be used.
Team User TypeThe team member context the request runs as: Admin acts with team admin privileges, User acts as the member themselves. This takes effect only when Team Member ID is also set.
Team Member IDThe ID of the team member. Required if Team User Type is set

Get Shared Metadata for File​

Returns shared file metadata.

InputCommentsDefault
ConnectionThe Dropbox connection to use.
File IDThe ID for the shared file.
Team User TypeThe team member context the request runs as: Admin acts with team admin privileges, User acts as the member themselves. This takes effect only when Team Member ID is also set.
Team Member IDThe ID of the team member. Required if Team User Type is set

Get Shared Metadata for Folder​

Returns shared folder metadata.

InputCommentsDefault
ConnectionThe Dropbox connection to use.
Shared Folder IDThe ID of the shared folder to retrieve metadata for
Team User TypeThe team member context the request runs as: Admin acts with team admin privileges, User acts as the member themselves. This takes effect only when Team Member ID is also set.
Team Member IDThe ID of the team member. Required if Team User Type is set

Get Team Members​

Get Team Members by Member ID, External ID, or Email

InputCommentsDefault
ConnectionThe Dropbox connection to use.
Lookup ByThe kind of identifier supplied in Lookup Value, which determines how team members are matched.
Lookup ValueThe identifier to look the team member up by. Must match the kind selected in Lookup By.

Get a temporary link to stream content of a file.

InputCommentsDefault
ConnectionThe Dropbox connection to use.
PathThe path of the file to generate a temporary link for.
Team Member IDUsed to specify the user to act on behalf of.

Get a temporary presigned link to upload a file

InputCommentsDefault
ConnectionThe Dropbox connection to use.
PathThe location of a file within a Dropbox share. Include a leading /.
DurationHow long the link will be valid, in seconds. Defaults to 1 hour.3600

List Changes​

List changes that have been made to files in this folder since the last time this action was run.

InputCommentsDefault
ConnectionThe Dropbox connection to use.
Directory PathThe path to a directory within a Dropbox share. Include a leading /.
RecursiveIf true, the response will contain contents of all subfolders.false
Include Deleted?If true, the results will include entries for files and folders that used to exist but were deleted.false
Team User TypeThe team member context the request runs as: Admin acts with team admin privileges, User acts as the member themselves. This takes effect only when Team Member ID is also set.
Team Member IDThe ID of the team member. Required if Team User Type is set

List Folder​

List Folder contents at the specified path

InputCommentsDefault
ConnectionThe Dropbox connection to use.
Directory PathThe path to a directory within a Dropbox share. Include a leading /.
RecursiveIf true, the response will contain contents of all subfolders.false
Fetch AllWhen true, automatically fetches all pages of results using pagination. Cursor and Limit inputs are ignored when this is enabled.false
PaginationCursor and page-size controls for paging through results.
CursorThe pagination cursor returned by a previous request, from Dropbox's list_folder and list_folder/continue endpoints. Leave empty to start from the first page.
LimitThe maximum number of results to return per request. Note: This is an approximate number and there can be slightly more entries returned in some cases.
Team User TypeThe team member context the request runs as: Admin acts with team admin privileges, User acts as the member themselves. This takes effect only when Team Member ID is also set.
Team Member IDThe ID of the team member. Required if Team User Type is set

List Shared Folders​

List shared folders in the account.

InputCommentsDefault
ConnectionThe Dropbox connection to use.
Directory PathThe path to a directory within a Dropbox share. Include a leading /.
Folder ActionsA list of FolderActions corresponding to FolderPermissions that should appear in the response's SharedFolderMetadata.permissions field describing the actions the authenticated user can perform on the folder. This field is optional.
Fetch AllWhen true, automatically fetches all pages of results using pagination. Cursor and Limit inputs are ignored when this is enabled.false
PaginationCursor and page-size controls for paging through results.
CursorThe pagination cursor returned by a previous request, from Dropbox's list_folder and list_folder/continue endpoints. Leave empty to start from the first page.
LimitThe maximum number of results to return per request. Note: This is an approximate number and there can be slightly more entries returned in some cases.

List shared links at the specified path.

InputCommentsDefault
ConnectionThe Dropbox connection to use.
Directory PathThe path to a directory within a Dropbox share. Include a leading /.
Direct OnlyWhen true, returns only links that point at the given path itself and omits links inherited from its parent folders.false
Fetch AllWhen true, automatically fetches all pages of results using pagination. Cursor and Limit inputs are ignored when this is enabled.false
CursorThe pagination cursor returned by a previous request, from Dropbox's list_folder and list_folder/continue endpoints. Leave empty to start from the first page.
Team User TypeThe team member context the request runs as: Admin acts with team admin privileges, User acts as the member themselves. This takes effect only when Team Member ID is also set.
Team Member IDThe ID of the team member. Required if Team User Type is set

List Team's Folders​

List team folders.

InputCommentsDefault
ConnectionThe Dropbox connection to use.
Directory PathThe path to a directory within a Dropbox share. Include a leading /.
Fetch AllWhen true, automatically fetches all pages of results using pagination. Cursor and Limit inputs are ignored when this is enabled.false
PaginationCursor and page-size controls for paging through results.
CursorThe pagination cursor returned by a previous request, from Dropbox's list_folder and list_folder/continue endpoints. Leave empty to start from the first page.
LimitThe maximum number of results to return per request. Note: This is an approximate number and there can be slightly more entries returned in some cases.

Lock File​

Lock the files at the given paths

InputCommentsDefault
ConnectionThe Dropbox connection to use.
Team Member IDUsed to specify the user to act on behalf of.
File PathThe paths of the files to act on. Each path must include a leading /. Supply this input, Dynamic Paths, or both.
Dynamic PathsA list of file paths referenced from a previous step, each with a leading /. Supply this input, File Paths, or both.

Move Object​

Move a Folder or File from one path to another

InputCommentsDefault
ConnectionThe Dropbox connection to use.
From PathThe location of a source file within a Dropbox share. Include a leading /.
To PathThe location of a destination file within a Dropbox share. Include a leading /.

Raw Request​

Send raw HTTP request to Dropbox

InputCommentsDefault
ConnectionThe Dropbox connection to use.
Team User TypeThe team member context the request runs as: Admin acts with team admin privileges, User acts as the member themselves. This takes effect only when Team Member ID is also set.
Team Member IDThe ID of the team member. Required if Team User Type is set
URLThe API path only, such as /file_requests/create. The base URL https://api.dropboxapi.com/2 is applied automatically, so to call https://api.dropboxapi.com/2/file_requests/create enter /file_requests/create.
MethodThe HTTP method to use.
DataThe HTTP body payload to send to the URL.
Form DataThe Form Data to be sent as a multipart form upload.
File DataFile Data to be sent as a multipart form upload.
File Data File NamesFile names to apply to the file data inputs. Keys must match the file data keys above.
Query ParameterA list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2.
HeaderA list of headers to send with the request.
Response TypeThe type of data you expect in the response. You can request json, text, or binary data.json
TimeoutThe maximum time that a client will await a response to its request
Retry Delay (ms)The delay in milliseconds between retries. This is used when 'Use Exponential Backoff' is disabled.0
Retry On All ErrorsIf true, retries on all erroneous responses regardless of type. This is helpful when retrying after HTTP 429 or other 3xx or 4xx errors. Otherwise, only retries on HTTP 5xx and network errors.false
Max Retry CountThe maximum number of retries to attempt. Specify 0 for no retries.0
Use Exponential BackoffSpecifies whether to use a pre-defined exponential backoff strategy for retries. When enabled, 'Retry Delay (ms)' is ignored.false

Save From URL​

Save a file from a URL to Dropbox

InputCommentsDefault
ConnectionThe Dropbox connection to use.
To PathThe path with file name with extension where the URL will be saved to in Dropbox.
URL to SaveThe URL to save to Dropbox
Wait Until CompleteWhen true, polls the save job until it finishes and returns the final job status instead of the initial job ID.false

Search Files​

Search for files at the specified path

InputCommentsDefault
ConnectionThe Dropbox connection to use.
File NameThe term to search for. Matches against file names only, not file contents, so a query of report returns quarterly-report.pdf.
Directory PathThe path to a directory within a Dropbox share. Include a leading /.
Fetch AllWhen true, automatically fetches all pages of results using pagination. Cursor and Limit inputs are ignored when this is enabled.false
PaginationCursor and page-size controls for paging through results.
CursorThe pagination cursor returned by a previous request, from Dropbox's list_folder and list_folder/continue endpoints. Leave empty to start from the first page.
LimitThe maximum number of results to return per request. Note: This is an approximate number and there can be slightly more entries returned in some cases.
Team User TypeThe team member context the request runs as: Admin acts with team admin privileges, User acts as the member themselves. This takes effect only when Team Member ID is also set.
Team Member IDThe ID of the team member. Required if Team User Type is set

Search Folders​

Search for folders at the specified path

InputCommentsDefault
ConnectionThe Dropbox connection to use.
Folder NameThe name of the folder to search for
Directory PathThe path to a directory within a Dropbox share. Include a leading /.
Fetch AllWhen true, automatically fetches all pages of results using pagination. Cursor and Limit inputs are ignored when this is enabled.false
PaginationCursor and page-size controls for paging through results.
CursorThe pagination cursor returned by a previous request, from Dropbox's list_folder and list_folder/continue endpoints. Leave empty to start from the first page.
LimitThe maximum number of results to return per request. Note: This is an approximate number and there can be slightly more entries returned in some cases.
Team User TypeThe team member context the request runs as: Admin acts with team admin privileges, User acts as the member themselves. This takes effect only when Team Member ID is also set.
Team Member IDThe ID of the team member. Required if Team User Type is set

Share Folder​

Share a folder with collaborators. Most sharing will be completed synchronously. Large folders will be completed asynchronously.

InputCommentsDefault
ConnectionThe Dropbox connection to use.
Directory PathThe path or the file id to the folder to share. If it does not exist, then a new one is created.
Sharing PoliciesAccess control, membership, shared link, viewer info, and access inheritance policies to apply.
ACL Update PolicyWho can add and remove members of this shared folder.
Member PolicyWho can be a member of this shared folder. Only applicable if the current user is on a team.
Shared Link PolicyThe policy to apply to shared links created for content inside this shared folder. The current user must be on a team to set this policy to SharedLinkPolicy.members.
Viewer Info PolicyWho can enable/disable viewer info for this shared folder.
Access InheritanceWhether the folder inherits sharing permissions from its parent folder, or manages its own membership independently.
Force AsyncWhen true, the share is performed asynchronously and the response returns an async job ID instead of the completed shared folder metadata.false
ActionsA list of FolderActions corresponding to FolderPermissions that should appear in the response's SharedFolderMetadata.permissions field describing the actions the authenticated user can perform on the folder.[]
Team User TypeThe team member context the request runs as: Admin acts with team admin privileges, User acts as the member themselves. This takes effect only when Team Member ID is also set.
Team Member IDThe ID of the team member. Required if Team User Type is set

Unlock File​

Unlock the files at the given paths

InputCommentsDefault
ConnectionThe Dropbox connection to use.
Team User TypeThe team member context the request runs as: Admin acts with team admin privileges, User acts as the member themselves. This takes effect only when Team Member ID is also set.
Team Member IDThe ID of the team member. Required if Team User Type is set
File PathThe paths of the files to act on. Each path must include a leading /. Supply this input, Dynamic Paths, or both.
Dynamic PathsA list of file paths referenced from a previous step, each with a leading /. Supply this input, File Paths, or both.

Unshare File​

Remove all members from this file. Does not remove inherited members.

InputCommentsDefault
ConnectionThe Dropbox connection to use.
File IDThe ID for the shared file.
Team User TypeThe team member context the request runs as: Admin acts with team admin privileges, User acts as the member themselves. This takes effect only when Team Member ID is also set.
Team Member IDThe ID of the team member. Required if Team User Type is set

Unshare Folder​

Allows a shared folder owner to unshare the folder. Unshare will not work in the following cases: The shared folder contains shared folders OR the shared folder is inside another shared folder.

InputCommentsDefault
ConnectionThe Dropbox connection to use.
Shared Folder IDThe ID for the shared folder.
Leave a CopyIf true, members of this shared folder will get a copy of this folder after it's unshared. Otherwise, it will be removed from their Dropbox. The current user, who is an owner, will always retain their copy.false
Team User TypeThe team member context the request runs as: Admin acts with team admin privileges, User acts as the member themselves. This takes effect only when Team Member ID is also set.
Team Member IDThe ID of the team member. Required if Team User Type is set

Upload File​

Upload a file to the specified path

InputCommentsDefault
ConnectionThe Dropbox connection to use.
PathThe location of a file within a Dropbox share. Include a leading /.
File ContentsThe contents to write to a file. This can be a string of text, it can be binary data (like an image or PDF) that was generated in a previous step.