Dropbox

Learn how to use the Dropbox storage action to build your workflows

Introduction

In this article, you will learn how to use the Dropbox storage action in DBSync Cloud Workflow to automatically upload files to your Dropbox account during workflow execution.

This feature is useful when you need to:

  • Back up data generated by your integration workflows

  • Transfer reports or exported datasets to Dropbox

  • Archive processed documents for future reference or compliance

By incorporating this action into your workflow, you can ensure that important files are securely stored in the cloud, easily accessible, and well-organized as part of your automated data processes.

Use Cases

  • Automatically storing files in Dropbox after processing.

  • Backing up reports generated during workflow.

  • Archiving failed data records for later inspection.

Configuration Steps

  1. Add Dropbox Storage Action to Workflow

  • Drag and drop the Dropbox storage action into your workflow.

  • Click Configure provided on the Dropbox action.

  • Click the dropdown in the Dropbox Connector field and select your Connector.

  • Select the desired operations provided (READ, WRITE).

Reading from Dropbox
  1. Define Storage Parameters for READ operation

  • File Path: Specify the Dropbox folder path where the file should be fetched from (for example, /backups/invoices/).

  • File Content: All downloaded files will be stored in a variable. This name is auto generated, however user can also change if needed. This variable will be added to the datastream (Central fx) to process further.

Writing to Dropbox
  • Define Storage Parameters for WRITE operation

  • File Path: Specify the Dropbox folder path where the file should be copied (for example, /backups/invoices/).

  • File Name: Define the name for the file to be saved. You can use dynamic variables like $file_name, $file_last_modified_date and $last_success_run.

  • File Content: Select the variable from the Fx dropdown to choose the file content.

  • Properties

    • Overwrite: Enable if you want to overwrite files with the same name.

    • Skip: Enables you to skip overwriting the file with the same name.

    • Batch size: user can select the batch size of 10, 50, 100, 1000 from the dropdown.

Example Scenario

A user sets up a workflow to export daily sales reports as CSVs and uploads them to Dropbox under the /reports/sales/ folder with filenames like sales_{{date}}.csv.

Best Practices

  • Ensure the file path exists in Dropbox or the system has permission to create it.

  • Use meaningful and unique file names to avoid overwriting.

  • Regularly monitor your Dropbox storage limits.

Troubleshooting

  • Authentication Errors: Reconnect your Dropbox account and ensure permissions are granted.

  • File Not Found: Check dynamic variables and ensure the file content is properly mapped.

  • Permission Denied: Verify that the target folder allows uploads and your account has write access.

Limitations

  • Maximum file size and rate limits are determined by Dropbox API constraints.

  • Only files can be uploaded, not folders or file structures.

Last updated