- Home
- Resources
- Integrations
- RocketChat
RocketChat n8n integrationAutomate RocketChat with n8n.
Every alert your team needs should land in the right channel, without anyone copying it there. The RocketChat n8n integration exposes one node operation, Post a message, with 19 attachment options behind it. Made for teams running their own chat server next to the rest of their tools.
Verified Trustpilot reviews · AI, automation & growth agency
What does the RocketChat n8n integration actually cover?
The RocketChat node takes a workflow result and posts it as a message in a RocketChat channel, or as a direct message to one person. It carries a single operation, and that operation is the delivery end of an automation: something happens elsewhere, n8n formats it, RocketChat displays it to the people who need to act on it.
One operation sounds thin until you look at what rides on it. A message can be plain text, or it can carry an attachment with a color bar, an author name, a clickable title, a thumbnail and up to 19 configurable options. That is the difference between a wall of pasted logs and a card someone can act on at a glance.
First pattern, the internal alert. A workflow reads a sheet with Google Sheets, spots the rows that need a human decision, and posts one message per row with the record link as the attachment title. The ops channel becomes the queue.
Second pattern, the mirror. Teams that keep RocketChat for internal talk but still receive customer traffic elsewhere push a copy into a private room, whether that traffic arrives through Gmail or already lands in Slack for another department. Same workflow, two destinations, no manual forwarding.
Third pattern, the direct ping. The Channel field accepts a person as well as a room, so an approval request reaches the one person who can answer it instead of a channel where it will scroll away.
Where the node stops: it posts, and that is all it does. Creating a channel, inviting a user, uploading a file, reading message history or listing rooms are not part of it. Those calls go through the HTTP Request node, which reaches any endpoint of the RocketChat REST API while reusing the same credential. There is also no RocketChat trigger in n8n, so a workflow that watches for something starts with a Schedule Trigger or a Webhook and uses RocketChat only at the end. If you want the wider view before committing, the n8n review and the n8n training cover the parts around the node.
How do you connect RocketChat to n8n?
- 01
Check the permission on your account
The credential runs on a personal access token, and RocketChat only lets an account generate one when it holds the
create-personal-access-tokenspermission. On a self-hosted server an admin grants it per role, so ask before you start clicking. Using a dedicated automation account rather than a human one keeps the message author readable later, when someone wonders who posted that alert at night. - 02
Generate the access token
In RocketChat, open your avatar, then Account, then Personal Access Tokens, and create one. The screen shows two values and only shows them once: the token itself, and the user identifier attached to it. Copy both somewhere safe before closing the panel. RocketChat will not display the token again, and a lost token means generating a new one and updating the credential.
- 03
Fill the credential in n8n
In n8n, go to Credentials and create a Rocket.Chat credential. It asks for three things: User ID, the identifier shown when the token was generated, Auth Key, the personal access token itself, and Domain, your workspace URL, the same address you type to open RocketChat. A credential is created once and then appears in the dropdown of every RocketChat node you add later.
What can the RocketChat node do?
The RocketChat node exposes 1 operations across 1 resources. For each one: the node as you configure it in n8n, the required fields, and our field notes.
Operations index
Chat
1 operationPost a message
chat.postMessageWhat you see in n8n
Notes & use cases
The single operation posts a message to a RocketChat channel or a direct message.
Key parameters
- Channel: name with its prefix,
#ops-alertsor@alex, often{{ $json.channel }}. - Text: the message body, optional if an attachment carries it.
- Color, Author Name, Title, Title Link: four Options fields building the card's bar, byline and headline.
- Image URL, Audio URL, Video URL: attach media by URL, the node never uploads a file.
- Text under Options: a second field, the attachment's own text, not the message Text above.
Need help automating RocketChat with n8n?
A person reads every message.
