Skip to content
Convenia logo

Connectors / Human resources · HTTP Connector

Convenia integration and API

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

What can you do with Convenia on Tray.ai?

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.

  • When Convenia sends “Admission completed”, create accounts for the new hire in your identity provider.
  • When Convenia sends “Employee dismissed”, open an offboarding ticket so IT removes their access.
  • When Convenia sends “Vacation approved”, add the time off to the team's shared calendar.
  • Create a cost center whenever finance adds one to your accounting system.
Connects through
HTTP Connector
Authentication
An API key in a request header
Base URL
https://public-api.convenia.com.br/api/v3

Set it up

Connect Convenia to Tray.ai

Each step uses Convenia's own API details, from its documentation.

Save Convenia's API key

Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.

Point the HTTP Client at the API

Add an HTTP Client step and use https://public-api.convenia.com.br/api/v3 as the base URL. Or paste a cURL example from Convenia's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List employees”

It's one of 26 documented actions, under Employees. The response comes back as data the next step can map into your other apps.

Start workflows from Convenia events

Give Convenia the URL of a Tray.ai webhook trigger. “Admission started” can then start a workflow, and so can 7 other events.

Workflows to build with Convenia

Connect Convenia with Okta, ServiceNow and Slack

Each one uses actions and events from Convenia's own API documentation.

Create accounts in Okta when a Convenia admission completes

When

Admission completed

Then

  1. Get an employee for name, department and title
  2. Create the user and assign apps in Okta

With Okta

Deactivate Okta access when an employee is dismissed in Convenia

When

Employee dismissed

Then

  1. Get an employee for their email
  2. Deactivate the user in Okta
  3. Open an offboarding ticket in ServiceNow

With Okta and ServiceNow

Post approved Convenia vacations to Slack

When

Vacation approved

Then

  1. Get an employee for the name and team
  2. Post the dates to the team channel in Slack

With Slack

Apps you can build on Convenia data

Internal tools your team can build with an AI assistant, each one using Convenia calls from its API documentation.

Absence tracker

Lists employee absences by department and lets HR update or add an absence.

Hiring and exit tracker

Shows admissions and dismissals as they start and complete, with each employee's record.

Headcount by cost center

Shows employees grouped by department, job title and cost center.

Give your AI agents Convenia tools

Build an MCP server on Convenia in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List employees
  • List employee absences
  • List departments
  • List job titles
  • List cost centers
  • List payrolls
  • List dismissed employees
  • Get an employee

What the Convenia API covers

6 resources and 26 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Employees

  • List employees
  • List dismissed employees
  • Get an employee
  • Update an employee
  • Start an employee admission
  • Start an employee dismissal

Absences

  • List employee absences
  • Get an absence
  • Create an absence
  • Update an absence
  • Delete an absence

Departments

  • List departments
  • Create a department
  • Update a department
  • Delete a department

Job titles

  • List job titles
  • Create a job title
  • Update a job title
  • Delete a job title

Cost centers

  • List cost centers
  • Create a cost center
  • Update a cost center
  • Delete a cost center

Payrolls

  • List payrolls
  • Get a payroll
  • Get a payroll file

Events Convenia can send to a Tray.ai webhook trigger

  • Admission started
  • Admission completed
  • Employee dismissed
  • Vacation created
  • Vacation approved
  • Employee profile changed
  • Salary data changed
  • Absence created

Checked against Convenia's own documentation on 2026-10-22

docs-api.convenia.com.br

Frequently asked questions

What can a Tray.ai workflow do in Convenia?

The Convenia API documents 26 actions across 6 resources (Employees, Absences, Departments, Job titles, Cost centers, Payrolls). For example: List employees; List employee absences; List departments. A workflow can make any documented call through the HTTP Connector.

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.

Which Convenia events can start a Tray.ai workflow?

Convenia sends 8 events to a webhook URL, for example: Admission started; Admission completed; Employee dismissed; Vacation created; Vacation approved; Employee profile changed; Salary data changed; Absence created. A Tray.ai webhook trigger receives them and starts a workflow.

See Convenia working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.