Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

a6i-palo/paloit-bot-insightful

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bot-Insightful is a Slack base knowledge base chatbot for questions and answer from Palo IT community

Frameworks

  • Botkit
  • Ngrok
  • DialogueFlow

Setting up

OAuth redirection and interactive webhook URLs

This is where using the link provided by Ngrok, communication between slack and the bot can be established.

  1. Log in to Slack api and go to your Apps
  2. Go to Outh & Permissions and update the redirection URLs with the Ngrok link
  3. Go to Event Subscriptions and update the request URL with the Ngrok link

You can inspect the traffic logs going throught Ngrok at http://127.0.0.1:4040

Event Subscription

The follow events needs to be subscribed for the bot and workspace

Go to Slack apiEvent Subscriptions and assign the following subscriptions to

  • Bot events
    • message.channel
    • message.im
    • message.groups
  • Workspace events
    • message.im

Starting the application

  1. Replace the TUNNEL_LINK environment variable with one generated with Ngrok
  2. Update OAuth redirection and interactive webhook URLs
  3. Run yarn dev:start

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors