Log grouped CSV data every 5 minutes

Recipe ToolsMarketingWorkatoData ParserUtilitiesDeveloper Tool

What it does

When the clock triggers every 5 minutes, this automation parses a CSV file and groups the data by a specified field. The grouped results are logged to the job report so someone can review the organized output.

Who it's for

Data and analytics teams who need to parse and organize CSV files on a regular schedule.

How teams use this

Organize customer data by region

Parse a CSV of customer records and group them by region so sales teams can see which customers belong to each territory. The automation runs every 5 minutes to keep the grouping current.

Monitor inventory by warehouse

Parse inventory CSV files and group items by warehouse location so operations can track stock levels in each facility. Logs show the grouped inventory without manual sorting.

Filter grouped data by status

Add a condition to only log grouped items that match a specific status or value, so the job report includes only the records someone needs to review. This requires a status filter in the grouping logic.

How it works

  1. Run every 5 minutes. This automation starts automatically every 5 minutes to parse and organize CSV data without manual intervention.
  2. Parse the CSV file. Csv Parser reads the CSV file and converts it into a structured format that can be grouped and processed downstream.
  3. Group data by field. Custom Ruby code groups the parsed data by a specified field so related records are organized together for analysis.
  4. Log each grouped item. Each grouped item is logged to the job report so someone can see the organized output and verify the grouping is correct.