This is done on the Webex platform via the URL. Create Botįirst of all, we need to create our bot. This consists of creating our bot, adding our bot to our Webex Teams space, along with creating a message webhook. To begin, we perform the required configuration within Webex teams. The message is displayed to the user via the Webex Teams client.A message is then created containing the results of ipcalc.In our case taking the IP/Subnet and running ipcalc. Using the message details, our Chatbot will then perform the required action.The Chatbot will then issue an API call out to the Webex Teams API to collect the message details using the previous message ID.This submission triggers a webhook, an HTTP POST to our Chatbot endpoint, containing a message ID.Webex Teams then processes this submission.The user submits a message within Webex Teams.Let’s step through the order of operations for our Chatbot. Our Chatbot will then perform an ipcalc against the IP and subnet, then return the result to the user. This method prevents continuous polling and therefore can reduce the resource overhead to both the chat API endpoints and Chatbot.Īt a very high level, our user will enter an IP address and netmask within the Webex Teams client (be it the mobile app, web browser, or desktop app).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |