Skip to main content

Standard Template

A workforce file has one row per date, facility, unit and provider type. This page lists the columns Senzo reads and how to fill them in.

Download a template

On the Setup Check step of Upload Data you can download:
  • Workforce template and Workload template. These are built with your organization’s own codes. They appear only once facilities, units and provider types all exist.
  • Org config template, for adding facilities, units and provider types.

Download workforce-metrics-template.csv

An example workforce file with sample codes. Sign in to Senzo first, or the link opens the sign-in page. Replace the codes with your organization’s own.

Required columns

A file without one of these columns can’t be imported. You see “This file is missing required columns, so it cannot be imported.”
  • The three code columns must hold codes, not names. Upper or lower case doesn’t matter.
  • Dates must be YYYY-MM-DD. See Dates and numbers.
  • A row with an empty date, facility code, unit code or provider type cell is skipped. So is a row whose code isn’t configured. See Upload Errors.

Optional columns

Every other column is optional. Each one you include unlocks more metrics.
Put overtime in ot_hours only, not in worked_hours. Put agency hours in agency_hours only. Otherwise the overtime and agency rates are understated.

Period type

If a row has a valid period_type, Senzo uses it. Otherwise Senzo detects the grain from the gaps between dates: about a day is daily, about a week is weekly, about a month is monthly and about a quarter is quarterly. On Review you can keep the detected grain or choose a coarser one.

Movement columns

Senzo also reads these columns if they’re present. Each comes in a _headcount and an _fte form, for example new_hires_headcount and new_hires_fte. The _headcount forms must be whole numbers. When a row has a value in any joining column, Senzo replaces that row’s inflow_headcount (or inflow_fte) with the sum of its joining columns. Leaving columns do the same for outflow_headcount and outflow_fte.

Other columns

Any other column is ignored and never saved. Review marks it as ignored.

Column names

Senzo compares column names after trimming spaces, lower-casing and turning spaces into underscores. So Unit Code reads as unit_code.

Dates and numbers

Dates must be YYYY-MM-DD. A 24-hour time may follow, such as 2026-02-01 00:00:00 or 2026-02-01T05:00:00Z. Senzo uses the date part as written. A skipped row is reported as “Date not in YYYY-MM-DD format”. Numbers must be plain: digits, an optional minus sign and an optional decimal point, such as 1250 or 41.2.
  • Values like 1,250, $45, 12.5%, 1 250 or 1e3 skip the row: “Number not recognised (use digits only, e.g. 1250.5)”.
  • headcount, positions, vacancies, inflow_headcount, outflow_headcount and the six movement _headcount columns must be whole numbers. A decimal such as 45.5 skips the row: “Whole number needed (e.g. 45, not 45.5)”. 45.0 is fine.
  • A blank cell, or one with no digits (N/A, -, NULL), counts as empty. See the table above for how empty cells are saved.

Codes

facility_code, unit_code and provider_type_code must match the codes configured for your organization, not the names. Upper or lower case doesn’t matter. To add facilities, units or provider types:
  • Admins can add them in Settings.
  • Admins and Analysts can upload an Org config file in Upload Data. It adds any codes that don’t exist yet. See Upload Errors for its columns.

File layout

  • One row per date, facility, unit and provider type. Uploading the same unit, provider type, date and period type again replaces those rows.
  • Use the same date for a period every time, for example the 1st of the month. If the date changes, the new rows are added next to the old ones.
  • Put the header row first. Senzo uses the first non-blank row as the header.
  • Delete total rows.
  • Keep dates in the date column. Don’t lay periods out as columns.
Senzo doesn’t change your file. See File Structure Checks.

Example file