# Rocket.Chat integrations: messages and channels

> Send a message, create a channel and create a group in Rocket.Chat, and start a workflow when Rocket.Chat sends “Message sent”.

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

## Overview

Rocket.Chat is an open source team chat and omnichannel messaging platform, run in the cloud or self-hosted, with channels, private groups, direct messages and live chat. Tray.ai connects to Rocket.Chat through the HTTP Connector, so your workflows can call the Rocket.Chat API alongside the rest of your stack.

## Use cases

### Messages

Create, update, and delete messages in Rocket.Chat from any Tray.ai workflow. The Rocket.Chat API covers calls such as send a message and post a message.

- Send a message
- Post a message
- Update a message

### Channels

Read, create, and delete channels in Rocket.Chat from any Tray.ai workflow. The Rocket.Chat API covers calls such as create a channel and list channels.

- Create a channel
- List channels
- Add users to a channel

### Private groups

Create and delete private groups in Rocket.Chat from any Tray.ai workflow. The Rocket.Chat API covers calls such as create a group and invite users to a group.

- Create a group
- Invite users to a group
- Archive a group

### Users

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

- Create a user
- List users
- Update a user

### Integrations

Read, create, and update integrations in Rocket.Chat from any Tray.ai workflow. The Rocket.Chat API covers calls such as list integrations and create an integration.

- List integrations
- Create an integration
- Update an integration

### Rocket.Chat events

Start a Tray.ai workflow the moment something happens in Rocket.Chat. Rocket.Chat sends events such as message sent and file uploaded to a Tray.ai webhook trigger.

- Message sent
- File uploaded
- Room created

## Challenges Tray.ai solves

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

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

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

The Rocket.Chat 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.

### Can I get a dedicated Rocket.Chat connector?

Rocket.Chat runs through the HTTP Connector rather than a dedicated connector. If your team wants one, the Tray.ai connector SDK can build a dedicated Rocket.Chat connector from the Rocket.Chat API.

## Learn more

- Intelligent Integration: https://tray.ai/platform/intelligent-ipaas/
- Merlin Agent Builder: https://tray.ai/platform/merlin-agent-builder/
- Agent Gateway for MCP: https://tray.ai/platform/agent-gateway/
- Book a demo: https://tray.ai/contact/
