Skip to content
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

Connect a bot to Slack Interactions #3971

Open
anil-mndl opened this issue May 2, 2024 · 1 comment
Open

Connect a bot to Slack Interactions #3971

anil-mndl opened this issue May 2, 2024 · 1 comment
Assignees
Labels
bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team.

Comments

@anil-mndl
Copy link

anil-mndl commented May 2, 2024

ABS when configured to "Add and configure interactive messages" as stated in the documentation Connect a bot to Slack doesn't forward interactive messages to the bot service.

Sample information

  1. Sample type: samples
  2. Sample language: all languages
  3. Sample name: n/a

Describe the bug

As per the documentation, Slack interactions initiate an HTTP POST request when users interact with interactive components. The request URL is pointed to https://slack.botframework.com/api/Actions which should forward those requests to the URL mentioned in 'Messaging Endpoint' for the bot. This request forwarding doesn't happen.

To Reproduce

Steps to reproduce the behavior:

  1. Create a new 'Azure Bot' in Bot Services in Azure portal
  2. Add 'Messenging Endpoint' bot configuration.
  3. Add 'Slack' as in the channels - a new Slack app need to be created and credentials properly filled in
  4. In the Slack app 'Interactivity & Shortcuts' menu, add 'https://slack.botframework.com/api/Actions' in the Request URL as mentioned in the documentation.
  5. Render a simple interactive Slack block card - see attached image for a sample card.
  6. Click on the interactive button.

Expected behavior

When a user clicks on the button in the interactive block card, Slack initiates a HTTP POST request which should route to the 'Messenting Endpoint' as setup bot configuration. Apparently, no such message is sent from the Bot Services.

Screenshots

image
image

Additional context

https://stackoverflow.com/questions/62440845/why-doesnt-the-azure-bot-service-slack-connector-forward-events-and-interactive

@anil-mndl anil-mndl added bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team. labels May 2, 2024
@Amrit10737726 Amrit10737726 self-assigned this May 23, 2024
@NishankSiddharth
Copy link

Hi, can someone please take a look at this issue?
Interactive events are not getting sent to bot service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team.
Projects
None yet
Development

No branches or pull requests

3 participants