Send a Slack message when someone runs hello command

BotsArtificial IntelligenceSales Enablement

What it does

When someone runs the hello command in Slack, this automation posts a message as Slack in real time. The message appears in the channel or direct message where the command was issued.

Who it's for

Operations teams who want to respond to Slack commands with automated messages.

How teams use this

Greet someone in a channel

Run the hello command and get an instant greeting message back in Slack. The team sees the exchange in the channel thread.

Route greetings to different teams

Add buttons to the hello message so different teams get routed to different replies. Only the message content changes, not the flow.

Include team name in the greeting

Set a prompt in the hello command so someone can name their team, and that name appears in the Slack message. Add the team name field to the command.

How it works

  1. Listen for the hello command. Someone runs the hello command in a Slack channel or direct message, and this automation wakes up in real time.
  2. Post a message to Slack. Post a message as Slack in the same conversation so the person who ran the command sees the response right away.
  3. Branch on the button selected. Check which button the person clicked in the message. Route to different replies based on their choice.
  4. Post the next message. Send a follow-up message to Slack so the conversation continues based on what the person selected.