Improving our Slack integration
December 10, 2015
SlackLast year I posted about Integrating Clarify/Dovetail with your group chat app. That post was around the time we started using Slack for our group chat.At that time, I was using Slack’s simple webservice to post messages about cases. OriginalFor example, case dispatch notifications looked like:Simple. But not very detailed. ImprovedRather than just using Slack’s simple web service, I’m now using their Attachments, which allow for more richly formatted messages.Notice there’s now much more information available, including:Top-level message (In this case, “Case Dispatch Notification”)Case IDContact and Site NameCase title (which links to the case in Dovetail Agent)SeverityQueueLink to the case in Dovetail Mobile And it’s easy to add whatever other relevant information in there that I would like. Business Rule ActionThe business rule that fires on case dispatch now calls the CaseMessage.bat file, like so:C:\Dovetail\RuleManagerActions\slack\casemessage.bat [Object ID] dovetail "Case Dispatch Notification"To that BAT file,…