Connectors / Human resources · HTTP Connector
Trainual integration and API
Create an assignment and create a responsibility in Trainual, and start a workflow when Trainual sends “User created”.
What can you do with Trainual on Tray.ai?
Trainual is a training and onboarding platform where businesses document processes, assign training content to employees and track completions. Tray.ai connects to Trainual through the HTTP Connector, so your workflows can call the Trainual API alongside the rest of your stack.
- When Trainual sends “Assignment completed”, update the employee's onboarding status in your HR system.
- Create a user in Trainual when a new hire is added to your HR system.
- When Trainual sends “Subject completed”, tell the new hire's manager in your team chat.
- Create an assignment when an employee changes role in your HR system.
- Connects through
- HTTP Connector
- Authentication
- A bearer token
- Base URL
- https://api.trainual.com/v3
Set it up
Connect Trainual to Tray.ai
Each step uses Trainual's own API details, from its documentation.
Save Trainual's API token
Save the token Trainual issues as a Tray.ai authentication. The HTTP Client sends it as a bearer token on every call. The token 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://api.trainual.com/v3 as the base URL. Or paste a cURL example from Trainual's API docs, and Tray.ai fills in the method, URL, and headers.
Start with “List users”
It's one of 19 documented actions, under Users. The response comes back as data the next step can map into your other apps.
Start workflows from Trainual events
Give Trainual the URL of a Tray.ai webhook trigger. “User created” can then start a workflow, and so can 7 other events.
Workflows to build with Trainual
Connect Trainual with BambooHR and Slack
Each one uses actions and events from Trainual's own API documentation.
Create Trainual users for new BambooHR hires
When
A new employee is added in BambooHR
Then
- Create a user in Trainual
- Create an assignment in Trainual for onboarding
With BambooHR
Tell managers in Slack when Trainual training is done
When
Assignment completed
Then
- Get a user in Trainual
- Post the completion to the team channel in Slack
With Slack
Apps you can build on Trainual data
Internal tools your team can build with an AI assistant, each one using Trainual calls from its API documentation.
Onboarding progress tracker
Lists new hires with their assignments and completions so a manager sees who is behind.
Training assignment desk
Lists groups and content and lets a manager create an assignment for a person or group.
Completion feed
Shows assignments and subjects as people complete them, grouped by team.
Give your AI agents Trainual tools
Build an MCP server on Trainual 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 users
- List groups
- List assignments
- Create a responsibility
- List content
- List completions
- Create a user
- Update a user
What the Trainual API covers
6 resources and 19 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.
Users
- List users
- Create a user
- Update a user
- Get a user
Groups
- List groups
- Create a group
- Update a group
Assignments
- List assignments
- Create an assignment
- Delete an assignment
Responsibilities
- Create a responsibility
- Assign a responsibility
- Unassign a responsibility
- Delete a responsibility
Content
- List content
- Search content
- Get a document
Completions
- List completions
- List completions for a user
Events Trainual can send to a Tray.ai webhook trigger
- User created
- User updated
- User archived
- Group created
- Assignment created
- Assignment completed
- Subject completed
- Document created
Checked against Trainual's own documentation on 2026-10-22
How Tray.ai makes this work
Trainual plugs into the whole Tray.ai platform
Tray iPaaS
Integrate and automate across 12,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn moreTray Helix agents
Agents in the apps your teams run on Tray Helix that read, write, and act in Trainual, with a person's approval on any tool you choose.
Learn moreAgent Gateway for MCP
Expose Trainual actions as governed MCP tools: observable, rate-limited and authenticated.
Learn moreTray Helix
Build apps on Trainual data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn moreMore human resources apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every human resources connector →
Frequently asked questions
What can a Tray.ai workflow do in Trainual?
The Trainual API documents 19 actions across 6 resources (Users, Groups, Assignments, Responsibilities, Content, Completions). For example: List users; List groups; List assignments. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Trainual?
The Trainual API uses a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
Which Trainual events can start a Tray.ai workflow?
Trainual sends 8 events to a webhook URL, for example: User created; User updated; User archived; Group created; Assignment created; Assignment completed; Subject completed; Document created. A Tray.ai webhook trigger receives them and starts a workflow.
See Trainual working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks. Someone from our team will be in touch soon.