Inspiration

Online shopping has made purchasing products easier, but finding the best deal is still challenging. Customers often spend time switching between websites, comparing prices, checking different retailers, and trying to stay within their budgets.

We wanted to simplify this experience by creating an AI-powered shopping assistant that does more than just find products. This idea inspired us to build Haggle Bot — a platform that combines product discovery, price comparison, AI-powered negotiation assistance, and secure checkout in one place.

Our vision is to help people make smarter purchasing decisions while saving time and potentially saving money.

What it does

Haggle Bot acts as an intelligent shopping assistant that helps users find products and explore better deals.

Its key features include:

  • AI-Powered Product Discovery: Finds products and available retailer offers using Channel3.
  • Price Comparison: Helps users compare prices across different retailers.
  • Budget-Based Shopping: Allows users to set a budget and explore suitable offers.
  • AI Negotiation Assistant: Uses Google Gemini to analyze prices and budgets and generate negotiation suggestions.
  • PayPal Checkout: Provides a PayPal Sandbox payment flow after the user reviews and approves the selected offer.
  • Order Management: Uses Supabase to manage user and order-related information.

The goal is to bring several shopping activities together into one convenient experience.

How we built it

We built Haggle Bot using Lovable, an AI-powered development platform, to create the frontend and connect the application's backend functionality.

Our technology stack includes:

  • Lovable: Application development and user interface.
  • Channel3 API: Product discovery and retailer offer information.
  • Google Gemini API: AI-powered negotiation suggestions.
  • Supabase: Authentication, database, and application data management.
  • PayPal Sandbox: Payment integration and checkout testing.

The application retrieves product information through Channel3, presents available retailer offers, and uses Gemini to generate negotiation suggestions based on the selected product and user's budget.

After reviewing the suggested offer, the user can proceed to the PayPal Sandbox checkout flow. We designed the application to connect these services into a single shopping journey.

Challenges we ran into

Building Haggle Bot involved several technical challenges.

  • API Integration: Connecting Channel3, Gemini, Supabase, and PayPal while handling their different API requirements.
  • Backend Development: Understanding how frontend components communicate with backend functions and external services.
  • API Security: Ensuring sensitive API keys are handled on the server side rather than exposed in the browser.
  • PayPal Integration: Understanding the Sandbox buyer and seller account flow and implementing the checkout process.
  • Debugging and Deployment: Identifying integration errors, managing environment variables, and ensuring the application worked after deployment.

We overcame these challenges through continuous testing, debugging, and using AI-assisted development tools to understand and improve the application.

Accomplishments that we're proud of

We are proud of bringing multiple technologies together to create a working AI-powered shopping assistant.

Some of our key accomplishments are:

  • Building a unified platform for product discovery and price comparison.
  • Integrating Google Gemini to provide intelligent negotiation assistance.
  • Connecting real product information through Channel3.
  • Implementing a PayPal Sandbox checkout experience.
  • Connecting Supabase for authentication and data management.
  • Turning an initial idea into a functional web application using AI-assisted development.

Most importantly, we transformed the idea of an AI shopping negotiator into an interactive application.

What we learned

This project helped us gain practical experience in full-stack application development and API integration.

We learned how to:

  • Integrate third-party APIs into a web application.
  • Use AI models to generate context-aware suggestions.
  • Connect frontend interfaces with backend services.
  • Manage application data and authentication using Supabase.
  • Understand payment workflows using PayPal Sandbox.
  • Handle API credentials and basic backend security practices.
  • Debug and improve an application through iterative development.

We also learned that building an AI-powered product requires more than connecting an AI model. It requires reliable data, proper backend logic, secure integrations, and a good user experience.

What's next for Haggle Bot

We see Haggle Bot as a project with significant potential for future development.

Our next goals are:

  • Real Seller Negotiations: Explore integrations that allow users to send negotiation offers to participating sellers and receive actual responses.
  • Smarter AI Negotiations: Improve negotiation strategies using product demand, retailer pricing, historical prices, and user budgets.
  • More Retailer Integrations: Expand product discovery to additional shopping platforms and retailers.
  • Price Tracking: Notify users when selected products become cheaper or fall within their target budget.
  • Personalized Recommendations: Recommend products based on user preferences and spending limits.
  • Production Payments: Explore secure live PayPal payments and retailer checkout integrations.
  • Mobile Experience: Develop a mobile-friendly experience so users can access their shopping assistant anywhere.

Our long-term goal is to make Haggle Bot a trusted AI shopping companion that helps users discover better deals, make informed decisions, and shop smarter.

Built With

Share this project:

Updates

Submission history