Export closed Salesforce cases to SFTP
CRMMarketingSalesUtilities
What it does
When a scheduled search runs in Salesforce for closed cases using a SOQL query with a WHERE clause, this automation composes those records into a CSV file. The file uploads to an SFTP server so downstream systems can process the work orders.
Who it's for
Operations teams who need closed cases synced to SFTP for work order processing without manual exports.
Apps used
How teams use this
Sync closed cases to work order systems
Export closed Salesforce cases on a schedule so a work order system can ingest them without manual intervention. The batch runs nightly and files are ready for the next day.
Route cases by status to different SFTP paths
Extend this automation to filter cases by status or priority and upload each batch to a separate SFTP folder. Different teams can then pull only the cases they need.
Include case notes and attachments in export
Add case notes and related attachments to the CSV or as separate files so work order teams have full context. The SFTP upload includes all supporting documents.
How it works
- Search for closed cases on schedule. Run a scheduled search in Salesforce using a SOQL query with a WHERE clause to find all closed cases at the set interval.
- Compose the cases into CSV. Format the closed case records into a CSV file with all relevant fields so the file is ready to upload to the SFTP server.
- Upload CSV to SFTP server. Send the CSV file to the SFTP server so downstream systems and work order tools can access the closed cases for processing.