React To Message

rocketchat.react
ActionChat & messagingconnection required

Calls the Rocket.Chat API with the connection's credentials.

Add or remove an emoji reaction on a message. Leave should_react unset to toggle whatever the connection's user has on it now.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Rocket.Chat
Secret shape
the personal access token, or {"token": "…", "user_id": "…"}
Config it needs
base_url, user_id
Resolved by
config.connection_id, else node.connection_id

Configuration

3 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
message_id
The id of the message to act on.
stringYes———
emoji
The emoji name, with or without colons, e.g. 'white_check_mark'.
stringYes———
should_react
True adds the reaction, false removes it, unset toggles it.
booleanNo———

Output

One shape.

result

FieldTypeExample
reacted
True once Rocket.Chat accepted the reaction.
boolean—
message_id
The message that was reacted to.
string—
emoji
The emoji sent, in ':name:' form.
string—
{
  "emoji": "",
  "message_id": "",
  "reacted": false
}

See React To Message run in a workflow.

In a technical demo we add the Rocket.Chat connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.