> This page is for Unified.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.merge.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.merge.dev/_mcp/server.

# Train AI with HRIS data

> How to ingest HRIS data for AI model training on workforce analytics and retention using the Merge HRIS API.

---

#### User authorizes HRIS access

Your users authorize your application to access their HRIS platform by going through an authorization flow using Merge Link.

#### Retrieve comprehensive HRIS data

Utilize Merge's API endpoints, such as [**GET** /employees](https://docs.merge.dev/hris/employees/#employees_list) and [**GET** /EmployeePayrollRun](https://docs.merge.dev/hris/employee-payroll-runs/#employee_payroll_runs_list), to retrieve comprehensive HRIS data related to employees and compensation.

#### Clean and transform data

Clean the data by removing duplicates in your customer data, handling missing values, and filtering out irrelevant fields.
Transform data into a format suitable for AI training, possibly involving normalization, encoding, or feature engineering.

#### Model training

Split the preprocessed HRIS data into training and testing sets. Use the training set to train an AI model tailored for workforce analytics and optimization tasks and insights.

#### Validate model performance

Validate the model's performance using the testing set. Compute relevant metrics to gauge the model's effectiveness.

#### Monitor and retrain

Continuously monitor HRIS data for updates, changes, and new employee information and implement a feedback loop for model retraining and improvement to adapt.

#### Surface insights to customers

Build a UI to provide your customers with valuable insights generated by the AI models, such as employee retention predictions, compensation optimization recommendations, or performance trend analysis.

#### Get started in automatically pulling HRIS data to train AI with Merge

Integrate today or talk to our sales team to learn how Merge unlocks hundreds of integrations in days - not years.

\


Get a demo **

\
\