Building an AI Amazon Review Analysis Agent with n8n and dtc.sh MCP Servers — Transcript
Full transcript
- 0:00Okay, let's build an Amazon reviews AI
- 0:05agent in N8N uh using DTC.sh
- 0:11reviews MCP server. Let's get going.
- 0:15First step,
- 0:17let's trigger this on a chat message.
- 0:22Can figure this out later. Let's move
- 0:24this over here. Next one. Let's add our
- 0:28AI agent here.
- 0:32And this is connected. So let's get a
- 0:36chat model going.
- 0:38Let's use OpenAI.
- 0:43GPT 4.1 Mini. So you're going to want to
- 0:48use your own credentials here with the
- 0:49OpenAI token.
- 0:52And
- 0:55this up a little bit.
- 0:59and
- 1:01memory.
- 1:03Let's just add a simple memory for now.
- 1:07And we're going to need credentials for
- 1:11DTC.sh
- 1:14reviews MCP server and I don't have
- 1:16credentials. So what we need to do is to
- 1:19get credentials.
- 1:21So first we need to connect
- 1:25MBS
- 1:28mcp.ttc.sh
- 1:32slashcredsc.
- 1:35So this URL is going to get us
- 1:39credentials. We don't need
- 1:40authentication for that one. Um
- 1:44tools include generate brand
- 1:47credentials. So that's good.
- 1:50So that's connected. Once we get our
- 1:53credentials,
- 1:56um, we're going to connect the other MCP
- 1:59server to get Amazon review. So let's
- 2:01call this one DTC.sh
- 2:04MCP server.
- 2:09Okay, so that tool is there. Generate
- 2:12brand credentials.
- 2:14Okay, so
- 2:16let's get this going.
- 2:20test it. Hey, can I get credentials?
- 2:31Sure, I can help you generate
- 2:32credentials. Could you please provide me
- 2:34with your brand's display name and
- 2:36contact email?
- 2:37Brand name, [sighs]
- 2:39they say surfer shop.
- 2:43email bor plus server shop.
- 2:52So
- 2:55it's going to do its thing
- 2:59and give us credentials. So we just copy
- 3:02this one for now.
- 3:04And now we're going to go create another
- 3:07MCP tool.
- 3:11And that's for
- 3:14the reviews MCP server. So mcp.detc.sh
- 3:22reviews
- 3:23ssse
- 3:26and
- 3:28this one uses a bear header off
- 3:33and we need to create a new credential.
- 3:36Let's call this surfer shop
- 3:41DTC
- 3:43credentials.
- 3:45So
- 3:48name is going to be let's just go and
- 3:51copy it.
- 3:55Let's save this first. It's not going to
- 3:57work because
- 3:59we didn't enter the credential yet. I
- 4:01just need to copy this over first. So
- 4:03this goes to
- 4:06here
- 4:09um and
- 4:11name x-appi-
- 4:14key and value needs to be this
- 4:16credential that I was given. So I copy
- 4:18that. So save that. So that should give
- 4:21us access to
- 4:23um
- 4:26this MCP server. So let's check out the
- 4:28tools here. Selected.
- 4:31Boom. So vectorized review batch
- 4:35vectoriz
- 4:36query reviews
- 4:39get Amazon product reviews. So four
- 4:41tools. So let's talk about what we're
- 4:44going to do. Um first we need to get
- 4:48Amazon product reviews from Amazon. So
- 4:50this is what that tool does. We provide
- 4:52a URL and get our product reviews. Then
- 4:56um we need to vectorize those reviews.
- 4:59What does that mean?
- 5:01uh reviews come in as text uh items and
- 5:06if you want to do some kind of semantic
- 5:08search uh sentiment analysis on customer
- 5:11reviews uh we should vectorize that. So
- 5:15basically that means it's going to go
- 5:16into a vector database and then uh when
- 5:20we ask questions about customer
- 5:21sentiment it's going to do a semantic
- 5:24search. That's a more powerful type of
- 5:26search than just a regular keyword
- 5:28search. That's not a great uh type of
- 5:32search for this kind of analysis. And
- 5:34batch vectorized reviews is um just like
- 5:38this one just one review at a time and
- 5:40this one does like a Excel or Google
- 5:43spreadsheet a lot of reviews in batch.
- 5:46So uh I selected all these tools. So
- 5:50this MCV server is ready. Um,
- 5:54so now what we can do is
- 5:59let's save this so we don't lose our
- 6:01changes. And also let's rename this to
- 6:04TTC.sh
- 6:06reviews MCP server.
- 6:10And um,
- 6:16okay.
- 6:18So now what we should do is to get some
- 6:21Amazon product reviews, right? Um
- 6:29let's go
- 6:32for three wets suits
- 6:35for men
- 6:37because I'm a surfer. So let's see
- 6:39what's here. Let's start with this one.
- 6:43No. Okay. So let's start with this
- 6:46O'Neal one.
- 6:48Um,
- 6:49so copy this URL and then go back
- 6:55um
- 6:58to our
- 7:01MCP over here
- 7:06and say
- 7:10get
- 7:12Amazon reviews for
- 7:15and then let's if it works.
- 7:20So now it should go here.
- 7:27Okay. What does it say?
- 7:30Has been successfully triggered.
- 7:35Oh, but so like we need to give it a web
- 7:37hook for it to give us the review data.
- 7:40We didn't. Um so what we need to do is
- 7:46um create a web hook here. The reason
- 7:49for this is the reviews take some time
- 7:52to come back and we need that review to
- 7:54come back as a um batch and that we
- 7:59wanted to update this
- 8:02Google spreadsheet.
- 8:04Um, so now let's create a
- 8:09new trigger.
- 8:11And this trigger is going to be
- 8:14a web hook trigger.
- 8:18And this web hook trigger is going to
- 8:22make this a little smaller.
- 8:26This web hook trigger is going to add
- 8:29stuff
- 8:31in Google Sheets. So that's what we
- 8:34want. So let's get uh sheet
- 8:40and we want append row in sheet.
- 8:44Okay.
- 8:47So what we need to do is
- 8:52to set this up first
- 8:55in such a way that the views come into
- 8:58this web hook. So this web hook has a
- 9:02production URL. So let's copy this one.
- 9:06And
- 9:07oh we forgot to give this instructions
- 9:10properly. Right?
- 9:12So let's call this
- 9:15agent reviews
- 9:18agent
- 9:20and give it some system prompt system
- 9:24message.
- 9:26So in the system message we should say
- 9:30um
- 9:32pass in
- 9:35URL
- 9:37in the MCP tool calls. Actually, you
- 9:40know what? Um,
- 9:43just
- 9:45so passing URL in MCP tool calls as part
- 9:48of metadata for the get Amazon product
- 9:50reviews MCP tool. User must provide
- 9:52their own web hook URL as well as an
- 9:54Amazon product URL. Do not set your own
- 9:56default. So, like we need to do that um
- 10:00and we just did that. So, let's save it.
- 10:03And now we have our web hook. Um, let's
- 10:06make one and let's let it fail. because
- 10:09we haven't set up the Google Sheets yet.
- 10:12So,
- 10:14copy the production URL and then go back
- 10:18here and say
- 10:20get Amazon product
- 10:23reviews for
- 10:26I'll copy paste it again and use web
- 10:28hook URL
- 10:31that so then
- 10:34this was this right.
- 10:38So now we're giving it the Amazon
- 10:42product URL and we're giving it the web
- 10:45hook URL. So what should happen now?
- 10:50Okay, it's making a call.
- 10:55All right, so
- 10:58what what happened there?
- 11:01It's been triggered successfully. So
- 11:02let's let's check
- 11:06um it passed the product URL, passed the
- 11:09web hook URL. So now this started. So
- 11:14here we can go check the execute. Oh,
- 11:16you know what? That's not going to work
- 11:18either. You know why? Because we didn't
- 11:20activate
- 11:22um
- 11:23our So this inactive. So it needs to be
- 11:26active. That's not working because this
- 11:28is broken. So let's try to disconnect
- 11:31it.
- 11:33Yeah, now it's activated. So now it
- 11:35could work. Um, yeah, let's turn these
- 11:39off.
- 11:43So now we have to do the same thing
- 11:45again. Um,
- 11:48why is this weird? Okay, so let's try
- 11:51this again.
- 11:52Get Amazon product review
- 11:56and then so let's ask again. So this
- 12:00will take some time.
- 12:03But what I want to see is um
- 12:08I want the product reviews to come back
- 12:14and um in the executions here
- 12:22we'll see this web hook getting called.
- 12:25I want to see that. So we're just going
- 12:28to wait for that to happen.
- 12:32Okay, so we have our results back.
- 12:35Um, you can see for each review it made
- 12:39a single web hook request. So let's look
- 12:42at one of them here. Um, and you can see
- 12:47that each review is coming through with
- 12:51the review details about this wets suit.
- 12:53So what we need to do is to map these
- 12:55fields to uh this Google sheet. So let's
- 13:01do this. Let's connect
- 13:03and um pen row and sheet. You have to
- 13:07connect your uh Google sheets here. Pen
- 13:09row uh select. So Amazon reviews
- 13:14is what I'm going to do. Sheet one and
- 13:17then map each column manually. So in
- 13:20this case
- 13:22um it's these ones. So basically these
- 13:25column names are the same ones that we
- 13:27expect from Amazon. So that's the
- 13:29template. Um and URL
- 13:33basically needs to be the same things
- 13:37that are coming through
- 13:40from um the web hook.
- 13:44So I'm just going to copy paste these
- 13:47over. And this needs to be product name.
- 13:56Product name is going to be
- 14:00product
- 14:01name
- 14:04and it needs to be an expression so that
- 14:05it can and product rating
- 14:10is going to be
- 14:13product rating.
- 14:20expression
- 14:22and then
- 14:27let's see
- 14:30we need
- 14:34rating
- 14:41just regular rating
- 14:45expression. author
- 14:49name.
- 14:53You see just the field names are
- 14:56matching one to one. So
- 14:59whatever Amazon is sending our column
- 15:02names are the same. So it's just the
- 15:05same
- 15:06JSON.body do variable name so it
- 15:10matches. And review header
- 15:16That's the header the person wrote and
- 15:19then
- 15:22I
- 15:26most importantly the actual review text.
- 15:32So
- 15:35what else? I think that's it.
- 15:42That's it.
- 15:45And okay, this should be it. URL,
- 15:48product name, everything that we need.
- 15:51So this is connected. Let's save.
- 15:55And
- 15:58if I execute the same thing to come
- 16:01through again.
- 16:07Look, these are coming through one by
- 16:09one.
- 16:11And
- 16:13reviews are coming.
- 16:25Yeah. So,
- 16:30Google
- 16:37this case
- 16:39end up writing
- 16:49didn't have good good reviews. It looks
- 16:51like
- 16:52text. Let's make this text wrap.
- 17:04So,
- 17:05what happened to these ones?
- 17:24Go to the right. These ones here
- 17:34one more time.
- 17:55Okay, I think the reviews might be
- 17:58coming in too fast. So, Google might be
- 18:00throttling this the Google Sheets.
- 18:04Sometimes it does that.
- 18:06And let's take a look.
- 18:10Okay. Yeah, we need to add um
- 18:14a delay. So, Google
- 18:16doesn't throttle us. So, let's run this
- 18:20again one more time.
- 18:23And now it should come in with about
- 18:25half a second delay between each review.
- 18:29So, you see like they're not all coming
- 18:31all at once.
- 18:33Okay. Now, now we're getting them one by
- 18:35one. You see? Yeah. So, so this is
- 18:39great. So, now let's get another product
- 18:44and
- 18:47put that in there. How about this one?
- 18:52Now copy the URL
- 18:57and go here and say
- 19:01can you now
- 19:05get
- 19:07product reviews
- 19:11for
- 19:14let's see if it remembers the web hook
- 19:16from before or if it's going to ask us
- 19:18again. Okay, I didn't remember. So let's
- 19:21just not the test one but the production
- 19:23one. So copy that just give it to it.
- 19:30So
- 19:32it's going to call reviews MCP server
- 19:36to trigger getting the reviews.
- 19:49has been successfully triggered. So,
- 19:51let's check.
- 19:53So, let's wait for this one to come
- 19:55through. Basically, it's going to show
- 19:57up in executions
- 19:59when um it gets the reviews from that
- 20:01page.
- 20:05While waiting for that, let's go grab
- 20:08reviews for a different product,
- 20:12um such as
- 20:18the CK
- 20:21That's for snorkeling and swim. That's
- 20:23not surfing.
- 20:25How about
- 20:36this one?
- 20:47get reviews for
- 20:52so that we can compare.
- 21:00Of course, we need our
- 21:03URL.
- 21:19Okay, it's been triggered.
- 21:23So, now let's wait for those results to
- 21:26come back to our web hook here and fill
- 21:28our sheet.
- 21:32Yep, they are coming through.
- 21:36Um, yeah. So, we have now
- 21:40um
- 21:42reviews coming through for the reactor
- 21:45model and the epic model. So now let's
- 21:50do another thing. Ask our agent to
- 21:55batch vectoriz.
- 21:58So all the reviews that we have here,
- 21:59let's copy uh the link. It needs to be
- 22:02set to anyone with a link so that our
- 22:05agent can read the data.
- 22:08Can you
- 22:10batch vectoriz?
- 22:14Let's give it the sheet. See what it
- 22:16says. This is supposed to call
- 22:20um
- 22:21batch vector MCP tool.
- 22:27Let's see if it does.
- 22:35I have vectorized 31 reviews.
- 22:39Nice. So, let's see. So, it took the CSV
- 22:43URL
- 22:45and inserted those reviews into our
- 22:48vector database, which is great. So now
- 22:52uh let's ask questions to this um but
- 22:56you know we can open this chat in a
- 22:58bigger window. So when you say make chat
- 23:00publicly available
- 23:02and
- 23:04my name is review agent.
- 23:07So let's copy this URL
- 23:11save this over here
- 23:14and open it in a new tab.
- 23:20And then and let's ask
- 23:23um
- 23:26yeah so let's get some general sentence
- 23:29about this
- 23:31what are people saying about
- 23:37so
- 23:39now this is supposed to
- 23:41go to the executions it's running now so
- 23:44you'll see
- 23:47and here it's just going to wait
- 23:54What's that all about? Let's see what
- 23:55happens.
- 23:59So,
- 24:05it said,
- 24:07oh, just like unnecessarily, you know,
- 24:09we need to give better system
- 24:11instructions to not do stuff like this.
- 24:13Um
- 24:24don't filter by product name
- 24:28just general sentiment
- 24:3243 red suit
- 24:36let's see so normally this kind of thing
- 24:40we need to give better instructions to
- 24:43um the MCP I mean the agent system
- 24:48prompt so that it doesn't do strict
- 24:51searches like that. Here we go. Look,
- 24:54now we got answers back.
- 24:56Here's a summary of what uh
- 25:00and then we can say
- 25:03what are people complaining?
- 25:07Okay. So, so it seems like they're
- 25:10talking about the poorly made seams to
- 25:14reveal the concerns.
- 25:16And what about
- 25:18the what's the other product? That's the
- 25:22one reactor
- 25:25the reviews for the reactor
- 25:31wet suit.
- 25:35So now let's go check executions here.
- 25:39So that's running. So let's see what
- 25:41what it did after we made that
- 25:43correction.
- 25:44Um so then it went here. You see it
- 25:48didn't do the meta filters and instead
- 25:50it just did a general query and then it
- 25:54got results back
- 25:56uh from our vector database.
- 25:59Um
- 26:01operator what are you talking about?
- 26:04Let's see what it did. So this is
- 26:08sometimes what you need to do to make
- 26:09the agents work. They just don't work
- 26:12out of the box. Again, you look why are
- 26:14you doing reax operator here, right?
- 26:18Don't do reax operator.
- 26:24So let's see what it does now.
- 26:34So,
- 26:36let's go back and see.
- 26:45Don't use
- 26:48metadata filters.
- 26:50So, you use the metadata filter, of
- 26:52course.
- 26:54Um, it shouldn't have
- 26:59What we can do here is just add in the
- 27:02system prompt to say don't use metadata
- 27:04filters to make the agent better more
- 27:06flexible so the search results come back
- 27:08better
- 27:10this case let's see what ends up
- 27:12happening now
- 27:15so
- 27:18let's look at the data right
- 27:21um
- 27:23took 19 seconds to execute this here you
- 27:27You can see the input and the output. So
- 27:29now it can do the metadata filter. Um,
- 27:33and now it got these results back from
- 27:34the vector database. And then here it's
- 27:38kind of uh comparing.
- 27:41So now we got our reviews agent work. Uh
- 27:43what did we do? We um got product
- 27:48reviews from Amazon. We vectorized them
- 27:51and then we did a query on them. And um
- 27:55so you can Imagine
- 27:58how you can do customer sentiment
- 28:00analysis on different kinds of products
- 28:02like this. And it was pretty simple to
- 28:04build. Uh and if you wanted to do that,
- 28:07you could turn this into a Slack agent.
- 28:09So instead of using the chat here, the
- 28:11input could be Slack, output could be
- 28:13Slack.
- 28:15Um this could be repurposed to use other
- 28:18types of review uh websites instead of
- 28:21just Amazon, maybe your own Shopify
- 28:24website. Uh but the general idea that we
- 28:27wanted to learn here is to build an
- 28:30agent
- 28:32um do some you know web uh data
- 28:35collection
- 28:37and vectorizing data which is really
- 28:40important for everybody to learn what
- 28:42happens when you vectorize data. you're
- 28:44able to do semantic searches
- 28:47um and then be able to get data into
- 28:50places like Google Sheets and then in
- 28:54batches put them into vector database.
- 28:56So in this case DTC.sh MCP server is
- 29:00allowing to do that but there are other
- 29:02ways to do it of course. Um so uh
- 29:06hopefully this was helpful.
About this transcript
This page contains the full transcript of Building an AI Amazon Review Analysis Agent with n8n and dtc.sh MCP Servers by Agentic Brand, generated from the public captions YouTube serves with the video. The transcript has 2,643 words across 509 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.