The new restdb.io feature, Codehooks, lets you execute JavaScripts directly in your database.
This feature opens up an array of cool scenarios for your application. One of them is to integrate your database with slack.com.
Slack seems to be every team’s favorite collaboration platform now. If you’re not using this great tool already, I would suggest you give it a try. It can practically eliminate the need for sending internal (non-important) emails, and introduces a more human touch to your team information flow.
That’s why it makes sense to let your database talk to Slack, instead of you logging on to your database admin, all the time, to see what’s going on.
This blog post shows you how you can create a JavaScript Codehook to feed your Slack with important stuff that happens inside your database.