A step by step tutorial to get you started with creating a glip with botbuilder-glip in Node.js.
Start TutorialStart ngrok to get a domain url
Create .env
file in project root folder
$ cp .env.sample .env
$ vim .env
Please visit Developer Portal to apply client ID and secret. And ensure add following redirect URI to your app settings:
YOUR_GLIP_BOT_SERVER/oauth
GLIP_BOT_VERIFICATION_TOKEN is a 32 random chars for webhook request verification.
Use dotenv to import environments from .env file
Set cache file to cache bot data, include token and identity
Setup botbuilder and botbuilder-glip
When replyOnlyMentioned is enabled, bot will only get message when mentioned in multiple people group.
Response oauth and webhook request in Glip Connector
Setup botbuilder and botbuilder-glip
Get message from session in dialog.
Send message glip by session.send
.
Useing LUIS to recognize glip message to intent and entities.