Create Your Own Azure DevOps Server Bot Integrated with Webex
Create Your Own Azure DevOps Server Bot Integrated with Webex
This article explains how you can create your own Webex-integrated Azure DevOps Server bot.
anchorPrerequisites
anchorBefore continuing, you will need access to a few developer resources and the Node.js framework:
- Developer Account: You'll need Azure DevOps Server account: https://azure.microsoft.com/en-us/pricing/purchase-options/azure-account. You must be a project administrator for your Azure DevOps Server account.
- Cisco Webex Account: You'll need a Webex developer account if you don't have one already. You can create one on the Webex Developer Portal: https://developer.webex.com/.
- Node.js: To create the Webex bot, you'll be leveraging the Webex Node Bot framework. Make sure you've got Node.js installed on your platform of choice.
anchorBuild the Bot
anchorOnce you have your accounts set up and Node.js installed, follow these steps to create your own Azure DevOps Server bot:
- Login to the Azure DevOps Server Portal and select Projects.
- Select the project you'd like to use for your Webex bot.
- Select the Settings icon and choose Service Hooks.
- Select Create subscription.
- Select Web Hooks in the left panel and choose Next.
- In Trigger configuration, select the trigger event for which you would like to set up a webhook and choose Next.
- In the Action configuration, paste the webhook URL that you've created for the bot and select Finish. Your bot listens to this webhook for triggered events.
- Log in to Webex for Developers.
- Create your Webex bot at: https://developer.webex.com/my-apps/new/bot.
- Note down the bot's access token, which you'll use to make API requests.
anchorUse the Webex Node Bot Framework
anchorTo simplify the creation of your bot, you can use the Webex Node Bot Framework available on GitHub. This framework provides a robust and easy to use platform for handling bot interactions:
For any queries related to bot framework you can join the following Webex space: Webex-Node-Bot-Framework Support.
anchorAdditional Resources
anchorFor more information on Azure DevOps Server and Webex, see:
- Azure DevOps Server: https://developers.wrike.com/overview/
- Webex API Documentation: https://developer.webex.com/docs