-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slack interactive messages not working with azure bot service connector #326
Comments
Hi @bolleman , |
I created a new Composer project with one dialog, as follows. The Slack bot channel registration contains the default scopes. I haven't put in a trigger in this dialog to handle the event/activity from the Slack button click yet as I was waiting to see it come through on ngrok first so I know what it will look like. If you also happen to know what trigger I should use that would be awesome as I'm going to need to know that next. Thanks for your help!
|
I did further searching and discovered there is a legacy Slack message button format using attachments in addition to the current Block Kit button elements that I used initially. I added the legacy approach to the previous dialog (see below) and it works. This provides a suitable workaround for my purposes so I am closing the issue. I've created an issue on MSDocs so others are aware. Also, since I now see this comes through as a regular message activity, that answers the other question of how to trigger off it.
|
I'm using the Slack channel in Azure Bot Service (for clarity, not the Slack adapter package). My bot is receiving bot events properly, but block kit button clicks (aka interactive messages) generate the following error.
The Slack channel shows as Healthy but nothing is being forwarded to my bot endpoint.
The Slack app is configured with the request_url specified in the Azure Bot Service documentation for configuring a Slack channel as follows:
It looks like this issue was raised back in Jun 2020 and then fixed in Jul 2020:
microsoft/BotBuilder-Samples#2553
microsoft/botbuilder-dotnet#4246
However, it also appears that it is not working again for others as well:
https://stackoverflow.com/questions/68215851/microsoft-bot-framework-respond-to-slack-block-kit-ui-action-buttons#new-answer
Just wondering if this is a new bug or am I missing something in the config. Thanks!
The text was updated successfully, but these errors were encountered: