# Lucca integrations: employees and employments

> Create an employee, create an employment and create a department in Lucca, and start a workflow when Lucca sends “Employee created”.

**Canonical page:** https://tray.ai/connectors/lucca-integrations/
**Categories:** Human resources
**Connects through:** HTTP Connector

## Overview

Lucca is a French HR software suite covering the employee directory, leave, timesheets, expenses, and training. Tray.ai connects to Lucca through the HTTP Connector, so your workflows can call the Lucca API alongside the rest of your stack.

## Use cases

### Employees

Read, create, and update employees in Lucca from any Tray.ai workflow. The Lucca API covers calls such as list employees and create an employee.

- List employees
- Create an employee
- Get an employee

### Employments

Read, create, update, and delete employments in Lucca from any Tray.ai workflow. The Lucca API covers calls such as list employments and create an employment.

- List employments
- Create an employment
- Update an employment

### Departments

Read, create, and update departments in Lucca from any Tray.ai workflow. The Lucca API covers calls such as list departments and create a department.

- List departments
- Create a department
- Update a department

### Job positions

Read, create, update, and delete job positions in Lucca from any Tray.ai workflow. The Lucca API covers calls such as list job positions and create a job position.

- List job positions
- Create a job position
- Update a job position

### Webhook endpoints

Read, create, and delete webhook endpoints in Lucca from any Tray.ai workflow. The Lucca API covers calls such as list webhook endpoints and create a webhook endpoint.

- List webhook endpoints
- Create a webhook endpoint
- Delete a webhook endpoint

### Lucca events

Start a Tray.ai workflow the moment something happens in Lucca. Lucca sends events such as employee created and employee updated to a Tray.ai webhook trigger.

- Employee created
- Employee updated
- Employment created

## Challenges Tray.ai solves

### Keeping Lucca credentials out of logs

A raw API call usually means pasting a key or token into the request, where it ends up in step inputs, logs, and screenshots.

**How Tray.ai helps:** Store Lucca credentials once as a Tray.ai authentication and reference them from the HTTP Connector. Tray.ai masks authentication values in logs, so the secret never shows up in a step's input or output.

### Going from the Lucca API docs to a working call

Translating an example request from API docs into a workflow step means copying the method, URL, headers, and body by hand.

**How Tray.ai helps:** Paste a cURL example from the Lucca API docs into the HTTP Connector and Tray.ai fills in the method, URL, headers, and body for you.

### Handling files and non-JSON responses

Not every API answers in JSON. Some return XML, files, or binary data, or expect a multipart upload.

**How Tray.ai helps:** The HTTP Connector parses JSON and XML responses, returns files you can pass to the next step, and sends multipart form data for uploads.

## Frequently asked questions

### Does Tray.ai connect to Lucca?

Yes. Tray.ai connects to Lucca through the HTTP Connector, which calls the Lucca API directly. Any call the Lucca API documents can run as a step in a Tray.ai workflow.

### How does Tray.ai authenticate with Lucca?

The Lucca API uses OAuth 2.0 and a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

### Can I get a dedicated Lucca connector?

Lucca runs through the HTTP Connector rather than a dedicated connector. If your team wants one, the Tray.ai connector SDK can build a dedicated Lucca connector from the Lucca API.

## Learn more

- Tray iPaaS: https://tray.ai/platform/ipaas/
- Tray Helix agents: https://tray.ai/helix/agents/
- Agent Gateway for MCP: https://tray.ai/platform/agent-gateway/
- Book a demo: https://tray.ai/contact/
