Sync Salesforce data to Google Drive every 5 minutes

Recipe ToolsMarketingDeveloper ToolAPI IntegrationDocument/FileSales Enablement

What it does

When the clock triggers every 5 minutes, this automation sends HTTP requests to Salesforce to retrieve records. It compiles the data into a file and uploads it to Google Drive so the team always has current information.

Who it's for

Data and analytics teams who need Salesforce data in Google Drive on a regular schedule.

How teams use this

Keep a live Salesforce backup in Drive

Sync Salesforce records to Google Drive every 5 minutes so the team has a current backup without manual exports. The automation handles all the work on schedule.

Share Salesforce data with non-users

Upload Salesforce records to a shared Google Drive folder so people without Salesforce access can view the data. Only the destination folder changes from the base setup.

Filter records before uploading

Add a condition to the HTTP requests so only records matching certain criteria, such as a specific stage or region, are included in the Google Drive file. This requires a filter condition on the Salesforce records.

How it works

  1. Run every 5 minutes. The automation starts on a 5-minute interval to keep Salesforce data current in Google Drive without manual intervention.
  2. Fetch data from Salesforce. Send HTTP requests to Salesforce to retrieve the records needed for the sync, such as accounts, opportunities, or contacts.
  3. Process records into a batch. Transform the fetched records into a structured list format that is ready for upload to Google Drive as a single file.
  4. Upload file to Google Drive. Save the compiled records as a file in Google Drive so the team can access current Salesforce data anytime without opening Salesforce.