Actions11
Overview
This node acts as a proxy to interact with Dropbox via a Cloudflare worker, enabling various file and folder operations on a Dropbox account. It supports common file management tasks such as uploading, downloading, copying, moving, deleting files and folders, creating folders, listing folder contents, and running custom queries.
Typical use cases include:
- Automating file uploads to Dropbox from other workflows.
- Managing Dropbox folder structures programmatically.
- Downloading files from Dropbox for further processing.
- Synchronizing files between different paths within Dropbox.
- Querying Dropbox folder metadata for integration or reporting purposes.
For example, you could use this node to upload a generated report file directly into a specific Dropbox folder or to download images stored in Dropbox for processing in subsequent workflow steps.
Properties
| Name | Meaning |
|---|---|
| Operation | The action to perform. Options: Copy a File, Copy a Folder, Create a Folder, Delete a File, Delete a Folder, Download a File, List a Folder, Move a File, Move a Folder, Query, Upload a File. |
| Path | The path of the file or folder on Dropbox to operate on. Required for most operations. |
| Destination Path | The target path used for move or copy operations. |
| Content (Base64) | The Base64-encoded content of the file to upload. Required only for the "Upload a File" operation. |
Output
The output is an array of items where each item contains:
json: The JSON response from the Dropbox API corresponding to the performed operation. This typically includes metadata about files or folders affected by the operation.- For the Download a File operation, the output also includes a
binaryproperty containing the downloaded file data prepared for n8n binary handling under the keydata.
Thus, the node outputs either metadata JSON or both metadata and binary file content depending on the operation.
Dependencies
- Requires an API authentication token and a URL endpoint for the Cloudflare worker acting as a Dropbox proxy.
- The node expects these credentials to be configured in n8n before execution.
- Uses HTTP requests to communicate with the Dropbox API through the proxy.
Troubleshooting
- Missing Credentials Error: If the worker URL or access token is not set, the node will throw an error indicating missing credentials. Ensure that the required API key credential is properly configured.
- File Content Missing for Upload: When performing the upload operation, if the Base64 file content is empty or missing, the node throws an error. Provide valid Base64 encoded content.
- Unsupported Operation: If an invalid operation name is provided, the node will raise an error. Verify the operation parameter matches one of the supported options.
- HTTP Request Failures: Network issues or invalid paths may cause API request failures. Check the correctness of paths and network connectivity.
- Binary Data Handling: For downloads, ensure subsequent nodes can handle binary data correctly.