# Chat Data integrations: chatbots and messages

> Create and train a chatbot, send a message and create a sub-user in Chat Data, and start a workflow when Chat Data sends “Chat message received”.

**Canonical page:** https://tray.ai/connectors/chat-data-integrations/
**Categories:** AI
**Connects through:** HTTP Connector

## Overview

Chat Data is a platform for building AI chatbots trained on your own documents, websites, and Q&As, then deploying them on sites and messaging channels. Tray.ai connects to Chat Data through the HTTP Connector, so your workflows can call the Chat Data API alongside the rest of your stack.

## Use cases

### Chatbots

Read, create, update, delete, and manage chatbots in Chat Data from any Tray.ai workflow. The Chat Data API covers calls such as list chatbots and create and train a chatbot.

- List chatbots
- Create and train a chatbot
- Retrain a chatbot

### Messages

Create messages in Chat Data from any Tray.ai workflow. The Chat Data API covers calls such as send a message and send a live chat message.

- Send a message
- Send a live chat message

### Conversations

Read, update, and delete conversations in Chat Data from any Tray.ai workflow. The Chat Data API covers calls such as list conversations and get a conversation.

- List conversations
- Get a conversation
- Delete a conversation

### Sub-users

Read, create, update, and delete sub-users in Chat Data from any Tray.ai workflow. The Chat Data API covers calls such as list sub-users and create a sub-user.

- List sub-users
- Create a sub-user
- Update a sub-user

### Chat Data events

Start a Tray.ai workflow the moment something happens in Chat Data. Chat Data sends events such as chat message received and live chat escalated to a Tray.ai webhook trigger.

- Chat message received
- Live chat escalated
- Lead submitted

## Challenges Tray.ai solves

### Keeping Chat Data 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 Chat Data 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 Chat Data 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 Chat Data 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 Chat Data?

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

### How does Tray.ai authenticate with Chat Data?

The Chat Data 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 Chat Data connector?

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