#watitis2015 CHAT-OPS WITH SLACK Kevin Paxman.

Slides:



Advertisements
Similar presentations
JQuery MessageBoard. Lets use jQuery and AJAX in combination with a database to update and retrieve information without refreshing the page. Here we will.
Advertisements

Unified Communications (UC) Quick Reference Guide USING YOUR UC CLIENT This guide is designed to provide you with a quick overview of the Unified Communications.
Geneva Public Library February 15th, What is ? How many of you have had accounts before?
Workflows in Archie IMS Support Person: Sonja Henderson
Tips and tools to keep you and your information safe on-line. We will go over a lot of information today, so it is important to pay attention and follow.
How To Create A Web Page By: Mikeon Briddy & Darrius Jacobs April 10,2006 Mr. Barnett.
Online Collaboration Applications ADE100- Computer Literacy Lecture 28.
Newsletter Plugin The newsletter plugin allows you to create and send newsletters to a managed list or multiple lists of users. Your users can subscribe.
Facebook for RSVP’ers You can do it!. What Questions Do You Have? What are you wanting to learn at this training?
Paul Mundy Managing correspondence Using Microsoft Outlook.
HTML Form Processing Learning Web Design – Chapter 9, pp Squirrel Book – Chapter 11, pp
By Laura Trawin.
How to Establish a Blog. What is a Blog A blog is a collection of informational articles/ideas intended to update a viewer on new information associated.
Taking the Headache out of. Reach your sphere of influence on a daily basis – AT NO COST? Reconnect with friends and stay in touch with family – AT NO.
1 New : Create your own message starting from scratch 2 New From Template: add professionally designed templates provided exclusively by Gorilla Contact.
Introduction to VBA. This is not Introduction to Excel We’re going to assume you have a basic level of familiarity with Excel If you don’t, or you need.
This is Google Drive. It stores all the documents you have made here.
Review of last Session Adding custom html Adding custom html HTML is the language that web servers understand, all web pages are created using HTML. HTML.
Kids Computer Club House
Reading Data in Web Pages tMyn1 Reading Data in Web Pages A very common application of PHP is to have an HTML form gather information from a website's.
1 Chinese Information Processing (I): Basic Concepts and Practice Unit 5: Asynchronous Communication.
Server-side Scripting Powering the webs favourite services.
Marie-Laure Hoffmann Janvier  Students/ teachers work on a project together.  It is easier to access than sending s back and forth. It.
Instant Messaging for the Workplace A pure collaborative communication tool that does not distract users from their normal activities.
Instant Messaging for the Workplace A pure collaborative communication tool that does not distract users from their normal activities.
How to Successfully Implement a Google Hangout On Air Event.
Registration and Log-in Flow Benjamin Melançon agaric.com & dgd7.org.
CALENDAR MANAGEMENT Calendar Management makes sharing calendars with teammates easy. You can divide calendars into sub-calendars (e.g., speaking engagements,
HTML Internet Basics & Beyond. What The Heck Is HTML? HTML is the language of web pages. In order to truly understand HTML, you need to know a little.
6 th Annual Focus Users’ Conference 6 th Annual Focus Users’ Conference Communication Tools Presented by: Lauren Velazquez Presented by: Lauren Velazquez.
Creating Dynamic Web Pages Using PHP and MySQL CS 320.
Tech Tools for EVERYONE Julie Lordon. West Sound Summer Institute. Wednesday, August 19, 2015 Join the conversation: #4586.
AOL Masala A Mashup. What is Masala? AOL Masala is a Mashup built using AOL APIs. With AOL Masala, you can Chat with your Friends without downloading.
Go to your school’s web locker site school name.schoolweblockers.com) Your user name is the first letter of your first name, the first 4.
Forms and Server Side Includes. What are Forms? Forms are used to get user input We’ve all used them before. For example, ever had to sign up for courses.
SPREAD THE WORD! SOCIAL MEDIA ESSENTIALS. AN INVITATION “ It is important to know how to dialogue, and how to enter, with discernment, into the environments.
Tarleton State University Questions/Concerns: Office of Student Activities
GOOGLE GROUPS TRAINING How to use the internet to make the Own It! project teams as efficient and successful as possible.
Facebook Messenger Presentation
After Effects and Post Processing.
Get up to speed Find everyday commands You’ve got Outlook 2007 installed and you’ve taken time to learn about some of the ways it differs from previous.
PHP Form Processing * referenced from
Interactions & Automations
Google docs A Tutorial Created by Robbie Joseph, Sara Wienick, & Emily Yuengel.
 First go on google, type in glitter text and click on the link..  Next type in the text and the design you want then press the create text button.
Collection of works to share with other people It acts as a folder where a person can upload anything from a word document to a YouTube video Wiki allows.
How to configure webmail with gmail- Step by Step guide provided by web hosting company in India Call us
How to make an Interactive Voice Response (IVR) using an OzML script This slideshow is intended to be a great explanation on how to develop an Interactive.
1) Login to your armidalehigh google drive 2. Click on Apps.
TechKnowlogy Conference August 2, 2011 Using GoogleDocs for Collaboration.
Creating hyperlinks to increase the visibility of your brand 7. Tagging on Facebook.
Playing Well with Others Collaborative Tools for Successful Group Projects James M. Donovan, J.D., Ph.D. Faculty and Access Services Librarian.
Intro to Google Docs 2014.
By: Ryan Irwin 6th Grade Globaloria.
Essentials of UrbanCode Deploy v6.1 QQ147
Build Automation with Gradle
Business Directory REST API
StackStorm: DevOps to ChatOps
Data Virtualization Tutorial… OAuth Example using Google Sheets
Next Generation SSIS Tasks and data Connection Series
All about Technology: Using Voki Avatar in the classroom
THE BASICS.
ChatOps Supercharge your DevOps Teams
Integrating Google Classroom into Middle School and High School Education Reed Peterson.
2/24/2019 6:15 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
eHarmony for Recruiters
Slacking for the DBA It’s good to Chat.
Facebook Page for Business
How to Use Yamm Yet Another Mail Merge.
Presentation transcript:

#watitis2015 CHAT-OPS WITH SLACK Kevin Paxman

#watitis2015 WHAT IS CHAT-OPS? Conversation-driven development Bots in your chat Everyone can see what’s going on There’s a shared history of what happened when Book downloadable from

#watitis2015 WHAT IS CHAT-OPS? Control external systems from chat Have external systems automatically send notices to chat In some cases, similar to doing tasks using a command line

#watitis2015 WHAT IS SLACK? Just another chat program – like IRC, Lync, Skype, ICQ, Facebook Messenger, Apple Messages, Google Talk, AOL Instant Messenger, Mattermost, etc., etc. But it’s free*, fun**, and makes it easy to set up integrations*** * Paid options are available, with educational pricing ** Certainly more fun than plain text-based chat; probably not as much fun as a roller coaster *** Limited to 10 on free plans

#watitis2015 WHAT CAN YOU INTEGRATE?

#watitis2015 WHAT CAN YOU INTEGRATE?

#watitis2015 And here’s the thing…

#watitis2015 YOU CAN BUILD YOUR OWN If the integration you want isn’t on the list, you can build your own! GitLab (git.uwaterloo.ca) integrates this way

#watitis2015 GETTING STARTED WITH SLACK Sign up at slack.com Send out invitations Turn on the Giphy integration You will probably want to set it to PG It’s surprising how much having animated GIFs at your beck and call encourages people to use the system…

#watitis2015 SETTING UP GIT.UWATERLOO.CA In Slack, set up an “incoming webhook” integration Copy the webhook URL to your clipboard In git.uwaterloo.ca, in your project settings, under services -> Slack, paste the webhook URL. Set the service to “active”.

#watitis2015 SETTING UP JENKINS In Slack, set up a Jenkins CI integration Copy the token to your clipboard In Jenkins, add and configure the Slack plugin In your jobs, enable Slack notifications and set them as a post-build action

#watitis2015 SETTING UP A NAMED BOT Is sent messages that start with the bot’s name Should respond to everything Can perform different functions based on the message sent

#watitis2015 SETTING UP A NAMED BOT In Slack, set up an “outgoing webhook” integration Let the bot listen to all channels, or select a channel for the bot to listen on Set up a trigger word (the bot’s name)

#watitis2015 SETTING UP A “KEYWORD BOT” Is sent every message posted to a specific channel Should respond when text matches a keyword Must be written to ignore other bot posts or you can end up in endless loops

#watitis2015 SETTING UP A “KEYWORD BOT” In Slack, set up an “outgoing webhook” integration Select a channel for the bot to listen on

#watitis2015 “HELLO WORLD” INTEGRATION A step-by-step look at putting together a “named bot” that can tell you how to say “hello world” Written in procedural PHP – but could have been written in anything that can respond to a request from a web server

#watitis2015 “HELLO WORLD” INTEGRATION Starter PHP file has a list of ways to say “hello world” and a comment with information copied from Slack Initially, we won’t use tokens – which lets this integration talk to anything – but we’ll add this in later To start with, we’ll set up a default response, and look at the information we’re given from Slack

#watitis2015 “HELLO WORLD” INTEGRATION

#watitis2015 “HELLO WORLD” INTEGRATION

#watitis2015 “HELLO WORLD” INTEGRATION We’ll let the bot answer with its default response if it was summoned without any request We’ll look at the request any see if it matches something the bot will be able to do, and let the user know if it’s not We’ll send a custom response either way

#watitis2015 “HELLO WORLD” INTEGRATION

#watitis2015 “HELLO WORLD” INTEGRATION Now we’ll format the response in the JSON format Slack requires We’re only sending text, but could also send attachments with additional code We’re making sure not to respond to other bots, so there’s no potential for endless loops Essential when using regular expressions

#watitis2015 “HELLO WORLD” INTEGRATION

#watitis2015 “HELLO WORLD” INTEGRATION Now we’ll add the integration to Slack and test

#watitis2015 “HELLO WORLD” INTEGRATION Finally, we’ll wrap everything in token verification, so nothing happens if the page is accessed from an unexpected source...original code…

#watitis2015 “HELLO WORLD” INTEGRATION Starter file and final source available at: bot bot Can use as a starting point to build tools that perform other functions, talk to APIs, etc.

#watitis2015 IN SUMMARY This only scratches the surface of what can be done With appropriate safeguards, can be made to control other systems – for example, close RT tickets, deploy a build, post to a database…whatever you can think of! Doing things “in the open” leads to better engagement and collaboration

#watitis2015 Any questions?