Sync data to Google Drive every 5 minutes
Recipe ToolsMarketingDeveloper ToolAPI IntegrationData ParserUtilitiesDocument/FileSales Enablement
What it does
When the clock triggers every 5 minutes, this automation fetches data via HTTP request and formats it as CSV. The file uploads to Google Drive and the job stops so the next cycle can begin.
Who it's for
Data and analytics teams who need fresh data in Google Drive on a regular schedule without manual updates.
How teams use this
Keep a live data snapshot in Google Drive
Fetch data every 5 minutes and upload it as CSV so the team always has current information available. This is the baseline setup without modifications.
Monitor API data for a dashboard
Use this automation to pull from an API endpoint and refresh a Google Drive file that feeds a dashboard. The same flow works for any HTTP source.
Filter data before uploading to Drive
Add a condition to check the fetched data so only rows that match certain criteria are included in the CSV file. This requires a filter condition before the compose step.
How it works
- Start the 5-minute interval. The Clock runs on a 5-minute schedule to keep data current and refresh the Google Drive file on a regular cadence.
- Fetch data via HTTP request. The Rest connector sends an HTTP request to retrieve the latest data from the source system so fresh information is available.
- Format data as CSV. The Csv Parser converts the fetched data into a CSV file format so it can be opened and used in spreadsheet applications.
- Upload file to Google Drive. The Google Drive connector saves the CSV file to a shared folder so the team can access the latest data without leaving Drive.