AWS Builder Center
Weekend Agent Challenge: RojAI Agent for E-Commerce Merchandising

Weekend Agent Challenge: RojAI Agent for E-Commerce Merchandising

This article walks through building an autonomous AWS agent that retrieves products from Shopify, generates AI-powered merchandising recommendations, and stores them for future review.

Introduction

After participating in the AWS Builder Center Weekend Productivity Challenge, I realized my AI merchandising application had the potential to become something much more powerful.
For the Productivity Challenge, I built RojAI – AI Listing Assistant, an application that used Amazon Bedrock to help generate and improve product listings for my Shopify store.
When AWS announced the Weekend Agent Challenge, I saw the perfect opportunity to evolve the project.
Instead of building another AI assistant that waits for user input, I wanted to build an always-on AI agent capable of working autonomously.
That challenge inspired me to transform RojAI from a productivity assistant into an autonomous AI merchandising agent that retrieves products from my live Shopify store, analyzes them with Amazon Bedrock, and stores AI-generated recommendations for future review.
This article documents that evolution.



From AI Assistant to AI Agent

The first version of RojAI was reactive.
Whenever I wanted help writing or improving a product listing, I opened the application and asked the AI for assistance.
Although that significantly improved productivity, I realized another opportunity existed.
Instead of waiting for me to request improvements, why couldn't the system inspect my catalog automatically and identify products that could be improved?
That question transformed the project from an AI assistant into an autonomous AI agent.
Rather than generating content on demand, the agent now works continuously in the background using AWS serverless services.



Vision

My goal wasn't to replace Shopify.
Shopify already provides an excellent platform for managing products, inventory, and orders.
Instead, I wanted AWS to become the intelligence layer on top of my Shopify store.
I own  RojKilim , an online Shopify store specializing in handmade kilims and traditional textiles.
Like many small business owners, I regularly review product titles, descriptions, SEO, and merchandising information to improve product discoverability.
These tasks are repetitive, but they directly influence customer experience and online visibility.
Instead of manually reviewing every listing, I wanted AWS to automate the analysis.
Whenever the agent runs, it retrieves my product catalog, evaluates every listing using Amazon Bedrock, and stores AI-generated recommendations before I even open Shopify.
By the time I log into my store, the analysis is already complete.



What the Agent Does

RojAI Agent runs automatically without requiring user interaction.
The workflow is triggered by Amazon EventBridge, while AWS Lambda orchestrates the execution.
The workflow performs the following steps:
  1. Amazon EventBridge triggers the scheduled execution.
  1. AWS Lambda starts the workflow.
  1. Shopify credentials are securely retrieved from AWS Secrets Manager.
  1. The agent connects to my live Shopify store.
  1. Product information is downloaded through the Shopify Admin API.
  1. Amazon Bedrock Nova Lite evaluates every product.
  1. AI-generated merchandising recommendations are created.
  1. Recommendations are stored inside Amazon DynamoDB.
  1. Amazon CloudWatch records execution logs for monitoring and debugging.
Rather than simply generating text, the agent performs a practical business workflow that operates continuously in the background.
For every product, Amazon Bedrock evaluates:
  • Product title quality
  • SEO opportunities
  • Product discoverability
  • Merchandising tags
  • Listing completeness
Every recommendation is generated from actual products in my Shopify store rather than demonstration data.



How I Built It

I intentionally built this project in stages.
The first version never connected to Shopify.
Instead, it analyzed a small mock catalog.
Starting with mock data allowed me to validate:
  • Amazon EventBridge scheduling
  • AWS Lambda orchestration
  • Amazon Bedrock prompts
  • AI recommendation quality
  • Overall application architecture
Only after the workflow behaved consistently did I replace the mock provider with a live Shopify provider.
Because product retrieval and AI evaluation were implemented as separate components, integrating the live store required only minimal changes.
That architectural decision made the project significantly easier to extend and maintain.



Secure Shopify Integration

Connecting AWS to a production Shopify store introduced another important challenge.
Credential management.
I didn't want Shopify credentials stored inside source code or Lambda environment variables.
Instead, credentials are securely stored in AWS Secrets Manager.
Whenever Lambda executes, it retrieves only the credentials required to access the Shopify Admin API.
This approach provides several advantages:
  • No hardcoded credentials
  • Easier credential rotation
  • Cleaner deployments
  • Improved security
  • Reusable architecture for supporting multiple Shopify stores



