Rocket.Chat Extended icon

Rocket.Chat Extended

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

Message → Upload File

AI-generated

Summary

Uploads a file to a Rocket.Chat channel, optionally including a description or attaching it as a reply in a thread.

Inputs

  • Room (required) — Select the channel from the list.
  • Room ID (required) — The ID of the channel/group.
  • Binary Property (required) — The name of the binary property containing the file to upload (default: 'data').
  • Upload Additional Fields — Optional description for the uploaded file or a Thread Message ID to reply in a thread.

Output shape

a single item containing the API response for the uploaded file

The node uses a two-step upload process: first uploads the binary to rooms.media, then confirms with metadata via rooms.mediaConfirm.

Examples

Example 1: Upload a report PDF to a public channel named 'general-reporting' with a description.

Room ID: general-reporting; Binary Property: data; Description: Monthly sales report PDF

Example 2: Attach a screenshot as a reply in an existing thread.

Room ID: project-x; Binary Property: data; Thread Message ID: 1234567890abcdef

Links

Discussion