Skip to content

SuneetPatil/IRCTC-tatkal-booking

Repository files navigation

IRCTC Tatkal Ticket Booking:

This repository demonstrates how to book IRCTC Tatkal tickets with ease using powerful RPA tool - UiPath

Brief background:

Currently booking a Tatkal ticket through IRCTC is a very tedious and time-consuming job. There are many challenges faced by a user, from server downtime or timeouts to poor network connectivity. Even after having logged in, it takes time to fill data, navigate through all the forms and make payment to complete the booking.

As Lakhs of people try to book tickets every day, for a user to get confirmed tickets is no easy task as tickets are sold out in minutes. Many are forced to pay an exponential fare for premium tatkal.

Our solution template using RPA's UiPath is aimed at addressing this issue. We as a team of certified RPA's UiPath developers, aim to improve user’s experience by automating mundane but important tasks. Booking Tatkal tickets is as simple as filling a simple XLS file and our solution will take care of the rest!.

With this, life will just get easier for lakhs of people every single day who try to book their Tatkal tickets.

How it works:

Below is the work flow of our solution template using UiPath tool.

alt architecture

  • User needs to update the passenger's travel details in XLS in advance. Below is the sample XLS for reference.

alt sample_xls

  • At given time(ie 10am AC tickets and 11am for NON-AC tickets) our solution kick starts the process of IRCTC tatkal booking. It takes the Login details of IRCTC from Windows Credential manager of the local running system(Highly secure) and tries logging in. Login with OTP is an alternate way of logging into IRCTC other than regular login with Captcha. We read OTP from Gmail(Gmail login details are extracted from Windows Credential manager of the local running system). Below are the sample imgaes for reference.

alt login alt otp

  • After successful login, our Solution takes travel details like source, destination, date of travel from XLS and autofills the IRCTC screen and searches from available trains.

  • Once all the trains details are fetched, updates tatkal quota and then selects the train mentioned in the XLS and checks for seat availibility.

  • Once seat available, fetchs passanger details from XLS and autofills the form as show below.

alt passenger_details

  • Once all the details are filled and submits for review page.

alt passenger_confirmation

  • Once ticket is confirmed, it fetchs UPI details from XLS and takes to make payment using UPI. User will get the notification about the payment in his/her mobile and requests to make payment.

alt UPI

  • Actual request received in mobile device of the user and user needs to make payment.

alt payment

  • Once payment is received, IRCTC will comfirm the booking and allocates the berth as shown in the image below. This ends the booking process.

alt ticket_confirmation

Prerequisites

  • should have UiPath Community edition. account
  • Should have IRCTC and Gmail account
  • IRCTC account should be linked to Gmail
  • User should have UPI Id for payment

How To Use This Code

  • Please Clone this repository to your local system.
  • Update the Config.xlsx file (inside Data folder) with required travel and passenger details.
  • Open and Run the Main.xaml file(in the root of the folder) in UiPath Studio.

Built With

Demo Video

IRCTC Tatkal Ticket Booking.

RoadMap

  • Updating the user about booking confirmation using WhatsApp.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Repository for IRCTC tatkal booking using RPA

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published