← Video library

How to Run an E-Com Business With AI Agents Doing the Work

An Amazon seller shows how he turns product research and weekly operating data into files his agents can reuse.

Watch on YouTube ↗

Follow the walkthrough

  1. 1. Start with a buyer complaint

    Look for a product customers want improved. In the interview, the seller describes using Apify to collect market evidence that he previously assembled by hand.

    Watch at 00:02:20
  2. 2. Keep a performance history

    Record weekly units sold and advertising performance in a persistent file. Give the agent that history when asking whether this week’s numbers warrant a change.

    Watch at 00:04:40
  3. 3. Clean the source before analysis

    Save the scraper response to a file. The seller delegates cleaning to subagents before passing a smaller dataset into the analysis context.

    Watch at 00:07:05
  4. 4. Give recurring reviews a destination

    Separate projects into Discord channels. His assistant posts a Wednesday SEO summary with immediate fixes and a full report he can inspect on his phone.

    Watch at 00:21:00

Start with one recurring report for one project. Keep both the evidence and the resulting decision.

Interview workflow. The video describes the seller’s own systems and outcomes.

Read the transcript

In today's episode, we're going to talk about how Hassan is using AI to run his software and online store businesses. We talk about how he's been using different tools to pull product information. And how he saw an opportunity to actually use AI to learn how to code and build up other Amazon e-commerce store sellers, how he's using AI with custom sub agents and commands to understand the day-to-day data and processes and actually run his day-to-day business.

and how he's using Open Claw within Discord to manage his day-to-day tasks, have a co-founder, an AI co-founder in there to give him insight and act on certain tasks that he needs to run his business. If you're looking to see how you can use AI in e-commerce and Amazon, then this episode is for you. All right, Sam, so good to see you. I uh I've been really looking forward to the session because you're one of the people I look up to when it comes to anything on the

AI side, especially with kind of how you progress over time using AI to build your apps, but specifically with how we can apply AI within e-commerce and Amazon. I know you're doing a lot of cool things. You're both on the seller side with e-commerce, but also um you're building software for Amazon and e-commerce space. So, I'm really interested to see kind of what you have to share today. So, what do you want to talk about?

>> Hey, Mir. Thanks for having me. So, I just wanted to talk about my workflows that I've incorporated in my Amazon business, whether it's from pushing production software like Launch Fast or is taking one of my Amazon items from idea to launch and turning into successful through advertising. >> Cool. So the audience today is going to learn kind of how you approach coming up with a specific idea or feature for your product and how you've been able to kind

of use cloud code and agents to ship it. Also, you know, I think you mentioned you want to talk a little about PBC automations and how you're using AI to manage your paid campaigns and kind of some open call automations as well. So I'm really excited to see what you do and let's just jump right into it. >> Thanks. Yeah, and honestly, I think it all comes together because kind of like the patterns I picked up from pushing these Amazon products where like

research customer reviews is the same patterns that I'm using to ship software. So, it all starts from where I launched my first product which was this Zen sweat sauna. And in order to launch this, it started off with me looking into what kind of market I'm going to sell and whether or not there's actually a way for me to improve on a product based on something customers are looking for. And before that I got into AI, usually this would be a manual process.

is funny enough because I was using the same tools that now I'm just handing off to cloud code which is like scrapers such as apify manually putting them into a database or then just doing the analysis through chat GPT over time I've developed a workflow inside of cursor where within each project it kind of lives as the home base for the brand so if we're looking at the Zen Sweat brand or portable sauna I like to structure these uh workspaces So every time I'm

working on the brand, whether it's doing a AB test for images or title or we're doing our weekly TPC automation, it all starts with Claude's context. And within Claude's context, I like to separate it with agents and skills. This file is a more agent based because it's a bit of a longer workflow, but it just has files such as what tools to use and what workflow to follow. So I would say that the tools that I'm using now to go from idea to validation to product launch for

products is pretty much the same workflow that I'm using through cloud for software and the tools that I used to use before like apify putting it into Google sheets and then running analysis manually chatpt I'm now able to kind of just abstract all of the tool calls and work to cursor and for example with cursor I went from idea to launch for this brand called flagrunner and How I did it is by creating a home base for Claude within the cursor workspace. I

