I am creating a new chatbot for hotel booking in which searches hotel using the API and shows results according to the request.
Need help to build the flow and how to integrate through API
Hi Hari,
Welcome to Kore.ai Community.
Please find the flow below.
Define the Conversational Flow:
Create a Welcome Intent and use this to Greet the user and introduce the bot’s purpose.
Then create a Booking Request Intent:
use this to Recognize user requests for hotel booking.
Capture necessary information such as check-in date, check-out date, location, number of guests, etc.
Create a API Integration Intent:
Create an intent to handle the interaction with the hotel booking API and extract parameters from user input (e.g., location, dates, number of guests).
Please use these parameters to form a request to the hotel booking API.
Then Create a Display Results Intent:
Use this to Receive and process the API response.
Also, Display relevant information such as hotel names, prices, and details to the user.
Create a Booking Confirmation Intent:
Allow the user to confirm a booking and use this to Provide a summary of the selected hotel and booking details.
Handle the confirmation process and provide a confirmation message.
Use entities for extracting key information from user input (e.g., Date, Location, Number of guests).
Configure Dialog Tasks: Refer to Documentation for more information.
Use dialog tasks to manage the conversation flow.
Define tasks for each intent and API interaction.
Integrate with Hotel Booking API: Refer to Documentation for more information.
Obtain API Key:
If the hotel booking API requires an API key, obtain one by signing up on the API provider’s website.
API Request:
Use the API key and the information gathered from the user to make requests to the hotel booking API.
Parse the API response to extract relevant details.
Hope this helps.