Sync Excel files to CSV in Google Drive

Recipe ToolsMarketingDocument/FileSales EnablementData ParserUtilities

What it does

When the clock triggers every 5 minutes, this automation finds Excel sheets in Google Drive and exports each one as CSV. The file references are stored in a lookup table for retrieval.

Who it's for

Data and analytics teams who need to keep CSV versions of Excel files current in Google Drive.

How teams use this

Keep CSV exports current automatically

Excel files in Google Drive are exported to CSV every 5 minutes without manual work. The lookup table always has the latest file references ready to use.

Feed CSV data to downstream systems

Parse each CSV and store it so other tools can pull the data on schedule. Add an API endpoint to push CSV data to external systems and keep them in sync with Google Drive spreadsheets.

Archive converted files to a folder

Route each CSV export to a dedicated Google Drive folder so converted files stay organized and separate from the original Excel sheets.

How it works

  1. Check for files every 5 minutes. The automation runs on a 5-minute schedule to find and convert Excel sheets in Google Drive.
  2. List Excel sheets in Google Drive. Retrieve all spreadsheet files from Google Drive so each one can be exported as CSV.
  3. Export each sheet as CSV format. For every Excel file found, Google Drive exports it to CSV format and saves it back to the drive for storage.
  4. Parse the CSV content. Read and parse each CSV file so the data can be stored and retrieved later.
  5. Store CSV references in lookup table. Add each CSV file reference to a lookup table so someone can retrieve the full list of converted files on demand.