# Convenia integrations: employees and absences

> Start an employee admission, create an absence and create a department in Convenia, and start a workflow when Convenia sends “Admission started”.

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

## Overview

Convenia is a Brazilian HR and people management system covering employee records, hiring and dismissal paperwork, vacations, absences, benefits and payroll files. Tray.ai connects to Convenia through the HTTP Connector, so your workflows can call the Convenia API alongside the rest of your stack.

## Use cases

### Employees

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

- List employees
- List dismissed employees
- Get an employee

### Absences

Read, create, update, and delete absences in Convenia from any Tray.ai workflow. The Convenia API covers calls such as list employee absences and get an absence.

- List employee absences
- Get an absence
- Create an absence

### Departments

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

- List departments
- Create a department
- Update a department

### Job titles

Read, create, update, and delete job titles in Convenia from any Tray.ai workflow. The Convenia API covers calls such as list job titles and create a job title.

- List job titles
- Create a job title
- Update a job title

### Cost centers

Read, create, update, and delete cost centers in Convenia from any Tray.ai workflow. The Convenia API covers calls such as list cost centers and create a cost center.

- List cost centers
- Create a cost center
- Update a cost center

### Payrolls

Read payrolls in Convenia from any Tray.ai workflow. The Convenia API covers calls such as list payrolls and get a payroll.

- List payrolls
- Get a payroll
- Get a payroll file

## Challenges Tray.ai solves

### Keeping Convenia 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 Convenia 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 Convenia 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 Convenia 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 Convenia?

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

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

The Convenia API uses an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

### Can I get a dedicated Convenia connector?

Convenia runs through the HTTP Connector rather than a dedicated connector. If your team wants one, the Tray.ai connector SDK can build a dedicated Convenia connector from the Convenia 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/
