Import Reshift data to Google Drive

Recipe ToolsMarketingDeveloper TooldatabaseDocument/FileSales Enablement

What it does

When the clock triggers every 5 minutes, this automation exports query results from Jdbc as a CSV file. It downloads the file from Amazon S3 and uploads it to Google Drive so the team accesses the latest data without manual steps.

Who it's for

Data and analytics teams who need Reshift query results synced to Google Drive on a regular schedule.

How teams use this

Sync Reshift data every 5 minutes

Export query results from Jdbc to Google Drive on a regular schedule without manual intervention. The team always has the latest data available in Google Drive.

Archive historical exports in Google Drive

Add a timestamp to each CSV file name so the team can track data changes over time. Each export is stored separately in Google Drive for audit and comparison purposes.

Share Reshift reports with finance

Upload the CSV to a Google Drive folder that finance teams can access, so they see updated Reshift data without needing database access. Only the destination folder changes.

How it works

  1. Start export every 5 minutes. This automation runs on a schedule, checking every 5 minutes for new data to export from Jdbc.
  2. Export query result as CSV. Export the query result from Jdbc source as a CSV file so the data is ready to download and move to Google Drive.
  3. Generate presigned URL in S3. Generate a presigned object URL in Amazon S3 and download the file contents so it can be uploaded to Google Drive without delays.
  4. Upload file to Google Drive. Upload the CSV file to Google Drive so the team can access the latest Reshift data in one central location for reporting.