Send daily open cases from Salesforce to Skype

Social, UtilitiesCRMMarketingSales

What it does

When someone runs a command in Skype, this automation searches Salesforce for open cases. It posts the top 10 results to the channel, or notifies the channel if none exist.

Who it's for

Customer support teams who need a daily summary of open cases without logging into Salesforce.

Apps used

How teams use this

Review open cases each morning

Run the command at 9am daily to see the top 10 open cases with owner names in Skype. The team stays aligned on priorities without opening Salesforce.

Escalate cases by status

Modify the query to filter only high-priority or urgent cases instead of all open ones. The same Skype post shows only the cases that need immediate attention.

Include case age and SLA status

Add fields to the query to show how long each case has been open and whether it is within SLA. The Skype message includes these details so the team can spot at-risk cases.

How it works

  1. Run the open cases command. Type the command in Skype to request a list of open cases. The automation runs and posts results to the same channel.
  2. Search Salesforce for open cases. Query Salesforce for all open cases using a where clause that filters by status. Results are limited to the top 10 records from the search.
  3. Post cases or empty state. If no cases are found, reply that there are none. Otherwise, loop through each case to fetch the owner details and format the list for Skype.
  4. Get the case owner name. For each case in the list, retrieve the full name of the person who owns it so the channel sees who is responsible for each case.
  5. Post the formatted case list. Reply in Skype with all open cases, their details, and owner names so the team can see the priority queue at a glance.