like to divide Claude's actions into tasks that it's going to carry out for me. But I also I like to start with the backbone which is going to be the context that I can easily direct Claude to every time I'm going to get into a session just because with Amazon there's so much statistical testing that you're always doing like whether your image gets the extra percent click-through rate or whether your title works better. So just dividing it into files where the

just so just dividing it into files where Claude is able to reference how the brand is doing long term and kind of like the core decisions we made at the start really helps. So one thing I like to keep in the file is a long-term business performance. So, if we look back to July to September, this just kind of keeps track each week when we come in of how many units we're selling and what percentage of profit we're making on the ads and so forth. So, this

time when Claude is going to do a statistical analysis is able to run back its memory and make decisions based on that rather than just scoped context. How do you uh ext how do you find the product that you want to sell and then how are you extracting some of this like sales performance unit economics like what are the tools you're plugging into to get this information? >> Uh so the tools I used to scrape before I made launch fast was Apify and API

just unlocks a world of agent through scripts. So be so if you were looking for a specific product you would previously use Apify to get that data that you needed and like they had you know what is Apify and you know talk about like what Apify is and the specific actors and then kind of how I think maybe that led to why you built launch fast right so the tools that I use to kind of figure out what product market to tackle is Apifi and I really

like Apifi because it's kind of giving your agent access to endpoint points that it may otherwise face difficulty for. Uh maybe endpoints that are behind user authorization so it can't scrape through browser automation stuff like LinkedIn. But where I got started was with the Amazon actor. >> So when I was going to start Amazon research, it would all start by giving claude access to the Amazon scraper via the API endpoint. Just by giving this

endpoint to Amazon, just by giving this endpoint to Claude, which comes with the actor token, it's able to not only call and get the response for actors and sellers based on their revenue, keyword rankings and more, but it's able to wait until the scraping is done in one loop. >> So just help me understand like how is this different like um is there any reason why you gave the endpoint versus not using it directly in the CLI or an MCP?

>> Okay. Yeah. So the reason I personally like to use just the endpoint which is just calls the endpoint through the CLI is because I like to use apify scripts without reducing the agent's context. I never actually have the agent directly read the raw response it gets from the apify because it's usually just a uncleaned unfiltered dump rather I'll have it first save it to a markdown file and then send off some sub agents to clean the file and then we'll go into

the analysis whereas the MCPS down just dumps it all into it context. >> Yeah, that's smart. Okay. Yeah, I haven't even thought about that actually. Yeah, because I I use API all the time and I just always use the raw context to then get insights from it. Oh, you're right. There's a lot of like the JSON data is there's a lot of noise in there that you can take out. So, okay. Cool. Interesting. So, you use you you you use cloud directly with the

apify uh endpoint for Amazon product scraper to then get insights that you need which looks like that markdown sheet that you showed us earlier. What do you do after that? So after that once you have an idea and you validate that this market or niche is turning profit the next part is are you able to enter this market with different orientation. Differentation is the golden word in the Amazon world. If your product is not

genuinely different and better by the other seller. There's really no purpose for anybody to choose your product especially as a new seller with zero reviews. And that's where we turn to another end point the Reddit scraper. And typically I like to start with Reddit because I feel like it has a lot more unfiltered unstructured responses. And we can see here we have like one of my old queries queued up where I'm just looking at competitorbased sub forums.

And I'm looking for what people are saying are purchase motivators, reasons they do buy this product, and what actually blocks them from purchasing it. From there, when I consolidate real customer feedback with what features are working, Claude is able to kind of synthesize it into the best possible ROI differentation to approach it with. >> Very cool. Very cool. So, kind of help me understand this and put this all together. Um, how did this lead to

launch fast? Like, uh, you know, help me understand on how this all ties together. So how this all ties together is this is such a long tedious workflow before claude came in. So I was manually downloading these Excel files and then I was pasting them into claude. But even with claude cloud it doesn't make the best decisions without the context files that we mentioned earlier. And some of this context was created by me based on Amazon theories that I had learned in

