HR & People pack
Benefits enrollments CSV import API
Import benefits enrollment files from any CSV: plan, plan type, coverage level, dependents, contributions. High risk, approved by a person before commit.
curl -X POST https://api.adaptivmapr.com/v1/uploads \
-H "Authorization: Bearer $ADAPTIVMAPR_API_KEY" \
-F "template=benefits_enrollments_v1" \
-F "file=@your_data.csv"Canonical columns
The whole schema, printed as it ships.
Every canonical column, the type each row carries, whether it is required, the field-level validators that fire on commit, and the multilingual header hints the cascade resolves against. This is the shipped definition, not a summary of it.
benefits_enrollments_v1- fields
- 7
- required
- 3
- validated
- 0
- hints
- 44
| Canonical column | Type | Required | Validators | Header hints the cascade matches |
|---|---|---|---|---|
employee_id | string | yes | — | personalnummermatriculematricolaemployee idnúmero de empleado |
plan | string | yes | — | planleistungversicherungsplanrégimepianobenefit planprestación |
plan_type | enumhealthdentalvisionpensionlifeother | — | — | leistungsarttype de prestationtipo di pianoplan typetipo de plan |
coverage_level | enumemployeeemployee_spouseemployee_childrenfamily | — | — | deckungdeckungsumfangcouverturecoperturacoveragecobertura |
dependents | number | — | — | angehörigemitversicherteayants droitfamiliari a caricodependentsdependientes |
effective_date | date | yes | — | gültig abbeginndate d'effetdecorrenzaeffective datefecha de efectostart datecoverage start |
employee_contribution | number | — | — | arbeitnehmerbeitragcotisation salariécontributo dipendenteemployee contributionaportación del empleadoemployee paysemployee cost |
Read the same definition as JSON at GET /v1/templates/benefits_enrollments_v1. A hint match resolves on layer 2 — no LLM call, no token spend, just the flat per-map fee. Hover a validator id to see what it checks.
- 7 canonical fields
- 3 required
- 0 validated
- 44 header hints, 5 languages
Why it exists
Written for the file you actually receive.
The Benefits enrollments template records who is enrolled in which plan. Each row holds an employee_id, the plan and its effective_date (all required), the plan_type (health, dental, vision, pension, life or other), the coverage_level from employee-only to family, the number of dependents covered, and the employee_contribution. It is what a benefits-administration export, a broker's enrolment census or an insurer's member list reduces to. Benefits and payroll teams use it at open enrolment, when they change broker or administration platform, and every pay cycle when deductions have to match what people actually signed up for. It is `high` risk: membership of a health plan, a coverage level that implies a spouse or children, and a count of dependents reveal health and family circumstances. In production a high-risk mapping is never committed on the strength of an API call alone; a workspace member has to approve that exact mapping in the dashboard first.
employee_id, plan and effective_date are required, because an enrolment without a start date cannot be reconciled with payroll. plan_type and coverage_level are enums, and a value outside them is reported as a row error rather than guessed into the nearest member. dependents is a number, not a list: the template counts covered people and holds none of their names or birth dates, which keeps dependants' details out of this file. employee_contribution is a number without its own currency column, so keep one currency per file. One row is one enrolment, so a person in three plans has three rows.
Migration scenarios & the foreign headers they ship
Teams load this template when they move benefits administration (into Workday Benefits, BambooHR or a broker's platform, or out of one); when an open-enrolment census has to go to a new insurer in that insurer's layout; when payroll deductions are reconciled against enrolments each cycle; and when two companies' elections are merged after a deal. Headers we see: "Personalnummer / Employee ID / Versicherungsplan / Régime / Piano / Benefit Plan / Plan / Leistungsart / Plan Type / Tipo di piano / Deckung / Couverture / Copertura / Coverage Level / Mitversicherte / Ayants droit / Dependents / Gültig ab / Date d'effet / Decorrenza / Effective Date / Arbeitnehmerbeitrag / Cotisation salarié / Employee Contribution". Census files often call the start date just "Start Date" and the contribution "Employee Pays"; both are registered hints, so they resolve without a model call.
The cascade
Six layers, and the cheapest one wins.
Layers run in order and stop the moment a column resolves. That is the single biggest cost lever in the system: a column caught on layer 2 never reaches the metered layer 5.
- L1Statisticsno LLM
Auto-accepts a header that past confirmations already resolved the same way, at {minN:100, minRatio:0.95} or {minN:20, minRatio:1.00}.
- L2Heuristicno LLM
Normalises accents, punctuation and whitespace, then compares against the column name, the label, and every registered hint (DE / FR / IT / EN / ES).
- L3Fuzzyno LLM
Token-set ratio plus Levenshtein over the normalised strings. Auto-accepts at 0.80 — it absorbs typos and reordered words.
- L4Semanticcheap, cached
Embedding cosine between the header and the field’s label + hints. Catches the long tail of paraphrases.
- L5LLMmetered
Everything still unresolved goes up in ONE batched, collision-aware call, constrained to this template’s column set so it cannot invent a field.
Try it
One template id, two ways in.
REST for your import pipeline, MCP for your editor. Both run the same cascade and both honour the same schema-only clamp.
REST · POST /v1/uploads
Name the template; the cascade picks up the rest. The canonical definition is read-only at GET /v1/templates/benefits_enrollments_v1.
curl -X POST https://api.adaptivmapr.com/v1/uploads \
-H "Authorization: Bearer $ADAPTIVMAPR_API_KEY" \
-F "template=benefits_enrollments_v1" \
-F "file=@your_data.csv"MCP · Cursor / Claude Desktop
Drop AdaptivMapr into your editor and call the same cascade as a tool. Schema-only calls leave only column names and a few example values.
// In Cursor or Claude Desktop with the AdaptivMapr MCP server installed:
adaptivmapr.match_headers({
template_id: "benefits_enrollments_v1",
headers: ["employee_id", "plan", "plan_type", "coverage_level"]
})The mappings response comes back flagged. PATCH /uploads/:id/mappings returns requires_hitl: true and hitl_status: "pending_review" and on the hosted API a commit waits until a workspace member records an approval. Schema-only mode (column names and a few example values, never the full file) is a data-minimization mode enforced at the HTTP edge. Full-data mode routes the metered layer-5 call to phi-cloud in-region under a BAA, costs 20% more on the whole map charge, and stays locked until the workspace accepts the BAA/NDA in Settings → Security & Data.
Questions








