Send hot list cases chart from Salesforce to Slack

Social, UtilitiesCRMMarketingSalesUtilities

What it does

When someone runs a command in Slack, this automation searches Salesforce for cases matching specific criteria. It generates a pie chart and posts it to Slack so the team can see case distribution at a glance.

Who it's for

Customer support teams who need to monitor case status and volume without leaving Slack.

How teams use this

Monitor case volume by status

Run the command to see how many cases are open, in progress, or closed. The pie chart appears in Slack instantly so the team knows the current workload.

Share case metrics in standups

Post the chart to a daily standup channel so everyone sees case distribution without a separate report. The same command works in any Slack channel.

Filter cases by priority or age

Modify the SOQL WHERE clause to only include high-priority cases or cases older than seven days. The chart then shows only the cases that need attention.

How it works

  1. Run the hot list command. Type the command in Slack to request a cases chart. The automation searches Salesforce for cases that match the query.
  2. Search for matching cases. Query Salesforce using a SOQL WHERE clause to find cases that meet the criteria. If no cases are found, Slack receives a message that the list is empty.
  3. Generate and post the chart. Create a pie chart from the case data and post it to Slack so the channel sees the breakdown of cases by status or type.