Station AcademyActivity referenceRPAi StationConsultingAurora Academy
Level 6 · Reliability and debugging

Input validation

Check data before using it, so a bad row produces a clear warning instead of a failure halfway through.

Intermediate≈ 15 min (estimate)Windows, macOSWorkflow engine-tested
Before this lesson
Try/Catch and error handling
You will learn to
  • Check for empty values
  • Check formats with Regex
  • Skip bad items with Continue and count them
Sample files
contacts-check.station.json · contacts.csv

Check before you act

For each item:

  1. Is it there? If Condition is empty.
  2. Does it look right? Regex test with a simple pattern.
  3. Is it in range? If Condition greater than / less than.

If not: log a clear message, count it, Continue with the next item.

The sample

contacts-check.station.json reads contacts.csv, reports contacts without an e-mail address, and checks the format of the others.

Validate inputs from people too

Input Dialog can ask for a number or offer a dropdown, which prevents many typing mistakes. Still check the value before using it.

Activities in this lesson

If Condition · Regex · Continue · Get Key · For Each Row · Math

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.