the past such as what competitors to tackle and what to go after. So after getting stuck in that loop of refreshing context, downloading files or even handing off API keys to filter it, I decided why don't I take this niche business logic that I've kind of gathered over the past two years and codify that with the help of cloud code. And that's what sparked the idea for Launchpass for me. I just felt like I should be able to have one home base

where my decision- making is already codified and then maybe I'll be able to share this knowledge with others and a lot of sellers picked up on the filters that we put around product selection very quickly. That's really cool. So, are you able to maybe give a quick demo of what launch fast is and kind of how you've been able to, you know, someone with I think no technical background, right? Um, >> yeah.

been able to kind of use AI to take these kind of mish mash of different workflows using the existing tools and wrapping them into your own product solving not only your own problem but other people's problems and yeah like I'd love to kind of show a quick demo of what launch fast is and how ties ties this all together. >> Yeah, definitely. So, Launchfast is the all-in-one workspace for Amazon sellers, and it helps you go from idea to

validation and optimization. So, it all starts with how I would manually go and type keywords and look for markets and then paste it into a file. This aggregates that for if you just have one idea, you're able to type it and instantly we're going to pull the top sellers within that niche for you. And then sometimes based on Amazon when you search and you're looking to launch within a market, you may have something that's irrelevant that doesn't really

tie in. So we give users the idea to select here and filter out any irrelevant ones. And once you hit analyze, this is where I codified my knowledge of launching products, not only personally, but with the legacy X team. And we've put filters around the values such as how much sales the market is doing overall, what price they're selling at, how much review percentage is under 500. Because getting past that review threshold on Amazon is really

what triggers sales velocity, and then how much you're going to be paying for advertisements because you can't be profitable unless you're going to pay for advertisements. Once you kind of get that general gist that you might want to pursue this product. Uh so once you kind of get the idea that you want to pursue that product, you kind of look into it daily revenue and from here you get the idea of whether there's any seasonality or trends that you should avoid. For

example, a lot of markets see a big uptrend during Christmas but something like a hand warmer we can see that it's kind of staying consistent through winter but then it also flags stuff like there's too many reviews in this market so you don't want to enter. That kind of replaces the workflow of me manually extracting market revenue and product and then having Claude decide whether or not to pursue it. And then from there we have other codified workflows whether or

not you're just looking for specific products that fall within your own variables. And this just helps you scrape Amazon uh very quickly and you just get a list. So here's ideiation and then the next part is running ads on Amazon which is very hard to become profitable. So once you've done that collection of the ideal market that you're going to want to enter, you're able to paste it and get a deep dive on exactly where users rank. And uh if if

you guys come from like the Facebook ads world or Instagram ads world, it ranking might not be something that really makes sense to you, but organic ranking is the backbone of Amazon. So when you're running paid ads on Amazon, you're potentially bidding or any of these words or a sponsored placement, but over time as your sales velocity increases, your item starts showing up there organically. So therefore, most or you can turn your ad spend lower because you

start picking up these organic placements. And if you're not able to track where your competitors are or where the gaps are that you could target in this market, it's kind of hard to even be competitive or be profitable, which is a problem most sellers have. >> Very interesting. So before we wrap this up here, um a lot of this information is not only your direct knowledge expertise that you had specifically from doing something like this before, but you've

taken um you know, for example, the total revenue, the keywords, these are all specific endpoints available on Amplify, right, that you've been you're you're pulling from. Is that is that true? Like you're is this where you're getting the data from is through amplify and other endpoints? >> Yeah. Uh so since uh I made the software, we transitioned off Apify because API is a live scraping website and when you're kind of serving uh data

to clients, you don't really want them to have such a long delay. So we kind of incorporated our own crawlers for crawling Amazon to track historical BSR and then we're also uh pinging off of Amazon owner endpoint and ads campaign endpoint. But at the end of the day, one thing that I've learned through software is really just building blocks of API endpoints that give your uh agent the context to execute. >> Sweet. Okay, cool. Well, I mean, it's

really interesting. I think this is a really good use case of someone that has direct knowledge expertise um doesn't have a technical background uses AI learns how to actually build things and is able to kind of find an intersection of two of knowing an industry really well building a product around it and then solving a problem not only for themselves but for others and becoming very successful while doing that. So, it's always interesting to see

