Overview
Xenia integrates with 50+ HRIS (Human Resource Information System) providers through Merge.dev, enabling automatic employee synchronization, role assignment, and location mapping. Supported Providers:- BambooHR, Rippling, Workday, ADP
- Gusto, Paylocity, Paycom, Paychex
- UKG, Ceridian, Namely, Zenefits
- And 40+ more HRIS platforms
- One-time and continuous employee sync
- Automatic role assignment via job title mapping
- Multi-location assignment (1:M mapping)
- Review-based or automatic employee onboarding
- Real-time sync via webhooks
Prerequisites
Before using HRIS integration:- Feature Flag:
HRISmust be enabled for your workspace - Permissions: User must have HRIS management permissions
- Role Setup: Define roles in Xenia for job title mapping
Connection Management
Get Link Token
Generate a Merge.dev link token to initiate the connection flow.
Response:
Complete Connection
After the user completes the Merge Link UI, exchange the public token for a permanent connection.
Response:
List Connections
Retrieve all HRIS connections for a workspace with sync status.Disconnect Connection
Unlink an HRIS connection. This preserves user data but stops sync.Employee Management
List Stored Employees
Retrieve HRIS employees stored in Xenia with advanced filtering.
Response:
Bulk Invite Employees
Queue bulk invitations for HRIS employees to Xenia.
Request Body (Advanced Mode):
Use either
employeeIds OR employees, not both. They are mutually exclusive.Job Title Mapping
Map HRIS job titles to Xenia roles for automatic role assignment during invite.List Job Titles
Get unique job titles from synced employees with mapping status.List Job Title Mappings
Create/Upsert Job Title Mappings
Create or update job title mappings in bulk.
Response:
Location Mapping
Map HRIS locations to Xenia locations. Supports 1:M mapping (one HRIS location to multiple Xenia locations).List HRIS Locations
Create/Upsert Location Mappings
1:M Mapping: One HRIS location can map to multiple Xenia locations. When an employee is invited, they’ll be assigned to ALL mapped locations, with
defaultLocationId set from the primary mapping.Auto-Sync Configuration
Configure automatic employee synchronization behavior.Get Auto-Sync Settings
Update Auto-Sync Settings
Trigger Manual Sync
Employee Review Workflow
WheninviteMode is set to review_required, new employees are queued for admin review.
List Pending Employees
Response:
Approve Employees
Reject Employees
View Sync History
View Webhook Logs
For debugging sync issues, view Merge.dev webhook events.Permissions Reference
Common Workflows
Initial HRIS Setup
Employee Onboarding Flow
Best Practices
Configure mappings before bulk invite
Configure mappings before bulk invite
Set up job title → role mappings and location mappings before inviting employees. This ensures automatic role and location assignment.
Use review mode for initial sync
Use review mode for initial sync
Start with
inviteMode: "review_required" to manually verify the first batch of employees before switching to automatic mode.Monitor sync status regularly
Monitor sync status regularly
Check connection status and webhook logs periodically to catch sync issues early. Set up admin notifications for failures.
Handle terminated employees
Handle terminated employees
Enable
autoDeactivateEnabled to automatically deactivate users when they’re terminated in the HRIS. This maintains security without manual intervention.Use 1:M location mapping strategically
Use 1:M location mapping strategically
When an employee works across multiple Xenia locations, map their HRIS location to all relevant Xenia locations with one marked as primary.
Related Guides
- User Lifecycle - Manual user management
- Role Management - Create roles for mapping
- Location Hierarchy - Set up locations