Actions20
Overview
This node enables moving files or folders within Dropbox, specifically for the "Search" resource with the "Move" operation. It allows users to relocate files or folders found via search results from one path to another within their Dropbox storage.
Common scenarios include:
- Organizing files discovered through a search query by moving them to a designated folder.
- Automating file management workflows where files matching certain criteria are moved to archive or project-specific folders.
- Streamlining content reorganization after bulk searches.
For example, after searching for all files tagged with a specific keyword, this node can move those files to a new folder for better categorization.
Properties
| Name | Meaning |
|---|---|
| Source Path | Path of the source file or folder to move (e.g., /source/path). This is the current location of the item. |
| Destination Path | Path of the destination where the file or folder will be moved (e.g., /destination/path). |
Output
The output JSON object includes:
resource: Always"file"for this operation.operation: Always"move".source_path: The original path of the file or folder before moving.destination_path: The target path where the file or folder was moved.result: The response data from Dropbox API confirming the move operation details.
Example output structure:
{
"resource": "file",
"operation": "move",
"source_path": "/source/path",
"destination_path": "/destination/path",
"result": {
// Dropbox API response data about the moved item
}
}
No binary data is output by this operation.
Dependencies
- Requires an OAuth 2.0 authenticated connection to Dropbox with appropriate permissions to move files and folders.
- Uses Dropbox API endpoints for file operations.
- The node expects a valid access token, which it refreshes automatically if expired, via an external OAuth handler service.
Troubleshooting
- Invalid Access Token: If the OAuth token is invalid or expired and cannot be refreshed, the node will throw an error indicating failure to refresh the token. Ensure the OAuth credentials are correctly configured and the external token refresh service is reachable.
- Path Errors: Errors may occur if the source or destination paths do not exist or are invalid. Verify that the paths are correct and accessible.
- Permission Denied: Insufficient permissions on Dropbox to move files/folders will cause errors. Confirm that the OAuth token has the necessary scopes.
- API Rate Limits: Dropbox API rate limits might cause temporary failures. Implement retry logic or reduce request frequency if needed.