Add
Add a Slack reaction
Add
Add a Slack reaction
yaml
type: "io.kestra.plugin.slack.app.reactions.Add"Examples
yaml
id: slack_add_reaction
namespace: company.team
tasks:
- id: add_reaction
type: io.kestra.plugin.slack.app.reactions.Add
token: "{{ secret('SLACK_TOKEN') }}"
channel: "#general"
name: "thumbsup"
timestamp: "{{ outputs.previous_task.timestamp }}"
yaml
id: slack_post_with_reaction
namespace: company.team
tasks:
- id: post_message
type: io.kestra.plugin.slack.app.chats.Post
token: "{{ secret('SLACK_TOKEN') }}"
channel: "#general"
messageText: "Task completed successfully"
- id: add_reaction
type: io.kestra.plugin.slack.app.reactions.Add
token: "{{ secret('SLACK_TOKEN') }}"
channel: "#general"
name: "white_check_mark"
timestamp: "{{ outputs.post_message.timestamp }}"