Generate sales reports by platform from CSV
Recipe ToolsMarketingData ParserDatabase
What it does
When a scheduled time arrives, this automation parses a CSV file and calculates subtotals for each sales record. It groups records by platform, combines their subtotals, and emails a report with platform totals and all related opportunity IDs.
Who it's for
Sales operations teams who need to aggregate sales data by platform and track combined opportunity totals.
How teams use this
Aggregate daily sales by platform
Parse the CSV each morning to group sales records by platform and send a report with combined subtotals and all opportunity IDs. The team reviews platform performance without manual data entry.
Track revenue by product line
Retarget this automation to group records by product line instead of platform. The same query and report structure applies, only the grouping field changes.
Filter records by sales region
Add a condition to the CSV parser so only records from a specific region are included in the report. This requires a region column in the CSV and a filter step before grouping.
Archive completed reports to storage
Include a step to store each generated report in a shared folder after it is sent. This requires adding file storage to keep a history of all aggregated reports.
How it works
- Run on a scheduled interval. This automation starts at a specified time each day, week, or month to process the latest sales records.
- Parse the sales CSV file. Csv Parser reads Salesperson - records.csv and extracts all sales records. Calculate the subtotal for each record by multiplying Unit price times Qty.
- Group records by platform. Workato Smart List creates a sales list and queries it to group all records by platform. For each platform, combine the subtotals and collect all related opportunity IDs.
- Email the aggregated report. Query the grouped data to build a report that shows each platform, its combined subtotal, and all IDs that were grouped together. Send it to the manager via email.