Slack button with interaction functionality

Does anyone know how to trigger a scenario from a slack block builder button? I can create the message that is being sent to our slack channel with the block builder but I break my head over the interactivity part.

How can I do something once the user clicks on the button in the message?

My ideal scenario would be that I can accept or decline the message via a button and whatever the user chose does a specific action. Also after clicking I’d like to update the message from having the buttons to a message that indicates that I already picked A or B while keeping the buttons out of sight.

1 Like

@vierless_julian Do you have solution for this? I have the same problem just like you. Thanks!

I managed to get it to work by setting up a Slack app with interactions. In there you can set up the webhook URL that should handle the events.