
Connectors / Communication · HTTP Connector
Automate Rocket.Chat with Tray.ai
Send a message, create a channel and create a group in Rocket.Chat, and start a workflow when Rocket.Chat sends “Message sent”.
Thanks — someone from our team will be in touch soon.
What can you do with Rocket.Chat on Tray.ai?
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.
- Post a message to the on-call channel when your monitoring tool raises a critical alert.
- Create a channel for each new customer project opened in your project management tool.
- Delete a user in Rocket.Chat when your identity provider offboards them, so access ends the same day.
- Connects through
- HTTP Connector
- Authentication
- An API key in a request header
- Base URL
- https://{your-workspace}/api/v1
Set it up
Connect Rocket.Chat to Tray.ai
Each step uses Rocket.Chat's own API details, from its documentation.
Step 1
Save Rocket.Chat'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.
Step 2
Point the HTTP Client at the API
Add an HTTP Client step and use https://{your-workspace}/api/v1 as the base URL. Or paste a cURL example from Rocket.Chat's API docs, and Tray.ai fills in the method, URL, and headers.
Step 3
Start with “List channels”
It's one of 18 documented actions, under Channels. The response comes back as data the next step can map into your other apps.
Step 4
Start workflows from Rocket.Chat events
Give Rocket.Chat the URL of a Tray.ai webhook trigger. “Message sent” can then start a workflow, and so can 6 other events.
What the Rocket.Chat API covers
5 resources and 18 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.
Messages
- Send a message
- Post a message
- Update a message
- Delete a message
Channels
- Create a channel
- List channels
- Add users to a channel
- Archive a channel
Private groups
- Create a group
- Invite users to a group
- Archive a group
Users
- Create a user
- List users
- Update a user
- Delete a user
Integrations
- List integrations
- Create an integration
- Update an integration
Events Rocket.Chat can send to a Tray.ai webhook trigger
- Message sent
- File uploaded
- Room created
- Room archived
- User joined room
- User left room
- User created
Checked against Rocket.Chat's own documentation on 2026-10-22
How Tray.ai makes this work
Rocket.Chat plugs into the whole Tray.ai platform
Intelligent Integration
Integrate and automate across 6,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn more →Agent Builder
Build AI agents that read, write, and take action in Rocket.Chat — with guardrails, audit, and human-in-the-loop.
Learn more →Agent Gateway for MCP
Expose Rocket.Chat actions as governed MCP tools — observable, rate-limited, authenticated.
Learn more →Tray Helix
Build apps on Rocket.Chat data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn more →More communication apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every communication connector →
Frequently asked questions
What can a Tray.ai workflow do in Rocket.Chat?
+
The Rocket.Chat API documents 18 actions across 5 resources (Messages, Channels, Private groups, Users, Integrations). For example: Send a message; Create a channel; Create a group. A workflow can make any documented call through the HTTP Connector.
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.
Which Rocket.Chat events can start a Tray.ai workflow?
+
Rocket.Chat sends 7 events to a webhook URL, for example: Message sent; File uploaded; Room created; Room archived; User joined room; User left room; User created. A Tray.ai webhook trigger receives them and starts a workflow.
See Rocket.Chat 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.