Send Slack user details from a command

BotsArtificial IntelligenceSales EnablementCollaboration

What it does

When someone runs a command in Slack with a user ID, this automation retrieves their details and posts them back to the channel. The message appears instantly so the team has the information they need without leaving Slack.

Who it's for

Operations teams who need to look up user details from Slack without switching to another app.

How teams use this

Look up a user without leaving Slack

Run the command with a user ID and get their details posted to the channel instantly. The team stays in the conversation and does not need to open another system.

Share user info in a support channel

Invite the bot to a customer support channel so agents can pull user details during a ticket conversation. This automation stays the same and only the channel context changes.

Add custom fields to the user lookup

Extend the command to include additional fields like phone or region so the posted message shows more detail. Only the data returned in the message needs to change.

How it works

  1. Run the user details command. Type the command with a user ID in a Slack channel or direct message to request their details.
  2. Retrieve and post the details. Fetch the user information from the system and post it as a message in the same Slack conversation so the channel sees the result.