Add Reaction

mattermost.add_reaction
ActionChat & messagingconnection required

Calls the Mattermost API with the connection's credentials.

React to a post with an emoji.

Connection

Required
Yes — the node will not save without one
Auth type
Bearer token
Providers
Mattermost
Secret shape
the personal access token, or {"token": "…"}
Config it needs
base_url, team_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
post_id
The post to react to.
stringYes———
emoji_name
The emoji name, with or without colons, e.g. 'white_check_mark'.
stringYes——white_check_mark
user_id
React as this user. Defaults to the connection's own user.
stringNo———

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "emoji_name": "white_check_mark"
}

Output

One shape.

result

FieldTypeExample
user_id
The user the reaction belongs to.
string—
post_id
The post that was reacted to.
string—
emoji_name
The emoji that was added.
string—
create_at
When the reaction was stored, in epoch millis.
number—
{
  "create_at": 0,
  "emoji_name": "",
  "post_id": "",
  "user_id": ""
}

See Add Reaction run in a workflow.

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