timzhangau / chatbot

chatbot backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chatbot

chatbot backend

slack bot creation

reference articles

steps

  1. create an app in your workspace on slack
  2. get OAuth Tokens and Bot Access Token for the app
  3. create a lambda function and api gateway with serverless framework. get api endpoint url for next step
  4. create a bot user
  5. subscribe 'event subscriptions' for the bot app. this is where bot get the chat message input. use the aws api gateway endpoint url as request url. slack requires url verification, so include the codes to handle the first challenge message to verify the request url.
  6. customize your bot with a cool avatar and start play

About

chatbot backend


Languages

Language:Python 100.0%