Rocket.Chat Extended icon

Rocket.Chat Extended

Extended Rocket.Chat operations: channels, messages, threads, reactions, file upload, and more

Message → Send

AI-generated

Summary

Sends a text message to a Rocket.Chat channel, supporting Markdown, aliases, custom avatars, emojis, and JSON attachments.

Inputs

  • specifyRoomManually — Whether to specify the room ID manually instead of selecting from the list.
  • roomId (required) — Select the channel from the list. Choose from the list, or switch to manual mode to enter the ID.
  • roomId (required) — The ID of the channel/group.
  • text (required) — The text content of the message. Supports Markdown.
  • additionalFields.alias — A custom display name for the message sender.
  • additionalFields.attachments — Array of attachment objects in JSON format.
  • additionalFields.avatar — URL of an image to use as avatar.
  • additionalFields.emoji — Emoji to use as avatar (e.g. :rocket:).

Output shape

a single record

The returned item includes the JSON response from the Rocket.Chat API for the sent message.

Examples

Example 1: Send a simple Markdown-formatted message to a public channel.

Resource: Message, Operation: Send, Room: Select from dropdown, Text: Enter message.

Example 2: Send a message with a custom sender alias.

Resource: Message, Operation: Send, Text: Enter message, Additional Fields: Alias: 'Bot Name'.

Example 3: Send a message with a JSON attachment.

Resource: Message, Operation: Send, Text: Enter message, Additional Fields: Attachments (JSON): '[{"title":"Alert","text":"System down"}]'.

Links

Discussion