Back to Blog

Cowin Slot Alert – Automating Vaccine Slot Notifications

May 28, 2021 (4y ago)Siddharth Jain
PythonAutomationTelegram BotCOVID-19Project Showcase

Automate Your COVID-19 Vaccine Slot Alerts with Cowin Slot Alert

📌 Introduction

The COVID-19 pandemic brought a surge in demand for vaccinations, making the availability of slots a critical concern. Cowin Slot Alert is a Python project that automates the process of searching for open vaccination slots and notifies users through a Telegram group. This post covers how the project works, the technology behind it, and how you can use or extend it for your own needs.


❓ What Problem Does It Solve?

Booking a vaccination slot on India’s CoWIN platform was often a race—slots could vanish within seconds. Constantly refreshing the site was inefficient and stressful. Cowin Slot Alert solves this by:


⚙️ How Does Cowin Slot Alert Work?

🔄 Core Workflow

🔧 Key Components

🧰 Tech Stack


📬 Example Message Sent to Telegram

Name: [Center Name]
Address: [Center Address]
Pin: [Pin Code]
Minimum Age: [18 or 45]
Vaccine: [Covishield, Covaxin, etc.]
Slots: [List of available slots]
Total [N] slots are available on [Date]
Dose 1 Available: [Number]
Dose 2 Available: [Number]
COWIN: https://selfregistration.cowin.gov.in/

🚀 How To Deploy and Run

  1. Clone the Repository

  2. Install Requirements

    pip install -r requirements.txt
  3. Configure Settings

    • Edit group_id and api_url_telegram
    • Set pincode_near to your desired locations
  4. Run the Script

    python final.py

    Or deploy to Heroku with the provided setup.


👥 Who Can Use This?


⚠️ Potential Improvements


✅ Conclusion

Cowin Slot Alert is a practical tool that helped many during a critical moment in the pandemic. It’s a great example of how simple automation can have a real-world impact.

Feel free to explore, contribute, or extend this project to suit your needs.

💻 Open Source Code Available