Skip to content
Zenegy logo

Connectors / Human resources · HTTP Connector

Zenegy integration and API

Create an employee, create an absence registration and create a customer in Zenegy, and start a workflow when Zenegy sends “Employee created”.

What can you do with Zenegy on Tray.ai?

Zenegy is a Danish payroll, expense and bookkeeping suite that runs payroll, absence and hours registration alongside accounting for customers and suppliers. Tray.ai connects to Zenegy through the HTTP Connector, so your workflows can call the Zenegy API alongside the rest of your stack. API access comes through Zenegy's partner program or API plan, so you need approved credentials first.

  • When Zenegy sends “Payroll failed”, alert the payroll team in your team chat.
  • When Zenegy sends “Absence approved”, block the time off in your team calendar.
  • Create an employee in Zenegy when a new hire is added in your HR system.
  • When Zenegy sends “Payroll completed”, notify finance so they can reconcile the payroll run.
Connects through
HTTP Connector
Authentication
OAuth 2.0
Base URL
https://api.zenegy.com

Set it up

Connect Zenegy to Tray.ai

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

Sign in to Zenegy with OAuth 2.0

Ask Zenegy for API access. Once it's approved, set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with Zenegy. Sign in once and every step reads the token from there.

Point the HTTP Client at the API

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

Start with “List employees”

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

Start workflows from Zenegy events

Give Zenegy the URL of a Tray.ai webhook trigger. “Employee created” can then start a workflow, and so can 8 other events.

Workflows to build with Zenegy

Connect Zenegy with BambooHR, Slack and Microsoft Outlook

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

Add new BambooHR hires to Zenegy payroll

When

An employee is hired in BambooHR

Then

  1. Get the new hire's start date and pay details from BambooHR
  2. Create an employee in Zenegy payroll

With BambooHR

Alert HR in Slack when a Zenegy payroll run fails

When

Payroll failed

Then

  1. List employees affected by the run
  2. Post the payroll run details to the HR channel in Slack

With Slack

Send approved Zenegy absences to Outlook calendars

When

Absence approved

Then

  1. Get an employee to find their email
  2. Add an out of office event to their calendar in Microsoft Outlook

With Microsoft Outlook

Apps you can build on Zenegy data

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

Absence approval tracker

Lists absence registrations by employee with their approval status so managers can see who is off.

Payroll run monitor

Shows each payroll run as it is created, approved, completed or fails so finance can act on problems fast.

Journal entry review

Lists draft journal entries with their finance accounts and lets an accountant correct and book them.

Give your AI agents Zenegy tools

Build an MCP server on Zenegy 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 absence registrations
  • List customers
  • List journal entries
  • List finance accounts
  • Create an employee
  • Get an employee
  • Create an absence registration

What the Zenegy API covers

5 resources and 18 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Zenegy gives API access on request, so approved credentials come first. Connecting it takes a few clicks: here's how.

Employees

  • List employees
  • Create an employee
  • Get an employee

Absence registrations

  • List absence registrations
  • Create an absence registration
  • Delete an absence registration

Customers

  • List customers
  • Create a customer
  • Update a customer
  • Delete a customer

Journal entries

  • List journal entries
  • Create a journal entry
  • Update a journal entry
  • Book journal entries

Chart of accounts

  • List finance accounts
  • Create a finance account
  • Update a finance account
  • Delete a finance account

Events Zenegy can send to a Tray.ai webhook trigger

  • Employee created
  • Employee updated
  • Payroll created
  • Payroll approved
  • Payroll completed
  • Payroll failed
  • Absence created
  • Absence approved
  • Absence rejected

Checked against Zenegy's own documentation on 2026-11-03

developers.zenegy.com/docs

Frequently asked questions

What can a Tray.ai workflow do in Zenegy?

The Zenegy API documents 18 actions across 5 resources (Employees, Absence registrations, Customers, Journal entries, Chart of accounts). For example: List employees; List absence registrations; List customers. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Zenegy?

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

Which Zenegy events can start a Tray.ai workflow?

Zenegy sends 9 events to a webhook URL, for example: Employee created; Employee updated; Payroll created; Payroll approved; Payroll completed; Payroll failed; Absence created; Absence approved. A Tray.ai webhook trigger receives them and starts a workflow.

Do I need special access to the Zenegy API?

Yes. Zenegy gives API access on request, so you need approved credentials before a Tray.ai workflow can call it.

See Zenegy 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.