Overview

Chatbots offer an efficient way to find and deliver information through AI-powered conversational queries. 

Learn how to build a chatbot that uses the IBM Watson Assistant service to intelligently create and search IBM Db2® database entries for events and conferences. Deploy your bot on Slack as a community resource. 

Taking a serverless approach, you will integrate Slack and IBM Watson Assistant using a Conversation connector, which deploys IBM Cloud Functions and IBM Cloudant® for IBM Cloud.

Estimated time: 60 minutes

Number of steps: 28

Chatbot

What you’ll accomplish

In this project, you will: 

  • Build a Slackbot that can search a Db2 database for events and conferences
  • Integrate Slack and IBM Watson Assistant using a Conversation connector within a serverless environment
  • Create, deploy and bind Node.js actions in IBM Cloud Functions
  • Access the Db2 database from IBM Cloud Functions using Node.js

What you’ll need before starting

  • Install the latest version of the IBM Cloud CLI and the IBM Cloud Functions plug-in
  • Provide Node.js proficiency 

This tutorial uses the following runtimes and services:

  • Watson Assistant
  • Cloud Functions
  • Db2 Warehouse on Cloud
  • Cloudant for IBM Cloud

Build a database-driven Slackbot

Capitalize on the IBM Watson® Assistant service and IBM Cloud™ Functions to create an artificial intelligence (AI)-powered, conversation-based chatbot within Slack.

Additional resources

It’s about improving the lives of app users

Expand your chatbot’s conversation options with complex dialogues

Smart chatbots learn to avoid mistakes

Help Watson learn to serve your users better with the Improve component

IBM Watson Assistant

Everything you need to make chatbots that continue to improve customer experience.