Google Drive
Introduction
The Google Drive storage action in DBSync Cloud Workflow allows users to upload files such as CSVs, PDFs, XMLs, and other data formats directly to their connected Google Drive accounts as part of an automated integration flow. This action is particularly useful for archiving or sharing files.
This feature is useful when you need to:
Back up data generated by your integration workflows.
Transfer reports or exported datasets to Google Drive.
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 Google Drive after processing.
Backing up reports generated during workflow.
Archiving failed data records for later inspection.
Configuration Steps
Add Google Drive Storage Action to Workflow
Drag and drop the Google Drive storage action into your workflow.
Click Configure provided on the Google Drive action.
Click the dropdown in the Google Drive Connector field and select your Connector.
Select the desired operations provided (READ, WRITE).
Define Storage Parameters for READ operation
File Path: Specify the Google Drive folder path where the file should be fetched from (for example,
/My Drive/Dummy Records.csv
)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.
Preview: It displays the list of files that you have selected.
Define Storage Parameters for WRITE operation
File Path: Specify the Google Drive folder path where the file should be copied (for example,
/My Drive/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.
Use Case Scenario
Scenario: Automated Invoice Backup to Google Drive
A company processes customer invoices daily using DBSync’s integration between their CRM and Accounting systems. As part of the post-processing step, they want to back up a CSV version of the day's processed invoices to a structured folder in Google Drive.
Best Practices
Ensure OAuth scopes are correctly configured to allow file uploads.
Use expressions to dynamically name folders and files for organized storage.
Set clear error handling for upload failures (e.g., notify via Webhooks or Email).
Troubleshooting
OAuth Expired: Reconnect your Google Drive account.
File Not Uploading: Check folder permissions and file size limits.
Incorrect Format: Ensure the content is properly encoded and MIME type is accurate.
Last updated