We’ve been trying out Slack for the last couple of weeks. A neat feature is the ability to make posts on behalf of external processes, like the build- and production-environment. You can create a incoming webhook for a channel. You then get an endpoint from Slack. Use this endpoint to make posts. That’s it.
curl -v -X POST --data "{\"text\": \"This is a line of text in a channel.\"}" https://hooks.slack.com/services/.....