AWS Builder Center
Weekend Agent Challenge: DealHunter AI – Building an Autonomous Shopping Assistant with Amazon Bedrock

Weekend Agent Challenge: DealHunter AI – Building an Autonomous Shopping Assistant with Amazon Bedrock

I built DealHunter AI, an autonomous shopping assistant that runs on a schedule using Amazon EventBridge, analyzes a shopping watchlist with Amazon Bedrock, stores AI-generated reports in Amazon S3, and sends Slack notifications automatically. This article covers how I built it, the challenges I faced, and what I learned during the process.

Introduction

Why I Built DealHunter AI

Like many people, I often keep a list of products that I want to buy but end up checking prices manually whenever I have time. It quickly becomes repetitive, and I wondered if I could automate the entire process.
For this weekend challenge, I decided to build DealHunter AI, an autonomous shopping assistant that monitors a shopping watchlist, generates AI-powered buying recommendations using Amazon Bedrock, stores the results in Amazon S3, and notifies me through Slack once the report is ready.
The goal wasn't to build another chatbot. I wanted to build an always-on agent that could run on its own without requiring any manual interaction after deployment.
#agents
What the Agent Does
DealHunter AI is designed as a serverless workflow that performs the same task every day automatically.
Every day, Amazon EventBridge Scheduler triggers an AWS Lambda function. Lambda loads a shopping watchlist stored in Amazon S3 and sends the product information to Amazon Bedrock (Nova Lite). Bedrock analyzes the products and generates a shopping recommendation report.
The generated report is saved back to Amazon S3, and a Slack notification is sent to confirm that the report is ready. CloudWatch logs each execution so the workflow can be monitored and debugged if needed.


How I Built It

I started by creating the EventBridge schedule because I wanted the project to run automatically instead of being triggered manually.
The shopping watchlist is stored as a JSON file in Amazon S3. Whenever the schedule runs, Lambda reads this file and sends the product information to Amazon Bedrock for analysis.
To keep the project organized, I separated the functionality into multiple Python modules. One module handles the Bedrock integration, another manages Amazon S3 operations, another sends Slack notifications, and the Lambda function orchestrates the complete workflow.
Once the AI generates the shopping report, Lambda stores it in Amazon S3 and sends a Slack notification confirming that the analysis has completed successfully.



AWS Services Used & Architecture Overview

The project uses the following AWS services:
  • Amazon EventBridge Scheduler to trigger the workflow automatically every day
  • AWS Lambda to orchestrate the complete workflow
  • Amazon Bedrock (Nova Lite) to generate AI-powered shopping recommendations
  • Amazon S3 to store the shopping watchlist and generated reports
  • Amazon CloudWatch to monitor execution and troubleshoot issues
  • AWS IAM to securely manage permissions between services
The architecture follows a simple event-driven flow:
Amazon EventBridge → AWS Lambda → Amazon Bedrock → Amazon S3 → Slack Notification





Challenges I Faced

Although the architecture is straightforward, I encountered several practical challenges while building the project.
One of the first issues was configuring IAM permissions correctly so that Lambda could access both Amazon Bedrock and Amazon S3. I also ran into Lambda timeout errors while testing the workflow. CloudWatch logs helped me identify where execution was slowing down, and increasing the timeout resolved the issue.
Another interesting part was integrating Slack notifications. After configuring the incoming webhook and testing the workflow a few times, I was able to receive automatic notifications whenever a new report was generated.
I also experimented with structured AI responses before deciding to keep the generated report in Markdown format. That made the workflow simpler and more reliable for this version of the project.

What I Learned

This project gave me a much better understanding of how different AWS services work together to build an autonomous workflow.
Instead of learning Amazon Bedrock, Lambda, EventBridge, and Amazon S3 individually, I learned how they fit together in a practical application. I also became more comfortable debugging with CloudWatch, organizing Lambda code into reusable modules, and designing prompts that generate consistent AI responses.
One of the biggest takeaways for me was that building reliable automation is just as important as generating AI responses.

Future Improvements

There are several improvements I would like to add in the future:
  • Fetch live product data instead of using a static watchlist
  • Track historical price changes over time
  • Add email notifications alongside Slack
  • Support multiple shopping watchlists
  • Build a simple web dashboard for viewing previous reports and recommendations

GitHub Repository

The complete source code for this project is available here:

Conclusion

This challenge was a great opportunity to build something practical using Amazon Bedrock and other AWS serverless services. Beyond creating an AI-powered shopping assistant, it helped me better understand how to design autonomous workflows that can run reliably with minimal maintenance.
I'm looking forward to continuing to improve DealHunter AI by adding live product data, richer recommendations, and additional notification options.
Thank you for reading!
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article