# Trainual integrations: assignments

> Create an assignment and create a responsibility in Trainual, and start a workflow when Trainual sends “User created”.

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

## Overview

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.

## Use cases

### Users

Read, create, and update users in Trainual from any Tray.ai workflow. The Trainual API covers calls such as list users and create a user.

- List users
- Create a user
- Update a user

### Groups

Read, create, and update groups in Trainual from any Tray.ai workflow. The Trainual API covers calls such as list groups and create a group.

- List groups
- Create a group
- Update a group

### Assignments

Read, create, and delete assignments in Trainual from any Tray.ai workflow. The Trainual API covers calls such as list assignments and create an assignment.

- List assignments
- Create an assignment
- Delete an assignment

### Responsibilities

Create, update, and delete responsibilities in Trainual from any Tray.ai workflow. The Trainual API covers calls such as create a responsibility and assign a responsibility.

- Create a responsibility
- Assign a responsibility
- Unassign a responsibility

### Content

Read content in Trainual from any Tray.ai workflow. The Trainual API covers calls such as list content and search content.

- List content
- Search content
- Get a document

### Completions

Read completions in Trainual from any Tray.ai workflow. The Trainual API covers calls such as list completions and list completions for a user.

- List completions
- List completions for a user

## Challenges Tray.ai solves

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

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

### 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.

### Can I get a dedicated Trainual connector?

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