Have you ever wondered how to notify a user about workflow changes to an item in Sitecore, but not through email? In this post I'll show you in a few steps how to send notifications to a user or channel in Slack when transitioning an item's workflow state in Sitecore.
TL;DR;
- Setup a Slack authentication token here. The documentation indicates there are some newer ways to acquire a token, but for now we'll go with the low effort approach.
- Setup the PSSlack module for PowerShell found here. Optionally, run Install-Module PSSlack from an elevated PowerShell console. Big thanks to @pscookiemonster for putting this together.
- Create a SPE workflow action like described here.
- Update the script to send messages to Slack.
- Celebrate!
Example Notification