Skip to content
PeopleForce logo

Connectors / Human resources · HTTP Connector

PeopleForce integration and API

Create a person, create a department and create a location in PeopleForce, and start a workflow when PeopleForce sends “Employee created”.

What can you do with PeopleForce on Tray.ai?

PeopleForce is an HR platform for growing companies, covering employee records, leave and time off, performance reviews, recruiting and engagement surveys. Tray.ai connects to PeopleForce through the HTTP Connector, so your workflows can call the PeopleForce API alongside the rest of your stack.

  • When PeopleForce sends “Employee created”, create accounts for the new hire in your identity system.
  • When PeopleForce sends “Employee terminated”, open an offboarding ticket in your help desk so IT removes access.
  • Post new time off requests to your team chat when PeopleForce sends “Leave request created”.
  • When PeopleForce sends “Employee salary created”, send the change to your payroll system.
Connects through
HTTP Connector
Authentication
An API key in a request header
Base URL
https://app.peopleforce.io/api/v4

Set it up

Connect PeopleForce to Tray.ai

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

Save PeopleForce'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://app.peopleforce.io/api/v4 as the base URL. Or paste a cURL example from PeopleForce's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List people”

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

Start workflows from PeopleForce events

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

Workflows to build with PeopleForce

Connect PeopleForce with Okta, Slack and Jira

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

Create Okta accounts for new PeopleForce employees

When

Employee created

Then

  1. Create the user account in Okta
  2. Post a welcome note to the team channel in Slack

With Okta and Slack

Remove access when a PeopleForce employee leaves

When

Employee terminated

Then

  1. Deactivate the user in Okta
  2. Open an offboarding issue for IT in Jira

With Okta and Jira

Apps you can build on PeopleForce data

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

Headcount dashboard

Shows people by department, location and job title, with recent leavers.

Leave balance lookup

Lists leave requests with each employee's balance so a manager can plan cover.

Review cycle tracker

Shows review cycles with responses and objectives so HR can see progress.

PeopleForce MCP server for AI agents

Build an MCP server on PeopleForce 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 people
  • List departments
  • List locations
  • List job titles
  • List leave requests
  • List objectives
  • Create a person
  • Update a person

What the PeopleForce API covers

6 resources and 21 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.

People

  • List people
  • Create a person
  • Update a person
  • Terminate a person
  • List terminated people

Departments

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

Locations

  • List locations
  • Create a location
  • Update a location
  • Delete a location

Job titles

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

Leave

  • List leave requests
  • List leave balances

Performance

  • List objectives
  • List review cycles
  • List review responses

Events PeopleForce can send to a Tray.ai webhook trigger

  • Employee created
  • Employee updated
  • Employee terminated
  • Employee salary created
  • Leave request created

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

developer.peopleforce.io/company/v4/getting-started

Frequently asked questions

What can a Tray.ai workflow do in PeopleForce?

The PeopleForce API documents 21 actions across 6 resources (People, Departments, Locations, Job titles, Leave, Performance). For example: List people; List departments; List locations. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with PeopleForce?

The PeopleForce 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 PeopleForce events can start a Tray.ai workflow?

PeopleForce sends 5 events to a webhook URL, for example: Employee created; Employee updated; Employee terminated; Employee salary created; Leave request created. A Tray.ai webhook trigger receives them and starts a workflow.

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