Route Slack button clicks to different messages

CollaborationSales Enablement

What it does

When someone clicks a button in Slack, this automation checks which button was pressed. It posts a different message to the channel based on the response so the channel sees the outcome immediately.

Who it's for

Operations teams who need to route Slack interactions to different outcomes without manual intervention.

Apps used

How teams use this

Approve or reject requests in Slack

Add approval buttons to a message so someone can approve or reject a request without leaving Slack. Each choice posts a confirmation message to the channel.

Collect yes or no feedback

Post a question with yes and no buttons so the team can vote on a decision. Each response posts a different message that tracks the feedback in the channel.

Add more button options and outcomes

Extend the automation to include additional buttons such as maybe or escalate, and set a new message path for each choice so more responses are supported.

How it works

  1. Listen for button click. Monitor Slack for a new button click event in real time so the automation responds as soon as someone interacts with it.
  2. Route based on button choice. Check which button was clicked in Slack. If the button ID equals yes, prepare one message. If it equals no, prepare a different message for the channel.
  3. Send the response. Post the appropriate message back to Slack so the channel sees the result of the button click instantly.