and I think we're going to see more of that over the next year where people that have direct industry expertise in very small or specific niches building very successful products. Um, it's often times products are people that we haven't heard of. I meet some people in some very interesting niches and I'm like, "Wow." Like you've built a product that you had no technical background on and was doing really really well. So with that in mind, I want to talk a

little bit more about kind of how you use AI now uh in e-commerce. So, say for example, if um you had a store and you want to automate your PBC campaigns or um have agents like Open Claw running your business, I'd love to kind of learn more about what you're doing today and kind of how other people in the e-commerce space or the Amazon space can apply practical use cases um with AI for their workflow. Um, often times I get a lot of people asking me how do I run my

campaigns or manage my campaigns at scale using AI or how do I have better analysis of my customer support tickets and cluster groups and stuff like that. So I'd love to kind of learn more about what you're doing. >> Yeah. So I have two separate workflows for this. The first one starts for PPC management. So in order to do long-term PPC management, it all starts with once again setting the context foundation for the agent. And I like to do it by

creating uh barriers around what I'm looking for, which is what's outlined in these context documents. So in something like our business performance and strategic summary document, it allows us to understand how much we're spending over time on campaigns and what our attribution is. But then we also keep something like the PPC change log where the agent notes down week to week every change that it makes for every campaign. And how I like to trigger this is every

week you can set up automated reports on Amazon where they send you a weekly advertisement summary to your email. And I like to download it and bring it into this folder. And I like to do that over automating the report is because when you request a report from Amazon over API, it takes many hours to receive. Every week I'll come into my weekly PPC folder and I'll set up project folders for automatic campaigns raise exact and product targeting which are just

different ad strategies and placements that you can get on Amazon. And then within it, it'll just be a CSV dump of each keyword and how it's performing and what the clicks are, etc. So this context is already sorted for the agent and then that's where I move to my commands. Within my commands, I like to start off by running the prime brand command. And what the prime brand command does, it just directs uh cloud code or chat gpt to just read the files

with the brand context and understand that old folder before we tackle the automations. And then from there, I just direct it to the weekly reports. and I'll have it send me a email through the resend API with what changes I should make and then from there I'll just manually input them. >> Uh what's been the biggest outcome you've had with running these kind of workflows? I think one of the biggest things we're seeing now is AI has become

a commodity there where you can do things. People are now asking the question of okay, what outcome outcome does it actually have for you? What's the result? What did you get out of this? So I'm curious to know with this workflow now, how has it changed and what's been the biggest like um output for you or uh outcome out of it? >> Yeah. Well, I would say that the project that the Amazon item that I showed earlier, flagr runner, this is a item

that I launched completely from scratch with the help of cloud code and from this item doing everything from the listing strategy to what images we should make. So on this account we generated about 100,000 in sales for the flag render product and this is over the past year. So what changed in my workflow is before it took a lot of mental energy for me to monitor my a cost every week or dayto day and then look at the reports by myself and it

just becomes a lot as a founder to manage but just having like a teammate of cloud code who is able to synthesize all this information for me while I still make the end decision. It's just a pipeline of data synthesis that has really changed my workflows across everything. >> That's really really cool. That's awesome to see. Um, so is this like uh 100k in sales across the entire year? >> Yeah.

>> So about 10k a month. That's very very cool. So you're essentially making, you know, 10k in sales having an AI co-founder that does a lot of the heavy lifting for you. That's awesome. Let's talk about one more use case or workflow. I'd love to kind of see um, you know, you talked about Cleo um, and some other use cases, you know, is there anything else you want to show to kind of tie this all together? Yeah, I'll bring this into the final step which is

how do you now run a business with AI? Now, sure you can create the product and you can deploy the software, but what really makes you successful is like doing the extra little bit for customer service and staying on top of your task, being self-motivated, especially if you're going to be a founder, you need to be organized, need to manage stuff like SEO, you need to manage customer service, and that's where I've incorporated OpenClot. I've created

