Sync Salesforce opportunities to on-prem CSV
CRMMarketingData ParserDocument/File
What it does
When someone schedules an opportunity search in Salesforce using a SOQL query, this automation filters the results and exports matching opportunities to a CSV file. The file uploads to an on-prem folder so the team has a current record.
Who it's for
Sales operations teams who need to sync Salesforce opportunities to on-prem storage on a schedule.
How teams use this
Export closed opportunities weekly
Schedule the automation to run every Monday and export all opportunities with a stage of Closed Won to the on-prem folder. The team reviews the file to reconcile revenue records.
Filter by opportunity amount threshold
Modify the SOQL WHERE clause to only include opportunities above a certain amount so the CSV contains high-value deals. The rest of the flow stays the same.
Add opportunity owner and close date columns
Extend the CSV composition step to include the opportunity owner name and close date fields alongside the default columns. This gives the team more context in the exported file.
How it works
- Search opportunities by SOQL query. Run a scheduled search in Salesforce for opportunities that match the WHERE clause criteria, returning a batch of records to process.
- Compose the opportunity batch as CSV. Csv Parser converts the Salesforce opportunity records into CSV format so the data is ready to upload to the on-prem folder.
- Upload the file to on-prem storage. Onprem Files writes the CSV file to an on-prem folder so the team can access the latest opportunity data from their local system.