Sync new Google Drive files to MySQL

CollaborationDocument ManagementDeveloper

What it does

When someone creates a file or folder in Google Drive, this automation searches the drama_google_drive table in MySQL. It records the new item so the table stays current with Google Drive activity.

Who it's for

Data and analytics teams who need to track Google Drive changes in a MySQL database.

How teams use this

Track all Google Drive uploads

Capture every new file and folder created in Google Drive by logging it to MySQL. The team can then query the table to audit what was added and when.

Monitor a shared team folder

Point this automation at a specific Google Drive folder so only files added there are synced to MySQL. The logic stays the same and only the source folder changes.

Filter by file type before logging

Add a condition to check the file extension so only PDFs or images are recorded in the drama_google_drive table. That way the table contains only the file types the team cares about.

How it works

  1. Detect a new file or folder. Monitor Google Drive in real time for when someone creates a new file or folder in any location.
  2. Search the drama_google_drive table. Query the drama_google_drive table in MySQL to find rows that match the new file or folder details from Google Drive.