Create a Chatbot that Lets Customers Track Packages
Beginner
20 min.
With SAP Conversational AI, create a chatbot that calls an API, in this case to let customers track their packages, and see how to make use of the memory, using SAP Conversational AI.
You will learn
- How to create intents
- How to create entities
- How to fork intents and entities
- How to trigger skills and define required data for those skills
- How to access data in the memory
Prerequisites
- You understand the basics of creating a chatbot, as described in the tutorial Build Your First Chatbot with SAP Conversational AI.
What you will build
You will build a bot so customers can:
- Track a package
- Price a package
To track a package:
- The customer will indicate that they want to track a parcel
- The customer will provide the package number
- The customer will confirm they want to track the package
- The bot will call an API to retrieve package info and display it
To price package:
- The customer will indicate they want to price a package
- The customer will provide the address (France only) and the size of the package
- The bot will check that the address is in France, and then call an API to retrieve a map of the location
- The bot will display the map, and provide a price for the package, based on its size
In this tutorial
In this tutorial, you will start by creating a bot that understands the customer’s intent to track a package, and understands when the user has provided a valid tracking number.