
Slack Get
CertifiedGet Slack reactions for an item
Slack Get
Get Slack reactions for an item
Fetches reactions on a message, file, or file comment and writes them to storage. Requires reactions: read.
type: io.kestra.plugin.slack.app.reactions.GetExamples
Get reactions for a message
id: slack_get_reactions
namespace: company.team
tasks:
- id: get_reactions
type: io.kestra.plugin.slack.app.reactions.Get
token: "{{ secret('SLACK_TOKEN') }}"
channel: "#general"
timestamp: "{{ outputs.previous_task.timestamp }}"
Get reactions and process them
id: slack_process_reactions
namespace: company.team
tasks:
- id: post_message
type: io.kestra.plugin.slack.app.chats.Post
token: "{{ secret('SLACK_TOKEN') }}"
channel: "#general"
messageText: "React to this message!"
- id: get_reactions
type: io.kestra.plugin.slack.app.reactions.Get
token: "{{ secret('SLACK_TOKEN') }}"
channel: "#general"
timestamp: "{{ outputs.post_message.timestamp }}"
- id: log_reactions
type: io.kestra.plugin.core.log.Log
message: "Reactions file: {{ outputs.get_reactions.uri }}"
Properties
channel *Requiredstring
Channel containing the message
Channel ID or name for the target message. To get the channel ID, right click on the channel name in Slack and select 'Copy Link'. The ID is the last part of the URL.
token *Requiredstring
Slack token
file string
File ID (optional)
Use when retrieving reactions for a file.
fileComment string
File comment ID (optional)
Use when retrieving reactions for a file comment.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
timestamp string
Message timestamp (optional)
Slack ts of the message; required when targeting a message.
Outputs
uri string
uriURI of stored reactions file
Metrics
records counter
The number of records fetch.