Black Friday Deals Agent

An automated price tracking and prediction agent designed to help users seize optimal deals during major sales events.
Python · Flask · Web Scraping · SQLite · Twilio · SMTP

Black Friday Deals Agent Dashboard Screenshot

The intuitive dashboard provides an overview of all tracked deals, live alerts, and predicted optimal prices.

Project Overview

I was constantly checking product pages for price drops, especially during high-stakes sales periods like Black Friday, which was incredibly time-consuming and inefficient. My motivation was to create a personal automation tool that could handle all the deal-hunting for me, saving valuable time and ensuring I received immediate notifications the moment a target price was met.

Key Features

  • Instant Alerts: Users receive immediate notifications via email or SMS (Twilio) as soon as a tracked product's price drops to their desired target.
  • Automated Monitoring: The application autonomously tracks product prices across specified e-commerce platforms 24/7, eliminating the need for manual checking.
  • Smarter Purchasing Decisions: By providing access to historical price data and predictive analytics for future price drops, the agent empowers users to assess whether a deal is genuinely good or if it's better to wait.
  • Flexible Customization: Users can define unique product names, set personalized price goals, and configure different contact details for each product being tracked.

Workflow Overview

  • Users input product links and configure their alert preferences directly through a simple web form interface.
  • The application continuously monitors and logs product prices from the specified e-commerce sites into a database.
  • Utilizing historical price data, the agent predicts potential future price drops, advising users on optimal waiting or purchasing strategies.
  • Upon a price reaching the user-defined target, an instant notification is dispatched via the preferred method (email or SMS), ensuring no deal is missed.

Technical Architecture

  • Web Scrapers: Developed robust web scraping modules using BeautifulSoup and Requests to efficiently extract real-time pricing data from Amazon, Best Buy, and Walmart.
  • Price Logging & Database: Implemented a SQLite database to persistently store comprehensive price history for all tracked products, enabling trend analysis.
  • Price Prediction: Utilized NumPy for data manipulation and basic time-series analysis to estimate future price movements and predict potential optimal buying windows.
  • Alerting System: Integrated Twilio for sending SMS alerts and SMTP for email notifications, ensuring immediate communication of price drops.
  • User Interface: Built a simple, intuitive web interface using Flask, designed for ease of use by non-technical individuals.
  • Automation: Incorporated an automated scheduler to manage background price checking, ensuring continuous operation without manual intervention.

Visual Highlights

Setup Page Screenshot

The product setup page where users enter URLs and set their alert preferences.

Dashboard Screenshot

A view of the dashboard displaying live prices, predictive insights, and direct links to each product page.

Full Tech Stack Used

  • Languages: Python
  • Web Framework: Flask
  • Web Scraping: BeautifulSoup, Requests
  • Database: SQLite
  • Data Analysis: NumPy
  • Messaging APIs: Twilio (SMS), SMTP (Email)
  • Automation: Custom Scheduler

Learnings & Impact

This project was more than just a coding exercise; it became a genuinely useful tool that I, my friends, and my family actively use, saving us from missing out on significant deals. It was immensely gratifying to integrate various technical skills—automation, data handling, and web development—into a practical application that simplifies everyday life. The experience reinforced my passion for building solutions that are not only technically sound but also deliver tangible, real-world value.