Consolidate multiple error lists into a single CSV

Recipe ToolsMarketingData ParserUtilities

What it does

When a scheduled interval arrives, this automation gathers errors from two separate lists and composes them into one CSV file. The combined file is logged to the job report so someone can review all errors in a single place.

Who it's for

Operations teams who need to consolidate error data from multiple sources into one report.

How teams use this

Consolidate errors into one daily report

Run this automation each morning to combine errors from two systems into a single CSV. The job report shows the complete error picture without opening multiple tools.

Route the combined CSV to monitoring

Send the merged CSV to a monitoring or ticketing system instead of logging it to the job report. The same consolidation logic applies to a different destination.

Add a third error list

Include a third error list by composing an additional CSV without a header line and mapping it into the same text field. This extends the automation to handle more data sources.

How it works

  1. Start on a specified interval. Begin this automation on a schedule so the error lists are combined and reported at regular times.
  2. Gather errors from both lists. Accumulate items from error list 1 (with error, id, and comments fields) and error list 2 (with error and id fields) into separate batches for processing.
  3. Compose CSVs with and without headers. Create a CSV from error list 1 with header line, then compose error list 2 without a header line so both can be merged into one file.
  4. Merge CSV lines into one file. Map both CSV outputs into the same text field using Csv Parser to concatenate them, creating a single combined CSV with all errors from both lists.
  5. Log combined CSV to job report. Write the merged CSV to the job report so someone can access all consolidated errors in one place without opening multiple tools.