Route Slack commands to case modals by business unit
BotsArtificial IntelligenceSales Enablement
What it does
When someone runs the Slack show Modal command, this automation checks the case business unit. If it matches Marketing, a modal opens in Slack; otherwise, a message posts so someone sees the case instantly.
Who it's for
Customer support and Sales operations teams who triage cases from Slack and need different views by business unit.
Apps used
How teams use this
Route Marketing cases to a modal
When a case belongs to Marketing, open a modal so someone can see structured fields and interact with the case without leaving Slack. This automation keeps the experience consistent for that team.
Send other cases as messages
When a case belongs to a different business unit, post a message instead of a modal so someone gets a simpler view. The same command works for all units across the organization.
Add a third business unit route
Include another condition to check for a third business unit and open a different modal or message type for that group. Only the condition logic needs to expand to support the new unit.
Filter cases by priority before routing
Set a condition to check case priority before evaluating the business unit, so only high-priority cases open a modal. Lower priorities post a message to reduce modal clutter in Slack.
How it works
- Run the show Modal command. Type the Slack show Modal command in a channel or direct message to start the case routing process.
- Check the case business unit. Evaluate whether the case business unit equals Marketing or another value to determine which response to send in Slack.
- Open a modal for Marketing cases. If the business unit is Marketing, open a modal view in Slack so someone can see and interact with the case details directly.
- Post a message for other cases. If the business unit is not Marketing, post a message in Slack instead so someone gets the case information in a simpler format.