Slack Message Reaction Add Block

Add reactions to Slack messages within Scout workflows

The Slack Message Reaction Add block enables users to programmatically add emoji reactions to messages in Slack channels or threads. This block is useful for automating responses or feedback in Slack, enhancing communication within teams.

Configuration (Required)

Channel ID
stringRequired

The ID of the channel to post the message to. This field supports Jinja templating, allowing for dynamic channel ID generation based on workflow state.

Thread ID
string

The ID of the thread to post the message to. If not specified, the message will be posted as a new thread. The default value is an empty string. This field supports Jinja templating for dynamic thread ID generation.

Emoji Name
stringRequired

The name of the emoji to add as a reaction. Ensure the emoji name exists in Slack to prevent failed reactions. This field supports Jinja templating for dynamic emoji name generation.

See Workflow Logic & State > State Management for details on using dynamic variables in this block.

Outputs

The block outputs the response from Slack after attempting to add the reaction. This response is in JSON format and contains details about the operation’s success or failure.

Usage Context

Use this block to automate the addition of emoji reactions to Slack messages, which can be useful for workflows that require acknowledgment or feedback mechanisms.

Best Practices

  • Ensure that the channel and thread IDs are accurate to avoid errors.
  • Use Jinja templating to dynamically generate channel IDs, thread IDs, or emoji names based on workflow state.
  • Verify that the emoji name exists in Slack to prevent failed reactions.