Add Reaction
slack.add_reaction
ActionChat & messagingconnection required
Calls the Slack Web API with the connection's bot token.
Add an emoji reaction to a message.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Slack
- Secret shape
- the Slack bot token (xoxb-…), or {"token": "xoxb-…"}
- Resolved by
- config.connection_id, else node.connection_id
Configuration
3 fields, 3 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
channel Channel id holding the message (C…, G… or D…). Supports {{ }}. | string | Yes | — | — | — |
timestamp The ts of the message to react to, as emitted by slack.post_message. | string | Yes | — | — | — |
name Emoji name without colons, e.g. thumbsup or white_check_mark. | string | Yes | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok Always true; a failure raises instead. | boolean | true |
channel The channel holding the message. | string | — |
timestamp The ts of the message that was reacted to. | string | — |
name The emoji name, without colons. | string | — |
{
"channel": "",
"name": "",
"ok": true,
"timestamp": ""
}Notes
- The bot must be a member of a private channel before it can act there (Slack answers not_in_channel otherwise).
- Slack rate-limits each Web API method on its own tier; a throttled call fails with the number of seconds to wait and is safe for the node's retry policy to repeat.
- Slack answers already_reacted when this bot has already added that emoji.
Templates that use Slack
See Add Reaction run in a workflow.
In a technical demo we add the Slack connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.