Sync AitesakiMaster files to Google Cloud Storage nightly

Recipe ToolsMarketingWorkatoDocument/FileDirectory ServicesCloud PlatformProductivitySales Enablement

What it does

When the scheduled time arrives each night, this automation downloads ugur5401.csv from Onprem Files and uploads it to Google Cloud Storage. If an error occurs during the transfer, Gmail sends an alert to the system administrator.

Who it's for

Operations teams who need to back up on-premises master files to cloud storage on a regular schedule.

How teams use this

Back up master files nightly to cloud

Download the on-premises master file and upload it to Google Cloud Storage each night without manual intervention. The team gets an email alert if anything goes wrong during the transfer.

Notify multiple admins on failure

Extend the Gmail step to send alerts to a distribution list instead of a single administrator so more team members see transfer errors. Only the recipient list in the email step needs to change.

Archive files by date in cloud storage

Add a step after upload to move the file to a dated subfolder in Google Cloud Storage so older backups are organized by when they were transferred. This keeps the backup folder clean and adds version history.

How it works

  1. Run on nightly schedule. This automation runs each night at 1 a.m. to transfer the latest master file from the on-premises system to the cloud.
  2. Download the master file. Download the ugur5401.csv file from Onprem Files so it can be moved to cloud storage.
  3. Upload to Google Cloud Storage. Upload the file to the subfolder in Google Cloud Storage, overwriting any existing version of that file.
  4. Alert on transfer failure. Send an email via Gmail to the system administrator if the download or upload fails so the issue can be addressed.