Slack - New Reaction Added trigger
The New Reaction Added trigger for Slack component activates whenever user adds a new reaction (emoji) to a message in a Slack channel. It enables automated workflows to respond in real-time to specific reactions, allowing for interactive, reaction-based events or notification within Slack.
Trigger Properties:
- emojis - the specific emojis or reactions that the trigger will monitor . channel - Slack channel where the trigger will look for added reactions
Output:
- message - message object of the message to which reaction was added
Hello @monikakuster
You haven't mentioned any screenshots or anything else. Are there any more details I should be looking for?
Hey @IbraheemHaseeb7. I updated the desctription for the issue.
If you are new to Bytechef, please read our CONTRIBUTING.md
This part describes how to create new component or how to add new action or trigger to existing one.
Here is the detailed description of the structure of every component.
And finally, here are the guides on how to work with the trigger and how to test it.
@monikakuster I would like to work on this issue along with some other components
@monikakuster , for slack, webhook registration sends a challenge the first time when registering an API. To process that, should I be using this method to define the handler method or is there some other method for this? com.bytechef.component.definition.ComponentDsl.ModifiableTriggerDefinition#webhookValidateOnEnable
@vihar-s1, you can use webhookValidate method. I had something similar when implementing triggers for the Xero component. You can refer to this example: XeroUtils.java
@monikakuster @ivicac
The implementations for the newReactionAdded and newMessage triggers are functionally identical - the only difference lies in which event the user subscribes to in their Slack App.
Because of that, would it make sense to merge them into a single SlackAnyEventTrigger that can handle any event the user chooses to subscribe to?