Station AcademyActivity referenceRPAi StationConsultingAurora Academy
Academy/Station Academy/Level P/Project: weekly sales report from CSV
Level P · Practical projects

Project: weekly sales report from CSV

Intermediate project. Read a CSV export, keep one region, total the sales and produce a filtered CSV and a text report.

Intermediate≈ 30 min (estimate)Windows, macOSWorkflow engine-tested
Before this lesson
Working with CSV
You will learn to
  • Read, filter and total a CSV
  • Produce two output files
  • Change behaviour with a variable
Sample files
csv-sales-summary.station.json · sales.csv

Scenario. Every week you open a sales export, filter one region, add up the value and send a two-line summary.

Input and output

  • Input: sales.csv (synthetic: Date, Region, Product, Units, UnitPrice) in the practice folder.
  • Output: sales-North.csv (only North) and sales-North-report.txt with the total.

Steps

  1. Put sales.csv into the practice folder.
  2. Import csv-sales-summary.station.json. Check folder and region.
  3. Run.

How it works

CSV Operation reads the file into a table; Filter Table keeps the region; For Each Row reads Units and UnitPrice of each row with Get Key and adds units × price to total; CSV Operation write and Write File produce the outputs.

Optional improvements

Activities in this lesson

CSV Operation · Filter Table · For Each Row · Get Key · Math · Write File

Saved only in this browser.

Workflow engine-tested. The sample workflow was executed with the macOS Station engine (StationCore) without the user interface. UI steps are source-verified. Written against RPAi Station for macOS 0.1.0 (1) (RPAi_Station_2.0 @ port/macos 9864e96) and the Windows source (RPAi_Station_2.0 @ codex/native-station e68f16d). Reviewed 2026-11-30. UI labels may differ slightly in other versions; see versions and changes.