# Rocket.Chat Message Sender

Source: https://openflow.run/ja/templates/rocketchat-message-sender/
Content language: en
Template revision: f2bf5895d91486412f320151dafd9c6b95b42091

コミュニケーション

Post one text message to a Rocket.Chat room or user.

[Open Flow で使用](https://console.openflow.run/flows?importUrl=https%3A%2F%2Fraw.githubusercontent.com%2Foomol-lab%2Fawesome-workflow-templates%2Ff2bf5895d91486412f320151dafd9c6b95b42091%2Fworkflows%2Frocketchat-message-sender%2Ftemplates%2Frocketchat-message-sender.openflow.json)

*   [Open Flow JSON](https://raw.githubusercontent.com/oomol-lab/awesome-workflow-templates/f2bf5895d91486412f320151dafd9c6b95b42091/workflows/rocketchat-message-sender/templates/rocketchat-message-sender.openflow.json)
*   [n8n JSON](https://raw.githubusercontent.com/oomol-lab/awesome-workflow-templates/f2bf5895d91486412f320151dafd9c6b95b42091/workflows/rocketchat-message-sender/templates/rocketchat-message-sender.n8n.json)

![Open Flow の Rocket.Chat Message Sender ワークフロー](https://openflow.run/_astro/preview-light.D42Ae5Ux_ZVClKu.webp)

Post one text message to a Rocket.Chat room, channel or user and return the created message record.

## Setup

Select your Rocket.Chat account in **Post Rocket.Chat message** and allow `rocket_chat.post_message`. Configure the workspace URL, user ID and auth token in the connection. Run with **Room Id** and **Text**. The target can be a room ID, a channel name with `#`, or a username with `@`. The connected user must be able to post to that target.

In n8n, select Rocket API credentials in **RocketChat** and replace its channel and text. The credential’s domain is your workspace URL; its auth key is the user’s auth token.

Each run posts one message as the connected user. It adds no attachment, alias, avatar, thread reply or custom field. URL previews follow Rocket.Chat’s default behavior. Open Flow returns the complete created message record, including its ID, room ID and any extra message properties. n8n retains the API response wrapper around that record. The result does not confirm that anyone has read the message.

A rejected post, missing message ID or request failure stops the run. Each run can post another message; no duplicate check or automatic retry is configured. Check the room before repeating an uncertain request.

## Changes to the source

*   Replace example room and text values with user configuration.
*   Check the API’s success flag and message identifiers in both formats.
*   Expose the created message record in Open Flow.

Adapted from [Rocket.Chat message workflow](https://github.com/Zie619/n8n-workflows/blob/ae8cf6dc5b873cbb4f74587aa9180ed3a9f70682/workflows/Manual/1189_Manual_Rocketchat_Send_Triggered.json) in [Zie619/n8n-workflows](https://github.com/Zie619/n8n-workflows). The source export does not identify a separate template author or license.

The collection’s [MIT notice](https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/LICENSE) is pinned at a later revision. This is the collection notice at that revision; it does not establish a separate original template author’s license. Our changes are listed above; see [repository licensing](https://github.com/oomol-lab/awesome-workflow-templates/blob/f2bf5895d91486412f320151dafd9c6b95b42091/README.md#licensing).

> MIT License
> 
> Copyright (c) 2025 Zie619
> 
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
> 
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
> 
> THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

## 使用するアプリ

*   [**Rocket.Chat**`rocket_chat`](https://console.openflow.run/connections/rocket_chat)

## 必要な設定

*   Rocket.Chat connection with workspace URL, user ID and auth token
*   Permission to post to the target room or user
*   Room ID, #channel or @username and message text

*   rocket chat
*   messages
*   notifications
*   manual

[GitHub で見る](https://github.com/oomol-lab/awesome-workflow-templates/blob/f2bf5895d91486412f320151dafd9c6b95b42091/workflows/rocketchat-message-sender/README.md)
