Dropbox
Using the Dropbox Connector in DBSync Cloud Workflow
Overview
The Dropbox Connector in DBSync Cloud Workflow allows users to seamlessly integrate Dropbox operations such as reading and writing files into their automated workflows. This guide provides detailed steps to configure and use the Dropbox Connector effectively.
Steps to Use the Dropbox Connector
Select Connector
In the DBSync Cloud Workflow interface, locate the option to select a connector.
Choose Dropbox from the list of available connectors or click 'Add New' to configure a new Dropbox connection.
Operation
Select the desired operation:
Read: To retrieve files from Dropbox.
Write: To upload/write files to Dropbox.
Read From (File/Folder Path)
If you selected the 'Read' operation, specify the file path or folder path:
File Path: Enter a hardcoded file path.
Data Stream Variable: Click the 'Fx' icon to select a data stream variable that contains the file path dynamically from previous actions (e.g., a query from Salesforce).
Regular Expression: Enter a regular expression to query a pattern of files (e.g., r'.*\.txt$').
The downloaded files will be stored in an auto-generated variable, which can be changed if needed. This variable will be added to the data stream for further processing.
Write To (File/Folder Path)
If you selected the 'Write' operation, specify the file path or folder path:
File Path: Enter a hardcoded file path.
Data Stream Variable: Click the 'Fx' icon to select a data stream variable that contains the file path dynamically from previous actions.
Regular Expression: Enter a regular expression to query a pattern of files (e.g., r'.*\.txt$').
In the 'File Content' field, specify the variable from the data stream that contains the file name to be uploaded. The default variable is $file-name, which retains the filename from the source. You can edit the name if needed.
Select the variable from the 'Fx' dropdown that contains the file content to be uploaded.
Properties
If the 'Write' operation is selected, additional properties can be configured:
If File Name Exists: Choose the action to take if the file name already exists in the target folder (Skip, Override).
Batch Size: Select the batch size for file uploads (10, 50, 100, 1000).
Shared Link Settings: Configure the settings for creating shared links (if applicable).
PRO TIP
To optimize file handling and avoid conflicts, use dynamic variables for file paths and names. This ensures that each operation is unique and reduces the risk of overwriting important files.
Last updated