Creating a Webex Chatbot — Part 1

Andre Botta
Chatbots Life
Published in
3 min readAug 2, 2019

--

This is part 1 of a number of stories for which I will be showing how I developed a simple chatbot using Cisco Webex Platform. So, let’s start.

Part 2 is now available!

The first step will be to create a Bot. You could also use your personal account, but all messages sent would be associated with you. To create a Bot, just click here and fill all fields. After creating your Bot, on the next screen, you will have get the Access Token that allows your to interact with the Webex API as your Bot.

Creating a Room

Now that you have the Access Token, let’s create a room for our tests. The following gist shows how you can create a room using the WebexTeamsSDK.

Top 4 Bot Tutorials

1. How we wrote a Wirecutter-like bot with Reply.ai in just a few hours

2. How to Create a Facebook Messenger Bot with Ruby on Rails

3. DialogFlow(formerly API.AI): Let’s create a Movie ChatBot in minutes

4. Chatbot Conference in San Francisco

With the Room ID, we are ready to start part two of this tutorial.

Note: I am a big fan of Docker and VS Code. And now with VS Code Remote Development is extremely easy to have a common development environment. So, if you have VS Code and Docker installed, you can use the following code to create a Webex Room without having to install and/or configure nothing on your machine.

Next we will create a Webhook and a Web Server to receive messages when someone posts to the Webex Room that we created on this tutorial.

Cheers!

Don’t forget to give us your 👏 !

--

--