Slides for the talk I gave at DevOpsDays Toronto on May 27, 2016. This talk is about the use of ChatOps at the NFL and the Hubot based robot we've been working on.
@seanwalberg
Good chat services have APIs
• Post messages to a channel
• Receive messages, both direct and group
• Send rich attachments
(or open protocols)
@seanwalberg
General usage
robot.respond /git er done/i, (msg) ->
msg.send "Will do #{msg.message.user.name}!”
robot.hear /demo on (.*) is at (.*)/i, (msg) ->
# Access the message itself
robot.router.post "/hubot/say", (req, res) ->
# respond to POST from the outside
httprequest = msg.http(…) # call out