Generate a collections report from scheduled CSV data
Recipe ToolsMarketingData ParserDatabase
What it does
When a scheduled time arrives, this automation parses a CSV file of sales records and groups them by platform within each opportunity. It sends a report to the manager with combined subtotals and all grouped IDs.
Who it's for
Finance teams who need to review combined sales records by platform without manually aggregating data.
How teams use this
Review platform totals by opportunity
Run the report on a weekly schedule to see which platforms are generating the most revenue within each opportunity. The manager receives a summary with combined subtotals and all record IDs in one email.
Adjust the report schedule
Change the clock interval from weekly to daily or monthly depending on how often the team needs to review collections. The rest of the automation stays the same and only the timing changes.
Filter records by salesperson or region
Add a condition to the query so only records from a specific salesperson or region are included in the report. The grouping and subtotal calculation remain the same and only the filtered data is sent.
How it works
- Run on a scheduled interval. This automation starts at a specified time so the report is generated on a regular cadence without manual intervention.
- Parse the sales records CSV. Extract all records from the Salesperson - records.csv file using Csv Parser so each row is available for processing and grouping by opportunity and platform.
- Group records and calculate subtotals. Create a list in Workato Smart List that combines all records with the same platform for each opportunity and calculates the combined subtotal from unit price times quantity.
- Send the report to the manager. Email the manager with the grouped records, combined subtotals, and all associated IDs so they can review collections data without opening the CSV file.