OpenClot as my virtual assistant that manages everything from my day-to-day emails and tasks that I might forget to stuff like SEO reports, strategizing, SEO, next steps. And I've set it up within a Discord server. Discord server is great for OpenCloud because each channel you're able to set isolated context where it seems like it's almost a different agent per task. And then I've separated it based on like projects that I'm currently working on, whether

it's like HB goodies TPC or the launch fast. And some workflows is every Wednesday, which is like the day I like to try to not write code and do SEO, I get this report from Launchy, who's my trusty assistant, and he gives me a little summary here with what issues that we could probably fix right away, but then also he gives me a full report that I can pull up quickly on mobile. And what inspired this is when I was first implementing a lot of analytical

softwares like Sentry, I was uh have becoming really overwhelmed because as somebody without a technical background, I was just looking at uh usages and logs and I I didn't even know what to do from it. So having someone that understands it and able to put it into actionable insights as to what pages are growing and then what keywords rank up and then turning it into like steps that I can take. And then from here I usually just pick the top two or three steps. And if

I just send back the issue request, it's going to create a linear ticket for me and it's going to go through our GitHub repository and it's going to identify the exact code that I need to fix. And what helps me get this done is every day on Wednesday, I don't have to start fresh where I have to do the data analysis across multiple sources. I have to then synthesize it. Then I have to go through and understand what sort of technical SEO tricks to implement. It's

already ready for me. And then I'm able to hop into something like Superet, which is uh one of my coding platforms of choice, and I'm able to just open a bunch of work trees and spam all of them. and I'm able to come back and review it after the PR review agents have already done it which cuts down my development time quite a lot for those non technical heavy tasks. >> That's really cool. So open and then so open claw is built directly in your

discord and it's connected to different APIs and services that you currently have. So like the analytics um is not something you build but it's external tool that you plugged into to pull those insights. Right. >> Yeah. This is pulling from the Google Analytics file. Okay. And then it's just plugged in with our linear API. And then over here I have a coworker who I assign task to. And sometimes I'm so like busy or like hyperfocused on writing code. I

simply forget to like check in with them. So I have here like a man relationship management almost where it lets me know like hey you assigned this to him like can you check in on this with him? And then the biggest thing though for me has just been this morning brief. I like it have a very bad habit of waking up and sitting and getting started on like coding or working on feature and then I spent all day just working on that task where I like kind

of leave all these tasks at the bottom. So just getting a morning brief that I can check in with and kind of knock these tasks out the way has really been a big game changer. It's like having a virtual assistant. >> That's really cool. That's really awesome to see. Yeah. Um, it's interesting to see how everyone is approaching Open Cloud differently and I think you're one of the few people that I know that is actually directly

applying into their business and they're seeing some sort of kind of like um a real outcome coming out of it. Um, we have similar workflows running uh just like you in uh in our Slack group. We're very Slack first. We actually don't use open cloud. We built our own. We built the clock SDK and then built on top of it. But it follows very similar patterns where it self-signed tasks looks at existing data comes up with blog post research creates a blog post and gives

us any actual insights that we can create. So it's really interesting to see kind of how uh you're approaching it as well. What is your biggest takeaway or advice for um nontechnical e-commerce operators that want to get into something like this and they want to use AI to learn how to use it for their business. Honestly, I like to give the same advice to like people that want to get into AI, whether they're from e-commerce or non-technical, is that you

just have to be willing to not give up. Uh people will be like surprised at how much time I actually spent in my day behind cloud code. Especially with the trend nowadays, like I see a lot of people on Twitter just posting a big PRD and coming back hours later, but on like a regular day, I'm spending like six to eight hours actually prompting back and forth for features and code. And the only difference between me and somebody that gives up is like I simply just

refuse to give up. I don't really know the technical code that we're working towards, but I have the knowledge to know like this is supposed to be the end result and I kind of just refuse to like leave it alone until it gets finished. And if you circle around enough times and especially if you have a problem-solving brain, you're able to kind of put together all these building blocks over time and work through it. So, I would just tell them to just uh

start building out and see what problems you run into and solve them. >> It's really solid advice. I really appreciate that. Well, thank you so much for your time. I think it was really cool to see how you've been using AI to not only build products um and also solve specific problems on your day-to-day business. Thanks for your time. >> Thanks, Mayor.

Download as text