All code mentioned in this article can be found on Github.
Many services provide a mechanism for webhooks, or the ability to call some custom URL whenever a certain action…