Sync Excel file between Google Drive and CSV
Recipe ToolsMarketingDocument/FileSales EnablementData ParserUtilities
What it does
When the clock triggers every 5 minutes, this automation creates a folder in Google Drive and builds a CSV file from data. Someone sees the file updated on schedule without manual work.
Who it's for
Operations teams who need to keep an Excel file in sync with Google Drive on a regular cadence.
How teams use this
Keep a shared spreadsheet current
Run the sync every 5 minutes so the Google Drive file always reflects the latest data without someone having to refresh it manually. The folder structure and file format stay the same.
Sync data to a different folder
Point the automation to a different Google Drive folder so multiple teams can each have their own synced copy. The parsing and upload steps work the same way.
Add filtering before upload
Include a condition to filter the data list so only rows that meet certain criteria are added to the CSV and uploaded. This keeps the file smaller and more focused.
How it works
- Run every 5 minutes. This automation runs on a schedule, checking every 5 minutes for data to sync between Google Drive and CSV.
- Create folder and compose CSV. Create a folder in Google Drive and compose a CSV file from the data list so it is ready to upload and parse.
- Upload file to Google Drive. Upload the CSV file to the Google Drive folder so the latest data is stored and ready for the next sync cycle.
- Parse CSV and sync lines. Download the file contents from Google Drive, parse the CSV to extract each line, and add the items back to Google Drive.