Sync sFTP product files to Salesforce and Google Sheets
Recipe ToolsMarketingDeveloper ToolData ParserUtilitiesDocument/FileSales EnablementCRMAPI IntegrationProductivity
What it does
When the scheduled trigger runs every 10 minutes, this automation downloads the clinical product file from Amazon S3 and parses it. It enriches the data with lookup tables, creates unique identifiers, and uploads results to Google Sheets and Salesforce.
Who it's for
Data and analytics teams who need to keep product inventory synchronized across sFTP, Salesforce, and Google Sheets without manual uploads.
How teams use this
Keep product inventory current across systems
New or updated clinical products from sFTP are reflected in Salesforce and Google Sheets every 10 minutes without manual intervention, so the team always works with current data.
Enrich product data with pricing matrices
Lookup table data is added to each product row during ingestion so Salesforce records include pricing and volume information from the sFTP catalogue matrices for accurate quotes.
Audit file ingestion with job reports
Add logging to track each sync run so the team can verify which files were processed, when they arrived, and whether rows uploaded successfully to Salesforce and Google Sheets.
Support multiple product catalogs
The automation handles clinical and healthy precision volumes separately using distinct lookup tables, so different product lines can be ingested and synced on the same schedule.
How it works
- Run on a 10-minute schedule. This automation starts every 10 minutes to check for new product files in Amazon S3.
- Download the clinical product file. List files in Amazon S3 and download the latest clinical inventory file in batch mode so the automation has the newest product data to process.
- Parse CSV and retrieve lookup data. Parse the clinical CSV file and retrieve matching entries from the sFTP catalogue ingestion lookup tables to add pricing and volume context to each product row.
- Create unique IDs and upload to sheets. Create a unique identifier based on column values for each row and add the enriched data to Google Sheets in batch mode so the team can review the ingested products.
- Sync enriched records to Salesforce. Push the enriched product records with unique identifiers to Salesforce so the product catalog and pricing stay synchronized with the sFTP source file.