Represent teams and org subsets with Merge HRIS's Group common model

domain: hr-payroll · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Call the Groups endpoint to list Group objects; each has a name, an optional parent_group reference, and a type field
  2. Use type to determine whether the source platform represents the Group as a team, since Merge normalizes this per-provider based on how each platform models teams
  3. Traverse parent_group references to reconstruct a nested team/department hierarchy from a flat list of groups
  4. Join Groups back to Employees (employees can belong to multiple Groups) rather than assuming a single department per employee
  5. Use remote_id to correlate a Group back to its native ID in the underlying HRIS if you need to write back to the source system via passthrough

Known gotchas

Related routes

Model employee benefits enrollment with Merge HRIS's Benefit and Dependent common models
hr-payroll · 5 steps · unrated
Retrieve and normalize employee data from multiple HRIS systems via the Merge HRIS API for a centralized people analytics dashboard
docs.merge.dev · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans