SlideShare une entreprise Scribd logo
1  sur  28
Télécharger pour lire hors ligne
Idea behind the topic / Identifying Problems
How to Solve
Benefits
Caution
1. Bots
• Slack/Telegram/Facebook/Skype
2. Apps
• Web Apps/Chrome Apps/ Extensions
3. Voice Apps
• Alexa/Google Voice
4. Task Automator
• IFTTT/Zapier/Microsoft Flow
5. API Tools
• Postman/Webhooks/Pre-Post Task hooks
6. CMS Extensions
• WordPress/ Drupal Extensions
Tech/Tools to solve these problems
Story – DevRel Bot
Monitor channels
• Stackoverflow
• Github
• Twitter
Challenges
• Multiple Repos
• Too many clicks
• Finding relevant information wasn’t easy
• Time consuming
Bots
Early disruptors in bots domain
Bot Platform to order from
marketplaces(2016)
TacoBot within the
Slack (2016)
Twitter Bot to order Pizza by
Tweeting Pizza Emoji (2015)
Slackbot capabilities
Slack Bot interact with a user on a Slack team by
1. Connecting to Slack’s Real time Messaging (RTM )API and opening
a web-socket connection with Slack.
• Bot user will Monitor and process channel activity
• Post messages and react to users
• Web API to post formatted messages, attachments, emoji
• Make messages interactive with buttons
2. Listening to Slack Events via HTTP based Events API aka Slack
Webhooks . Configure events at https://api.slack.com/events
Types of Slack bot you can develop :
Slack Bot interact with a user on a Slack team by
Custom Bots
1. Custom for a team’s requirements
2. Can be used for company’s process automation etc.
Bot Users attached to Slack App
1. For distribution to other teams
2. Governed by OAuth permission scopes
3. Distributed via Slack Button or Slack Appstore
Apps generally start as custom bots and evolve into a Slack App.
Ways to create a Slack bot
1. Make authenticated API calls and consume Slack RTM API
2. Use existing library or SDKs (such as node-slack-client)
https://github.com/slackhq/node-slack-client
3. Botkit Framework :
• Does heavy lifting for Slack API interaction
• Open source bot builder platform for Node.js
• Works for Slack, Facebook, Twilio, Microsoft Teams, Cisco
Spark/Jabber currently
• Write once run anywhere style
• http://howdy.ai/botkit
Project Structure
Clone: https://github.com/vasujain/slack-bot-github
• node_modules/ contain botkit module – generated by npm install
• package.json specifies your project details and dependencies
• index.js is the entry point
• Util.js for utility functions
• Config.json for string sensitive data
• Npm-debug.log created by default for error logging
• Lib/ directory containing slack libraries
Developing a Custom Slack Bot - Setup
1. Install Botkit
• From NPM
• npm install --save botkit
• From Github
• git clone git@github.com:howdyai/botkit.git
• npm install
2. Create a new bot user integration and customize it
https://my.slack.com/services/new/bot
Developing a Custom Slack Bot - Setup
3. Capture token generated in #1, to be used to connect
to Slack API
4. Constructs base 64 encoded value and add it to
config.json (not mandatory for regular bots)
5. Run a sample bot
• npm start index.js
6. Invite Bot to your team
7. Say Hello to your Bot
Lets Integrate an API in our bot
1. API to integrate – Github
2. Get tokens and make first successful API call
3. Convert REST Call into Node Code
4. Write a controller using Intents from Slack input and parsing
them for API call
5. Integrate Node code
6. Parse API Response and construct Slack Response
7. Happy Bot-ing !!
„ https://martechtoday.com/wp-content/uploads/2017/06/bot-builder-1200.png
„ https://www.efficise.com/assets/image-resources/objects/busy-man.png
„ https://qph.fs.quoracdn.net/main-qimg-95b64fdabe299f7a071d8ef5debd081c.web
„ http://blog.flatironschool.com/wp-content/uploads/2016/10/Code-Background.jpg
„ http://www.techshines.com/wp-content/uploads/2017/10/profession-for-a-polyglot-programmer-game-developer.jpg
„ https://www.pinterest.com/pin/416371928035551016/
„ http://www.greenmellenmedia.com/wp-content/uploads/slack-chat.png
„ https://tctechcrunch2011.files.wordpress.com/2016/05/robot-customer-service.png
„ https://blog.zipfworks.com/content/images/2016/06/1-6J2T-ftDoHNGEvuMQiuWLA.jpeg
„ https://www.wired.com/wp-content/uploads/2015/08/SlackBot-featured1.jpg
„ https://cdn-images-1.medium.com/max/800/1*SRq8BmUQl1YWXTCbO859kw.png
„ https://robotsandpencils.com/wp-content/uploads/2016/03/Hero_graphic_BeepBoop@2x.png
„ https://beepboophq.storage.googleapis.com/_web/en_US/grande.edeb24.png
„ https://beepboophq.storage.googleapis.com/_web/en_US/venti.dba620.png
Chrome Extension

Contenu connexe

Tendances

Testing Your Code as Part of an Industrial Grade Workflow
Testing Your Code as Part of an Industrial Grade WorkflowTesting Your Code as Part of an Industrial Grade Workflow
Testing Your Code as Part of an Industrial Grade Workflow
Pantheon
 

Tendances (20)

Developing WordPress Plugins : For Begineers
Developing WordPress Plugins :  For BegineersDeveloping WordPress Plugins :  For Begineers
Developing WordPress Plugins : For Begineers
 
Flask
FlaskFlask
Flask
 
Live Coverage at The New York Times
Live Coverage at The New York TimesLive Coverage at The New York Times
Live Coverage at The New York Times
 
O365Con18 - Git and GitHub - Rick van Rousselt
O365Con18 - Git and GitHub - Rick van RousseltO365Con18 - Git and GitHub - Rick van Rousselt
O365Con18 - Git and GitHub - Rick van Rousselt
 
A Day of REST
A Day of RESTA Day of REST
A Day of REST
 
Hybrid Mobile Development with Apache Cordova and Java EE 7 (JavaOne 2014)
Hybrid Mobile Development with Apache Cordova and Java EE 7 (JavaOne 2014)Hybrid Mobile Development with Apache Cordova and Java EE 7 (JavaOne 2014)
Hybrid Mobile Development with Apache Cordova and Java EE 7 (JavaOne 2014)
 
WordPress: Getting Under the Hood
WordPress: Getting Under the HoodWordPress: Getting Under the Hood
WordPress: Getting Under the Hood
 
O365Con18 - Working with PowerShell, VS Code and GitHub - Thomas Vochten
O365Con18 - Working with PowerShell, VS Code and GitHub - Thomas VochtenO365Con18 - Working with PowerShell, VS Code and GitHub - Thomas Vochten
O365Con18 - Working with PowerShell, VS Code and GitHub - Thomas Vochten
 
Hands On With OpenSocial and Embedded Experiences
Hands On With OpenSocial and Embedded ExperiencesHands On With OpenSocial and Embedded Experiences
Hands On With OpenSocial and Embedded Experiences
 
React Native
React NativeReact Native
React Native
 
Story of a Cerberus Bot
Story of a Cerberus BotStory of a Cerberus Bot
Story of a Cerberus Bot
 
Strategies for securing your banks & enterprises (from someone who robs bank...
 Strategies for securing your banks & enterprises (from someone who robs bank... Strategies for securing your banks & enterprises (from someone who robs bank...
Strategies for securing your banks & enterprises (from someone who robs bank...
 
Mikrofrontend a Module Federation
Mikrofrontend a Module FederationMikrofrontend a Module Federation
Mikrofrontend a Module Federation
 
Natural Language UI Testing using Behavior Driven Development with Pavlov and...
Natural Language UI Testing using Behavior Driven Development with Pavlov and...Natural Language UI Testing using Behavior Driven Development with Pavlov and...
Natural Language UI Testing using Behavior Driven Development with Pavlov and...
 
Joomla Day Australia 2019
Joomla Day Australia 2019Joomla Day Australia 2019
Joomla Day Australia 2019
 
Local development environment for micro services with docker
Local development environment for micro services with dockerLocal development environment for micro services with docker
Local development environment for micro services with docker
 
SharePoint Development with the SharePoint Framework
SharePoint Development with the SharePoint FrameworkSharePoint Development with the SharePoint Framework
SharePoint Development with the SharePoint Framework
 
Nom Nom: Consuming REST APIs
Nom Nom: Consuming REST APIsNom Nom: Consuming REST APIs
Nom Nom: Consuming REST APIs
 
XPages Mobile Controls DanNotes 11/23/11
XPages Mobile Controls DanNotes 11/23/11XPages Mobile Controls DanNotes 11/23/11
XPages Mobile Controls DanNotes 11/23/11
 
Testing Your Code as Part of an Industrial Grade Workflow
Testing Your Code as Part of an Industrial Grade WorkflowTesting Your Code as Part of an Industrial Grade Workflow
Testing Your Code as Part of an Industrial Grade Workflow
 

Similaire à Identifying and solving enterprise problems

Speedupiosdevelopment
SpeedupiosdevelopmentSpeedupiosdevelopment
Speedupiosdevelopment
slidepaddemo
 
Appcelerator Titanium Intro
Appcelerator Titanium IntroAppcelerator Titanium Intro
Appcelerator Titanium Intro
Nicholas Jansma
 

Similaire à Identifying and solving enterprise problems (20)

How to build a slack bot
How to build a slack botHow to build a slack bot
How to build a slack bot
 
Getting Started With bots
Getting Started With botsGetting Started With bots
Getting Started With bots
 
Chatbot Meetup
Chatbot MeetupChatbot Meetup
Chatbot Meetup
 
ESPC Teams week Microsoft Teams & Bot Framework – a Developer’s Perspective
ESPC Teams week Microsoft Teams & Bot Framework – a Developer’s PerspectiveESPC Teams week Microsoft Teams & Bot Framework – a Developer’s Perspective
ESPC Teams week Microsoft Teams & Bot Framework – a Developer’s Perspective
 
Bot. You said bot? Let build bot then! - Laurent Ellerbach
Bot. You said bot? Let build bot then! - Laurent EllerbachBot. You said bot? Let build bot then! - Laurent Ellerbach
Bot. You said bot? Let build bot then! - Laurent Ellerbach
 
ITCamp 2017 - Laurent Ellerbach - Bot. You said bot? Let's build a bot then...
ITCamp 2017 - Laurent Ellerbach - Bot. You said bot? Let's build a bot then...ITCamp 2017 - Laurent Ellerbach - Bot. You said bot? Let's build a bot then...
ITCamp 2017 - Laurent Ellerbach - Bot. You said bot? Let's build a bot then...
 
Intro to Appcelerator Titanium - Code for Fort Lauderdale 2015
Intro to Appcelerator Titanium - Code for Fort Lauderdale 2015Intro to Appcelerator Titanium - Code for Fort Lauderdale 2015
Intro to Appcelerator Titanium - Code for Fort Lauderdale 2015
 
Deep dive into advanced teams development
Deep dive into advanced teams developmentDeep dive into advanced teams development
Deep dive into advanced teams development
 
Speedupiosdevelopment
SpeedupiosdevelopmentSpeedupiosdevelopment
Speedupiosdevelopment
 
Build an Intelligent Bot (Node.js)
Build an Intelligent Bot (Node.js)Build an Intelligent Bot (Node.js)
Build an Intelligent Bot (Node.js)
 
Build an Intelligent Bot
Build an Intelligent BotBuild an Intelligent Bot
Build an Intelligent Bot
 
Titanium Mobile
Titanium MobileTitanium Mobile
Titanium Mobile
 
MeteorDay Copenhagen
MeteorDay CopenhagenMeteorDay Copenhagen
MeteorDay Copenhagen
 
Getting Started with the Cortana Skills Kit
Getting Started with the Cortana Skills KitGetting Started with the Cortana Skills Kit
Getting Started with the Cortana Skills Kit
 
Appcelerator Titanium Intro
Appcelerator Titanium IntroAppcelerator Titanium Intro
Appcelerator Titanium Intro
 
DEV117 - Unleash the Power of the AppDev Pack and Node.js in Domino
DEV117 - Unleash the Power of the AppDev Pack and Node.js in DominoDEV117 - Unleash the Power of the AppDev Pack and Node.js in Domino
DEV117 - Unleash the Power of the AppDev Pack and Node.js in Domino
 
#Techorama belgium 2018 vincent biret what's new with the #MicrosoftGraph
#Techorama belgium 2018 vincent biret what's new with the #MicrosoftGraph#Techorama belgium 2018 vincent biret what's new with the #MicrosoftGraph
#Techorama belgium 2018 vincent biret what's new with the #MicrosoftGraph
 
Build your first messenger bot
Build your first messenger botBuild your first messenger bot
Build your first messenger bot
 
Hackaton for health 2015 - Sharing the Code we Make
Hackaton for health 2015 - Sharing the Code we MakeHackaton for health 2015 - Sharing the Code we Make
Hackaton for health 2015 - Sharing the Code we Make
 
HKOSCON 2020 - Open by default
HKOSCON 2020 - Open by defaultHKOSCON 2020 - Open by default
HKOSCON 2020 - Open by default
 

Plus de Vasu Jain

Sentiment analysis of tweets
Sentiment analysis of tweetsSentiment analysis of tweets
Sentiment analysis of tweets
Vasu Jain
 
Internet Explorer 9
Internet Explorer 9Internet Explorer 9
Internet Explorer 9
Vasu Jain
 

Plus de Vasu Jain (12)

Tech jobs beyond programming - Game design
Tech jobs beyond programming - Game designTech jobs beyond programming - Game design
Tech jobs beyond programming - Game design
 
Conversational AI & Smart Homes
Conversational AI & Smart HomesConversational AI & Smart Homes
Conversational AI & Smart Homes
 
Sentiment analysis of tweets [SCSE, 13]
Sentiment analysis of tweets [SCSE, 13]Sentiment analysis of tweets [SCSE, 13]
Sentiment analysis of tweets [SCSE, 13]
 
Sentiment analysis of tweets
Sentiment analysis of tweetsSentiment analysis of tweets
Sentiment analysis of tweets
 
Indexing and Mining a Billion Time series using iSAX 2.0
Indexing and Mining a Billion Time series using iSAX 2.0Indexing and Mining a Billion Time series using iSAX 2.0
Indexing and Mining a Billion Time series using iSAX 2.0
 
How google is using linked data today and vision for tomorrow
How google is using linked data today and vision for tomorrowHow google is using linked data today and vision for tomorrow
How google is using linked data today and vision for tomorrow
 
Internet Explorer 9
Internet Explorer 9Internet Explorer 9
Internet Explorer 9
 
Cloud Computing Architecture
Cloud Computing Architecture Cloud Computing Architecture
Cloud Computing Architecture
 
Power Point 2010
Power Point 2010 Power Point 2010
Power Point 2010
 
Microsoft Office 2010 Overview
Microsoft Office 2010 OverviewMicrosoft Office 2010 Overview
Microsoft Office 2010 Overview
 
Windows 7 What's Next
Windows 7 What's NextWindows 7 What's Next
Windows 7 What's Next
 
Windows Phone 7
Windows Phone 7Windows Phone 7
Windows Phone 7
 

Dernier

Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
HenryBriggs2
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 

Dernier (20)

Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdf
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 

Identifying and solving enterprise problems

  • 1.
  • 2.
  • 3. Idea behind the topic / Identifying Problems
  • 7. 1. Bots • Slack/Telegram/Facebook/Skype 2. Apps • Web Apps/Chrome Apps/ Extensions 3. Voice Apps • Alexa/Google Voice 4. Task Automator • IFTTT/Zapier/Microsoft Flow 5. API Tools • Postman/Webhooks/Pre-Post Task hooks 6. CMS Extensions • WordPress/ Drupal Extensions Tech/Tools to solve these problems
  • 8.
  • 9. Story – DevRel Bot Monitor channels • Stackoverflow • Github • Twitter Challenges • Multiple Repos • Too many clicks • Finding relevant information wasn’t easy • Time consuming
  • 10.
  • 11.
  • 12.
  • 13.
  • 14. Bots
  • 15. Early disruptors in bots domain Bot Platform to order from marketplaces(2016) TacoBot within the Slack (2016) Twitter Bot to order Pizza by Tweeting Pizza Emoji (2015)
  • 16. Slackbot capabilities Slack Bot interact with a user on a Slack team by 1. Connecting to Slack’s Real time Messaging (RTM )API and opening a web-socket connection with Slack. • Bot user will Monitor and process channel activity • Post messages and react to users • Web API to post formatted messages, attachments, emoji • Make messages interactive with buttons 2. Listening to Slack Events via HTTP based Events API aka Slack Webhooks . Configure events at https://api.slack.com/events
  • 17. Types of Slack bot you can develop : Slack Bot interact with a user on a Slack team by Custom Bots 1. Custom for a team’s requirements 2. Can be used for company’s process automation etc. Bot Users attached to Slack App 1. For distribution to other teams 2. Governed by OAuth permission scopes 3. Distributed via Slack Button or Slack Appstore Apps generally start as custom bots and evolve into a Slack App.
  • 18. Ways to create a Slack bot 1. Make authenticated API calls and consume Slack RTM API 2. Use existing library or SDKs (such as node-slack-client) https://github.com/slackhq/node-slack-client 3. Botkit Framework : • Does heavy lifting for Slack API interaction • Open source bot builder platform for Node.js • Works for Slack, Facebook, Twilio, Microsoft Teams, Cisco Spark/Jabber currently • Write once run anywhere style • http://howdy.ai/botkit
  • 19.
  • 20. Project Structure Clone: https://github.com/vasujain/slack-bot-github • node_modules/ contain botkit module – generated by npm install • package.json specifies your project details and dependencies • index.js is the entry point • Util.js for utility functions • Config.json for string sensitive data • Npm-debug.log created by default for error logging • Lib/ directory containing slack libraries
  • 21. Developing a Custom Slack Bot - Setup 1. Install Botkit • From NPM • npm install --save botkit • From Github • git clone git@github.com:howdyai/botkit.git • npm install 2. Create a new bot user integration and customize it https://my.slack.com/services/new/bot
  • 22. Developing a Custom Slack Bot - Setup 3. Capture token generated in #1, to be used to connect to Slack API 4. Constructs base 64 encoded value and add it to config.json (not mandatory for regular bots) 5. Run a sample bot • npm start index.js 6. Invite Bot to your team 7. Say Hello to your Bot
  • 23. Lets Integrate an API in our bot 1. API to integrate – Github 2. Get tokens and make first successful API call 3. Convert REST Call into Node Code 4. Write a controller using Intents from Slack input and parsing them for API call 5. Integrate Node code 6. Parse API Response and construct Slack Response 7. Happy Bot-ing !!
  • 24.
  • 25.
  • 26. „ https://martechtoday.com/wp-content/uploads/2017/06/bot-builder-1200.png „ https://www.efficise.com/assets/image-resources/objects/busy-man.png „ https://qph.fs.quoracdn.net/main-qimg-95b64fdabe299f7a071d8ef5debd081c.web „ http://blog.flatironschool.com/wp-content/uploads/2016/10/Code-Background.jpg „ http://www.techshines.com/wp-content/uploads/2017/10/profession-for-a-polyglot-programmer-game-developer.jpg „ https://www.pinterest.com/pin/416371928035551016/ „ http://www.greenmellenmedia.com/wp-content/uploads/slack-chat.png „ https://tctechcrunch2011.files.wordpress.com/2016/05/robot-customer-service.png „ https://blog.zipfworks.com/content/images/2016/06/1-6J2T-ftDoHNGEvuMQiuWLA.jpeg „ https://www.wired.com/wp-content/uploads/2015/08/SlackBot-featured1.jpg „ https://cdn-images-1.medium.com/max/800/1*SRq8BmUQl1YWXTCbO859kw.png „ https://robotsandpencils.com/wp-content/uploads/2016/03/Hero_graphic_BeepBoop@2x.png „ https://beepboophq.storage.googleapis.com/_web/en_US/grande.edeb24.png „ https://beepboophq.storage.googleapis.com/_web/en_US/venti.dba620.png
  • 27.