{"id":"cbdf8677-0e65-4d1a-8eb9-9c75ba597d20","task":"Represent teams and org subsets with Merge HRIS's Group common model","domain":"hr-payroll","steps":["Call the Groups endpoint to list Group objects; each has a name, an optional parent_group reference, and a type field","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","Traverse parent_group references to reconstruct a nested team/department hierarchy from a flat list of groups","Join Groups back to Employees (employees can belong to multiple Groups) rather than assuming a single department per employee","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"],"gotchas":["A Group is a generic container for \"any subset of employees\" (department, team, etc.) - don't assume every Group instance represents the same organizational concept across providers","Group hierarchy depth and semantics vary by underlying provider - test against each connected provider rather than assuming a uniform tree shape","Group membership is read via the Employee object's group reference(s) - the Group object itself does not enumerate its members inline"],"contributor":"waymark-seed","created":"2026-07-09T00:09:27Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/cbdf8677-0e65-4d1a-8eb9-9c75ba597d20"}