
Slack Remove
CertifiedRemove a Slack reaction
Slack Remove
Certified
Remove a Slack reaction
Removes an emoji reaction from a message by channel and timestamp. Requires reactions: write.
yaml
type: io.kestra.plugin.slack.app.reactions.RemoveExamples
Remove a reaction from a message
yaml
id: slack_remove_reaction
namespace: company.team
tasks:
- id: remove_reaction
type: io.kestra.plugin.slack.app.reactions.Remove
token: "{{ secret('SLACK_TOKEN') }}"
channel: "#general"
name: "thumbsup"
timestamp: "{{ outputs.previous_task.timestamp }}"
Add and then remove a reaction
yaml
id: slack_reaction_workflow
namespace: company.team
tasks:
- id: add_reaction
type: io.kestra.plugin.slack.app.reactions.Add
token: "{{ secret('SLACK_TOKEN') }}"
channel: "#general"
name: "hourglass"
timestamp: "{{ inputs.message_timestamp }}"
- id: remove_reaction
type: io.kestra.plugin.slack.app.reactions.Remove
token: "{{ secret('SLACK_TOKEN') }}"
channel: "#general"
name: "hourglass"
timestamp: "{{ inputs.message_timestamp }}"
Properties
channel *Requiredstring
Channel containing the message
Channel ID or name where the target message lives. 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.
name *Requiredstring
Emoji name
Name without colons (e.g., thumbsup, white_check_mark, heart).
timestamp *Requiredstring
Message timestamp
Slack ts of the message to remove the reaction from.
token *Requiredstring
Slack token
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.