Created
May 21, 2017 16:55
-
-
Save bcardiff/bd3a4928f99640d0047783b04e59a55a to your computer and use it in GitHub Desktop.
Send eventbrite.com notifications to Slack via webscript.io
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local action = json.parse(request.body).config.action | |
http.request { | |
url = 'https://hooks.slack.com/services/...', | |
method = 'POST', | |
data = json.stringify({text = 'Action: '..action}) | |
} | |
return 200 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment