Bot-Insightful is a Slack base knowledge base chatbot for questions and answer from Palo IT community
- Botkit
- Ngrok
- DialogueFlow
This is where using the link provided by Ngrok, communication between slack and the bot can be established.
- Log in to
Slack apiand go toyour Apps - Go to
Outh & Permissionsand update the redirection URLs with the Ngrok link - Go to
Event Subscriptionsand update the request URL with the Ngrok link
You can inspect the traffic logs going throught Ngrok at http://127.0.0.1:4040
The follow events needs to be subscribed for the bot and workspace
Go to Slack api → Event Subscriptions and assign the following subscriptions to
- Bot events
message.channelmessage.immessage.groups
- Workspace events
message.im
- Replace the
TUNNEL_LINKenvironment variable with one generated with Ngrok - Update OAuth redirection and interactive webhook URLs
- Run
yarn dev:start