How can I do the above as I keep getting the following error when I try and interact with the accompanying button.
Darn – that didn't work. Only Slack Apps can add interactive elements to messages
Interactive Buttons are some of the features that only work if you use a Slack app. One reason for that is that you need a place to configure the URL of your script for Slack to send the request to when someone is clicking on a button. It will also work with webhooks, but only if the webhook is also part of the Slack app. It will not work with a simple custom webhook.
To make a Slack app for your Slack team you need to follow two steps.
Note that you do not need to publish your Slack app to the Slack App directory. That is optional.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With