Retrieves emoji reactions on a Slack message, waiting up to a configurable timeout.
For prerequisites, see Slack chat actions.
Get message reactions
The action identifier is slack.chat.getReactions.
Gets a reaction of a message from a Slack channel.
The following table describes all available input fields for this action.
Input | Type | Description | Example |
|---|---|---|---|
token | Secret | Required. The Slack bot token to use. This should be passed as a secret syntax. Refer to Add Slack configuration for instructions on setting up a token. |
|
channelID | String | Required. The channelID to get the message reactions from. See |
|
threadTs | String | Required. Timestamp belonging to the message, used to get the reaction of that message. |
|
timeout | Int | Optional. The time in seconds to wait for any reaction. Default is 60s, maximum allowed is 600s (10 min). |
|
selectors | List | Optional. The selectors to get only the specified parameters as output. |
|
The following table describes all output fields returned by this action.
Output | Type | Description |
|---|---|---|
reactions | List | List of elements with all the reactions captured, or an empty list if the timeout occurred. |
success | Boolean |
|
errorMessage | String | Failure reason as message. Example: |
Example: Get Slack message reactions
Workflow example |
|---|
Inputs: Outputs: If the timeout expires before any reactions are added, the output is an empty list: |