Get Get
Get Certified

Get Slack reactions for an item

yaml
type: "io.kestra.plugin.slack.app.reactions.Get"
yaml
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 }}"

yaml
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
Formaturi