Retrieve profile data from Slack with specialization check

BotsArtificial Intelligence

What it does

When someone runs the New Profile Lookup Profile command in Slack, this automation retrieves the profile and checks the specialization field. It posts the profile data or an error message in the channel so the team sees the result.

Who it's for

Operations teams who need to look up profile information from Slack without switching to another system.

How teams use this

Look up a profile from Slack

Run the New Profile Lookup Profile command and get the profile data back in the thread without opening another system. The team stays in Slack for the entire lookup.

Route profiles by specialization

Use the specialization check to send Sales Tax profiles to a dedicated channel and other profiles to a general channel. Only the routing logic changes, not the command itself.

Add more profile fields to the lookup

Extend the command to include additional fields like department or region so the profile reply contains more detail. Set up extra conditions to filter which fields appear based on specialization.

Notify teams when profiles are retrieved

Include a notification step that alerts the relevant team when a profile is looked up, creating an audit trail. Only the notification recipient changes based on specialization.

How it works

  1. Run the profile lookup command. Type the New Profile Lookup Profile command in a Slack channel or direct message with the profile identifier to retrieve the data.
  2. Check the specialization field. Evaluate the specialization field to determine if it equals Sales Tax, which routes the response to the appropriate reply path in Slack.
  3. Post the profile reply. Reply in the same Slack conversation with the profile data if the lookup succeeds, or post an error message if the specialization check fails.