Sync Salesforce opportunities to SFTP with pricing
Recipe ToolsMarketingCRMDocument/FileSales EnablementFile Transfer
What it does
Every 20 minutes, this automation extracts opportunities from Salesforce using a bulk query. It downloads product pricing from Google Drive, enriches the opportunity records with that pricing data, and uploads the results to an SFTP server.
Who it's for
Data and analytics teams who need to keep opportunity records synced to a data warehouse with current pricing details.
How teams use this
Keep data warehouse synced regularly
Run this automation every 20 minutes to extract opportunities from Salesforce and load them to the data warehouse with pricing. The team gets fresh data without manual exports or delays.
Add custom fields to enrichment
Extend the transformation step to include additional Salesforce fields or calculated values from the pricing file. Only the query and transformation logic need to change.
Load to a different destination
Replace the SFTP server with another data platform like a cloud data warehouse. The extraction and enrichment steps stay the same.
How it works
- Run every 20 minutes. This automation starts on a schedule every 20 minutes to keep opportunity data current in the destination system.
- Search opportunities in bulk. Search Salesforce for opportunities using a bulk query so all matching records are retrieved at once from the API.
- Download pricing file. Download product price details from Google Drive to enrich the opportunity records with current pricing information.
- Enrich opportunity data. Combine the opportunity data with pricing details so each record includes the product price information needed downstream.
- Upload enriched file. Upload the enriched opportunity file to the SFTP server so the destination system receives the latest data with pricing.