# HR Partner

> Sync employee directories and company holidays for onboarding and workforce calendars. Read-only beta integration.

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/hr-partner

## Actions

### Get company

Get company using the documented API. Returns the records visible to this API credential.

**Inputs**: None.

**Outputs**

- `data` (object): The response from HR Partner.

**Example output**

```json
{
  "data": {
    "name": "Example Company",
    "slug": "example-company",
    "total_employees": 5
  }
}
```

### List company holidays

List company holidays using the documented API. Returns the records visible to this API credential.

**Inputs**

- From date (`from_date`, text): First date, YYYY-MM-DD.
- To date (`to_date`, text): Last date, YYYY-MM-DD.

**Outputs**

- `data` (list): The response from HR Partner.

**Example output**

```json
{
  "data": [
    {
      "company_wide": true,
      "date": "2026-01-01",
      "id": "holiday1",
      "name": "New Year"
    }
  ]
}
```

### List employees

List employees using the documented API. Returns the records visible to this API credential.

**Inputs**

- Is terminated (`is_terminated`, true/false): Is terminated
- Department (`department`, text): Department

**Outputs**

- `data` (list): The response from HR Partner.

**Example output**

```json
{
  "data": [
    {
      "code": "EMP001",
      "first_names": "Example",
      "id": 1,
      "last_name": "Employee"
    }
  ]
}
```
