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 actions such as moving, copying, deleting, uploading, downloading files and folders, listing folder contents, and creating folders.
The "Move a Folder" operation specifically allows users to move a folder from one path to another within their Dropbox storage. This is useful for organizing files, restructuring directories, or automating file management workflows.
Practical example:
A user wants to automate the reorganization of project folders by moving completed project folders into an archive directory. Using this node's "Move a Folder" operation, they can specify the source folder path and the destination path to relocate the folder automatically.
Properties
| Name | Meaning |
|---|---|
| Path | The current path of the folder to be moved. |
| Destination Path | The target path where the folder should be moved to. |
Output
The output is a JSON object representing the response from the Dropbox API after attempting to move the folder. It typically contains metadata about the moved folder, such as its new path and other details returned by Dropbox.
No binary data is output for the "Move a Folder" operation.
Example output structure (simplified):
{
"metadata": {
".tag": "folder",
"name": "new-folder-name",
"path_lower": "/destination-path/new-folder-name",
"path_display": "/Destination Path/New Folder Name",
"id": "id:examplefolderid"
}
}
Dependencies
- Requires an API key credential for authenticating with the Dropbox proxy service hosted on a Cloudflare worker.
- The node expects two credential properties:
- A URL endpoint for the Cloudflare worker acting as the Dropbox proxy.
- An access token (API key) for authorization.
- No additional environment variables are required beyond these credentials.
Troubleshooting
- Missing credentials error: If the worker URL or access token is not provided or invalid, the node will throw an error indicating missing credentials. Ensure that both are correctly configured in the node credentials.
- Invalid paths: Providing incorrect or non-existent source or destination paths may cause Dropbox API errors. Verify the folder paths exist and are accessible.
- Permission issues: The access token must have sufficient permissions to move folders in the Dropbox account.
- Unsupported operation error: If an unsupported operation name is used, the node throws an error. Confirm the operation is set to "moveFolder" for this use case.
- Network or API errors: Any HTTP request failure to the proxy or Dropbox API will result in an error. Check network connectivity and API limits.