Re:Ask HN: Tool to post new referrers from Google Analytics ...
by mmohebbi on Friday February 27, 2015 @01:39PM
(#9120480)
Thanks for the response. totally agree that it's quite possible and with AppEngine it would be pretty easy. The reason I was asking here was to see if someone had already built it.
- Set up a cron job to check the real-time API for changes to your referrers
- when a new referrer is detected, talk to Slack via their WebHooks integration service
You could use Google's App Engine (and Scheduled Tasks with Cron for Python) for the cron job, https://cloud.google.com/appengine/docs/python/config/cron
Read more about the WebHooks integration service here: https://slack.com/services/new/incoming-webhook