Hi @reena_kandari.
What I understand is that you want to integrate Rasa chatbot with some existing bus ticket booking portal. So I would recommend you need to do the following -
-
Bus ticket booking portal’s api access token and api payload format to book your bus ticket (this will contain from and to details journey date and time and passenger details). If the portal doesn’t have api open then you’ll have to develop a bot using some RPA tool or selenium which will automate actions on the screen.
-
Now that you have the api details (or bot in place) now from where to trigger them? You can do this by creating an action in the actions.py file in your Rasa project folder.
-
Write stories to train your bot so that you can enter the data you need to send to the bus ticket booking portal.
-
You’ll also need to figure out how will you take payments in the bot.
Follow this project Weatherbot_Tutorial/Full_Code_Latest at master · JustinaPetr/Weatherbot_Tutorial · GitHub this is tutorial by @Juste. This will make you understand how to write stories and call actions.
This is a video tutorial by @Juste which will tell you how to integrate each file with each other by Rasa. But if you are using the latest version of Rasa some of the features and setup might not be same as this is an old video.Hope this will help.