Sync active CSV records from Google Drive to Salesforce
Recipe ToolsMarketingDocument/FileSales EnablementData ParserUtilities
What it does
When the clock triggers every 5 minutes, this automation downloads a CSV file from Google Drive and parses it. It publishes only rows where Active__c equals Yes to a Salesforce update event so downstream workflows can sync the active records.
Who it's for
Data and analytics teams who need to keep Salesforce in sync with a Google Drive CSV without manual uploads.
How teams use this
Sync active leads to Salesforce
Parse a CSV of leads from Google Drive every 5 minutes and publish only those marked active to Salesforce. The team gets fresh data without manual work and keeps inactive records out of the system.
Route records by status
Extend the condition to check multiple fields so active records go to one topic and inactive ones to another. Different teams can subscribe to the event that matches their workflow needs.
Sync customer data to a different system
Keep the same CSV parsing and schedule but publish to a different event topic that feeds your ERP or billing system. The logic stays the same and only the destination changes.
How it works
- Check for updates every 5 minutes. The automation runs on a schedule every 5 minutes to look for new or changed data in the CSV file.
- Download the CSV file. Fetch the file contents from Google Drive so the data is ready to parse and filter by active status.
- Parse each row as a batch. Convert the CSV into structured data and loop through each line so active records can be identified and published.
- Publish active records only. Send only rows where Active__c equals Yes to the UpdateSalesforceAccount event topic for downstream sync workflows to consume.