AWS Architecture

Amazon EventBridge
│
▼
AWS Lambda (RojAI Agent)
│
├── AWS Secrets Manager
├── Shopify Admin API
├── Amazon Bedrock (Nova Lite)
├── Amazon DynamoDB
└── Amazon CloudWatch

AWS Services Used

  • Amazon EventBridge
  • AWS Lambda
  • AWS Secrets Manager
  • Amazon Bedrock (Nova Lite)
  • Amazon DynamoDB
  • Amazon CloudWatch
  • AWS CDK
The entire backend is fully serverless.
No servers need to be managed, and every execution is automatically triggered by AWS.



Current Status

RojAI Agent is currently operational as a backend AI service.
It retrieves products directly from my live Shopify store, analyzes each listing using Amazon Bedrock, generates merchandising recommendations, and stores those recommendations inside Amazon DynamoDB.
Throughout this article, I included screenshots from the AWS services powering the workflow, including:
  • Amazon EventBridge
  • AWS Lambda
  • AWS Secrets Manager
  • Amazon Bedrock
  • Amazon DynamoDB
  • Amazon CloudWatch
These screenshots demonstrate the complete execution of the agent using real product data from my Shopify store.
At this stage, I intentionally focused on building a reliable backend architecture before investing time in the frontend experience.
The next milestone is integrating these backend capabilities into the existing RojAI application by adding a frontend where recommendations can be viewed, reviewed, and eventually approved before being applied back to Shopify.



What I Learned

The biggest lesson from this challenge wasn't about AI.
It was about software architecture.
Building the workflow with mock data first allowed me to validate one component at a time before introducing external dependencies.
Separating the Shopify integration from the recommendation engine meant replacing the data source required very little additional work.
Using AWS Secrets Manager instead of embedding credentials improved both security and maintainability.
Most importantly, I realized that AI becomes significantly more valuable once it's connected to a real business workflow instead of demonstration data.
Seeing Amazon Bedrock generate recommendations for actual products made the project feel far more practical than testing against sample catalogs.



What's Next?

The backend foundation is now complete.
The next phase is integrating these capabilities into the existing RojAI application by building a frontend where merchants can:
  • View recommendations
  • Review AI suggestions
  • Approve improvements
  • Apply approved changes back to Shopify
Future enhancements include:
  • Recommendation dashboards
  • One-click Shopify updates
  • Historical analytics
  • Support for multiple Shopify stores
  • Continuous catalog monitoring
  • Additional merchandising insights
My long-term vision is to evolve RojAI into an always-on AI merchandising assistant that continuously helps e-commerce businesses improve their online stores with minimal manual effort.



Repository

GitHub Repository
Live Demo Store
Part 1 — RojAI AI Listing Assistant



Final Thoughts

Participating in two consecutive AWS Builder Center weekend challenges allowed me to evolve the same project instead of starting over.
The Weekend Productivity Challenge helped me build an AI-powered listing assistant capable of generating better product content on demand.
The Weekend Agent Challenge challenged me to think differently. Instead of waiting for user interaction, I designed an autonomous AWS agent that continuously analyzes a live Shopify catalog, generates merchandising recommendations using Amazon Bedrock, and stores those recommendations for future action.
Today, the backend workflow is complete.
AWS EventBridge schedules the execution, AWS Lambda orchestrates the workflow, AWS Secrets Manager securely manages credentials, Amazon Bedrock analyzes every product, Amazon DynamoDB stores recommendations, and Amazon CloudWatch records every execution.
The next milestone is integrating these backend capabilities into the existing RojAI frontend, creating a complete AI merchandising platform where merchants can review, approve, and apply AI-generated improvements from a single interface.
Together, these two AWS Builder Center challenges demonstrate how a simple AI assistant can evolve into a practical, always-on AI agent that solves real business problems using a modern serverless AWS architecture.
If you'd like to see where the journey started, I invite you to read Part 1 of the project:
RojAI – AI Listing Assistant
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