Sync Google Drive to Box every 24 hours

Recipe ToolsDocument/File

What it does

When a scheduled time arrives, this automation searches Google Drive for files and syncs new ones to Box. Each file is checked in Box, downloaded from Google Drive, and uploaded to Box so both storage systems stay in sync.

Who it's for

Operations teams who need Google Drive and Box to stay synchronized without manual file transfers.

How teams use this

Keep backups in sync automatically

Run the sync every 24 hours so Google Drive files are always backed up in Box without someone doing it manually. Both systems stay current with the same content.

Sync only specific folders

Filter the Google Drive search to only include files from certain folders so the automation syncs only what matters. Add a folder condition to keep Box organized and reduce clutter from unrelated files.

Sync to a different Box workspace

Point the upload step to a different Box account or folder so files go to the right place for another team. The sync logic stays the same and only the destination changes.

Add file type restrictions

Set a condition to only sync certain file types like PDFs or images so large or unwanted files stay out of Box. Check the file type before downloading and uploading to filter what goes through.

How it works

  1. Run on a specified interval. This automation runs every 24 hours at a time you set so files sync regularly without someone starting it manually.
  2. Search Google Drive for files. Search Google Drive for all files so the automation knows which ones to sync to Box.
  3. Check if file exists in Box. For each file from Google Drive, search Box to see if that file already exists there by ID.
  4. Download file from Google Drive. When the file does not exist in Box, download the file contents from Google Drive so it can be uploaded.
  5. Upload file to Box. Upload the downloaded file to Box so both storage systems have the same files and nothing is left behind.