YouTube2Text

Building an AI Amazon Review Analysis Agent with n8n and dtc.sh MCP Servers — Transcript

by Agentic Brand · 2,643 words · 509 segments · language en · Watch on YouTube

Full transcript

  1. 0:00Okay, let's build an Amazon reviews AI
  2. 0:05agent in N8N uh using DTC.sh
  3. 0:11reviews MCP server. Let's get going.
  4. 0:15First step,
  5. 0:17let's trigger this on a chat message.
  6. 0:22Can figure this out later. Let's move
  7. 0:24this over here. Next one. Let's add our
  8. 0:28AI agent here.
  9. 0:32And this is connected. So let's get a
  10. 0:36chat model going.
  11. 0:38Let's use OpenAI.
  12. 0:43GPT 4.1 Mini. So you're going to want to
  13. 0:48use your own credentials here with the
  14. 0:49OpenAI token.
  15. 0:52And
  16. 0:55this up a little bit.
  17. 0:59and
  18. 1:01memory.
  19. 1:03Let's just add a simple memory for now.
  20. 1:07And we're going to need credentials for
  21. 1:11DTC.sh
  22. 1:14reviews MCP server and I don't have
  23. 1:16credentials. So what we need to do is to
  24. 1:19get credentials.
  25. 1:21So first we need to connect
  26. 1:25MBS
  27. 1:28mcp.ttc.sh
  28. 1:32slashcredsc.
  29. 1:35So this URL is going to get us
  30. 1:39credentials. We don't need
  31. 1:40authentication for that one. Um
  32. 1:44tools include generate brand
  33. 1:47credentials. So that's good.
  34. 1:50So that's connected. Once we get our
  35. 1:53credentials,
  36. 1:56um, we're going to connect the other MCP
  37. 1:59server to get Amazon review. So let's
  38. 2:01call this one DTC.sh
  39. 2:04MCP server.
  40. 2:09Okay, so that tool is there. Generate
  41. 2:12brand credentials.
  42. 2:14Okay, so
  43. 2:16let's get this going.
  44. 2:20test it. Hey, can I get credentials?
  45. 2:31Sure, I can help you generate
  46. 2:32credentials. Could you please provide me
  47. 2:34with your brand's display name and
  48. 2:36contact email?
  49. 2:37Brand name, [sighs]
  50. 2:39they say surfer shop.
  51. 2:43email bor plus server shop.
  52. 2:52So
  53. 2:55it's going to do its thing
  54. 2:59and give us credentials. So we just copy
  55. 3:02this one for now.
  56. 3:04And now we're going to go create another
  57. 3:07MCP tool.
  58. 3:11And that's for
  59. 3:14the reviews MCP server. So mcp.detc.sh
  60. 3:22reviews
  61. 3:23ssse
  62. 3:26and
  63. 3:28this one uses a bear header off
  64. 3:33and we need to create a new credential.
  65. 3:36Let's call this surfer shop
  66. 3:41DTC
  67. 3:43credentials.
  68. 3:45So
  69. 3:48name is going to be let's just go and
  70. 3:51copy it.
  71. 3:55Let's save this first. It's not going to
  72. 3:57work because
  73. 3:59we didn't enter the credential yet. I
  74. 4:01just need to copy this over first. So
  75. 4:03this goes to
  76. 4:06here
  77. 4:09um and
  78. 4:11name x-appi-
  79. 4:14key and value needs to be this
  80. 4:16credential that I was given. So I copy
  81. 4:18that. So save that. So that should give
  82. 4:21us access to
  83. 4:23um
  84. 4:26this MCP server. So let's check out the
  85. 4:28tools here. Selected.
  86. 4:31Boom. So vectorized review batch
  87. 4:35vectoriz
  88. 4:36query reviews
  89. 4:39get Amazon product reviews. So four
  90. 4:41tools. So let's talk about what we're
  91. 4:44going to do. Um first we need to get
  92. 4:48Amazon product reviews from Amazon. So
  93. 4:50this is what that tool does. We provide
  94. 4:52a URL and get our product reviews. Then
  95. 4:56um we need to vectorize those reviews.
  96. 4:59What does that mean?
  97. 5:01uh reviews come in as text uh items and
  98. 5:06if you want to do some kind of semantic
  99. 5:08search uh sentiment analysis on customer
  100. 5:11reviews uh we should vectorize that. So
  101. 5:15basically that means it's going to go
  102. 5:16into a vector database and then uh when
  103. 5:20we ask questions about customer
  104. 5:21sentiment it's going to do a semantic
  105. 5:24search. That's a more powerful type of
  106. 5:26search than just a regular keyword
  107. 5:28search. That's not a great uh type of
  108. 5:32search for this kind of analysis. And
  109. 5:34batch vectorized reviews is um just like
  110. 5:38this one just one review at a time and
  111. 5:40this one does like a Excel or Google
  112. 5:43spreadsheet a lot of reviews in batch.
  113. 5:46So uh I selected all these tools. So
  114. 5:50this MCV server is ready. Um,
  115. 5:54so now what we can do is
  116. 5:59let's save this so we don't lose our
  117. 6:01changes. And also let's rename this to
  118. 6:04TTC.sh
  119. 6:06reviews MCP server.
  120. 6:10And um,
  121. 6:16okay.
  122. 6:18So now what we should do is to get some
  123. 6:21Amazon product reviews, right? Um
  124. 6:29let's go
  125. 6:32for three wets suits
  126. 6:35for men
  127. 6:37because I'm a surfer. So let's see
  128. 6:39what's here. Let's start with this one.
  129. 6:43No. Okay. So let's start with this
  130. 6:46O'Neal one.
  131. 6:48Um,
  132. 6:49so copy this URL and then go back
  133. 6:55um
  134. 6:58to our
  135. 7:01MCP over here
  136. 7:06and say
  137. 7:10get
  138. 7:12Amazon reviews for
  139. 7:15and then let's if it works.
  140. 7:20So now it should go here.
  141. 7:27Okay. What does it say?
  142. 7:30Has been successfully triggered.
  143. 7:35Oh, but so like we need to give it a web
  144. 7:37hook for it to give us the review data.
  145. 7:40We didn't. Um so what we need to do is
  146. 7:46um create a web hook here. The reason
  147. 7:49for this is the reviews take some time
  148. 7:52to come back and we need that review to
  149. 7:54come back as a um batch and that we
  150. 7:59wanted to update this
  151. 8:02Google spreadsheet.
  152. 8:04Um, so now let's create a
  153. 8:09new trigger.
  154. 8:11And this trigger is going to be
  155. 8:14a web hook trigger.
  156. 8:18And this web hook trigger is going to
  157. 8:22make this a little smaller.
  158. 8:26This web hook trigger is going to add
  159. 8:29stuff
  160. 8:31in Google Sheets. So that's what we
  161. 8:34want. So let's get uh sheet
  162. 8:40and we want append row in sheet.
  163. 8:44Okay.
  164. 8:47So what we need to do is
  165. 8:52to set this up first
  166. 8:55in such a way that the views come into
  167. 8:58this web hook. So this web hook has a
  168. 9:02production URL. So let's copy this one.
  169. 9:06And
  170. 9:07oh we forgot to give this instructions
  171. 9:10properly. Right?
  172. 9:12So let's call this
  173. 9:15agent reviews
  174. 9:18agent
  175. 9:20and give it some system prompt system
  176. 9:24message.
  177. 9:26So in the system message we should say
  178. 9:30um
  179. 9:32pass in
  180. 9:35URL
  181. 9:37in the MCP tool calls. Actually, you
  182. 9:40know what? Um,
  183. 9:43just
  184. 9:45so passing URL in MCP tool calls as part
  185. 9:48of metadata for the get Amazon product
  186. 9:50reviews MCP tool. User must provide
  187. 9:52their own web hook URL as well as an
  188. 9:54Amazon product URL. Do not set your own
  189. 9:56default. So, like we need to do that um
  190. 10:00and we just did that. So, let's save it.
  191. 10:03And now we have our web hook. Um, let's
  192. 10:06make one and let's let it fail. because
  193. 10:09we haven't set up the Google Sheets yet.
  194. 10:12So,
  195. 10:14copy the production URL and then go back
  196. 10:18here and say
  197. 10:20get Amazon product
  198. 10:23reviews for
  199. 10:26I'll copy paste it again and use web
  200. 10:28hook URL
  201. 10:31that so then
  202. 10:34this was this right.
  203. 10:38So now we're giving it the Amazon
  204. 10:42product URL and we're giving it the web
  205. 10:45hook URL. So what should happen now?
  206. 10:50Okay, it's making a call.
  207. 10:55All right, so
  208. 10:58what what happened there?
  209. 11:01It's been triggered successfully. So
  210. 11:02let's let's check
  211. 11:06um it passed the product URL, passed the
  212. 11:09web hook URL. So now this started. So
  213. 11:14here we can go check the execute. Oh,
  214. 11:16you know what? That's not going to work
  215. 11:18either. You know why? Because we didn't
  216. 11:20activate
  217. 11:22um
  218. 11:23our So this inactive. So it needs to be
  219. 11:26active. That's not working because this
  220. 11:28is broken. So let's try to disconnect
  221. 11:31it.
  222. 11:33Yeah, now it's activated. So now it
  223. 11:35could work. Um, yeah, let's turn these
  224. 11:39off.
  225. 11:43So now we have to do the same thing
  226. 11:45again. Um,
  227. 11:48why is this weird? Okay, so let's try
  228. 11:51this again.
  229. 11:52Get Amazon product review
  230. 11:56and then so let's ask again. So this
  231. 12:00will take some time.
  232. 12:03But what I want to see is um
  233. 12:08I want the product reviews to come back
  234. 12:14and um in the executions here
  235. 12:22we'll see this web hook getting called.
  236. 12:25I want to see that. So we're just going
  237. 12:28to wait for that to happen.
  238. 12:32Okay, so we have our results back.
  239. 12:35Um, you can see for each review it made
  240. 12:39a single web hook request. So let's look
  241. 12:42at one of them here. Um, and you can see
  242. 12:47that each review is coming through with
  243. 12:51the review details about this wets suit.
  244. 12:53So what we need to do is to map these
  245. 12:55fields to uh this Google sheet. So let's
  246. 13:01do this. Let's connect
  247. 13:03and um pen row and sheet. You have to
  248. 13:07connect your uh Google sheets here. Pen
  249. 13:09row uh select. So Amazon reviews
  250. 13:14is what I'm going to do. Sheet one and
  251. 13:17then map each column manually. So in
  252. 13:20this case
  253. 13:22um it's these ones. So basically these
  254. 13:25column names are the same ones that we
  255. 13:27expect from Amazon. So that's the
  256. 13:29template. Um and URL
  257. 13:33basically needs to be the same things
  258. 13:37that are coming through
  259. 13:40from um the web hook.
  260. 13:44So I'm just going to copy paste these
  261. 13:47over. And this needs to be product name.
  262. 13:56Product name is going to be
  263. 14:00product
  264. 14:01name
  265. 14:04and it needs to be an expression so that
  266. 14:05it can and product rating
  267. 14:10is going to be
  268. 14:13product rating.
  269. 14:20expression
  270. 14:22and then
  271. 14:27let's see
  272. 14:30we need
  273. 14:34rating
  274. 14:41just regular rating
  275. 14:45expression. author
  276. 14:49name.
  277. 14:53You see just the field names are
  278. 14:56matching one to one. So
  279. 14:59whatever Amazon is sending our column
  280. 15:02names are the same. So it's just the
  281. 15:05same
  282. 15:06JSON.body do variable name so it
  283. 15:10matches. And review header
  284. 15:16That's the header the person wrote and
  285. 15:19then
  286. 15:22I
  287. 15:26most importantly the actual review text.
  288. 15:32So
  289. 15:35what else? I think that's it.
  290. 15:42That's it.
  291. 15:45And okay, this should be it. URL,
  292. 15:48product name, everything that we need.
  293. 15:51So this is connected. Let's save.
  294. 15:55And
  295. 15:58if I execute the same thing to come
  296. 16:01through again.
  297. 16:07Look, these are coming through one by
  298. 16:09one.
  299. 16:11And
  300. 16:13reviews are coming.
  301. 16:25Yeah. So,
  302. 16:30Google
  303. 16:37this case
  304. 16:39end up writing
  305. 16:49didn't have good good reviews. It looks
  306. 16:51like
  307. 16:52text. Let's make this text wrap.
  308. 17:04So,
  309. 17:05what happened to these ones?
  310. 17:24Go to the right. These ones here
  311. 17:34one more time.
  312. 17:55Okay, I think the reviews might be
  313. 17:58coming in too fast. So, Google might be
  314. 18:00throttling this the Google Sheets.
  315. 18:04Sometimes it does that.
  316. 18:06And let's take a look.
  317. 18:10Okay. Yeah, we need to add um
  318. 18:14a delay. So, Google
  319. 18:16doesn't throttle us. So, let's run this
  320. 18:20again one more time.
  321. 18:23And now it should come in with about
  322. 18:25half a second delay between each review.
  323. 18:29So, you see like they're not all coming
  324. 18:31all at once.
  325. 18:33Okay. Now, now we're getting them one by
  326. 18:35one. You see? Yeah. So, so this is
  327. 18:39great. So, now let's get another product
  328. 18:44and
  329. 18:47put that in there. How about this one?
  330. 18:52Now copy the URL
  331. 18:57and go here and say
  332. 19:01can you now
  333. 19:05get
  334. 19:07product reviews
  335. 19:11for
  336. 19:14let's see if it remembers the web hook
  337. 19:16from before or if it's going to ask us
  338. 19:18again. Okay, I didn't remember. So let's
  339. 19:21just not the test one but the production
  340. 19:23one. So copy that just give it to it.
  341. 19:30So
  342. 19:32it's going to call reviews MCP server
  343. 19:36to trigger getting the reviews.
  344. 19:49has been successfully triggered. So,
  345. 19:51let's check.
  346. 19:53So, let's wait for this one to come
  347. 19:55through. Basically, it's going to show
  348. 19:57up in executions
  349. 19:59when um it gets the reviews from that
  350. 20:01page.
  351. 20:05While waiting for that, let's go grab
  352. 20:08reviews for a different product,
  353. 20:12um such as
  354. 20:18the CK
  355. 20:21That's for snorkeling and swim. That's
  356. 20:23not surfing.
  357. 20:25How about
  358. 20:36this one?
  359. 20:47get reviews for
  360. 20:52so that we can compare.
  361. 21:00Of course, we need our
  362. 21:03URL.
  363. 21:19Okay, it's been triggered.
  364. 21:23So, now let's wait for those results to
  365. 21:26come back to our web hook here and fill
  366. 21:28our sheet.
  367. 21:32Yep, they are coming through.
  368. 21:36Um, yeah. So, we have now
  369. 21:40um
  370. 21:42reviews coming through for the reactor
  371. 21:45model and the epic model. So now let's
  372. 21:50do another thing. Ask our agent to
  373. 21:55batch vectoriz.
  374. 21:58So all the reviews that we have here,
  375. 21:59let's copy uh the link. It needs to be
  376. 22:02set to anyone with a link so that our
  377. 22:05agent can read the data.
  378. 22:08Can you
  379. 22:10batch vectoriz?
  380. 22:14Let's give it the sheet. See what it
  381. 22:16says. This is supposed to call
  382. 22:20um
  383. 22:21batch vector MCP tool.
  384. 22:27Let's see if it does.
  385. 22:35I have vectorized 31 reviews.
  386. 22:39Nice. So, let's see. So, it took the CSV
  387. 22:43URL
  388. 22:45and inserted those reviews into our
  389. 22:48vector database, which is great. So now
  390. 22:52uh let's ask questions to this um but
  391. 22:56you know we can open this chat in a
  392. 22:58bigger window. So when you say make chat
  393. 23:00publicly available
  394. 23:02and
  395. 23:04my name is review agent.
  396. 23:07So let's copy this URL
  397. 23:11save this over here
  398. 23:14and open it in a new tab.
  399. 23:20And then and let's ask
  400. 23:23um
  401. 23:26yeah so let's get some general sentence
  402. 23:29about this
  403. 23:31what are people saying about
  404. 23:37so
  405. 23:39now this is supposed to
  406. 23:41go to the executions it's running now so
  407. 23:44you'll see
  408. 23:47and here it's just going to wait
  409. 23:54What's that all about? Let's see what
  410. 23:55happens.
  411. 23:59So,
  412. 24:05it said,
  413. 24:07oh, just like unnecessarily, you know,
  414. 24:09we need to give better system
  415. 24:11instructions to not do stuff like this.
  416. 24:13Um
  417. 24:24don't filter by product name
  418. 24:28just general sentiment
  419. 24:3243 red suit
  420. 24:36let's see so normally this kind of thing
  421. 24:40we need to give better instructions to
  422. 24:43um the MCP I mean the agent system
  423. 24:48prompt so that it doesn't do strict
  424. 24:51searches like that. Here we go. Look,
  425. 24:54now we got answers back.
  426. 24:56Here's a summary of what uh
  427. 25:00and then we can say
  428. 25:03what are people complaining?
  429. 25:07Okay. So, so it seems like they're
  430. 25:10talking about the poorly made seams to
  431. 25:14reveal the concerns.
  432. 25:16And what about
  433. 25:18the what's the other product? That's the
  434. 25:22one reactor
  435. 25:25the reviews for the reactor
  436. 25:31wet suit.
  437. 25:35So now let's go check executions here.
  438. 25:39So that's running. So let's see what
  439. 25:41what it did after we made that
  440. 25:43correction.
  441. 25:44Um so then it went here. You see it
  442. 25:48didn't do the meta filters and instead
  443. 25:50it just did a general query and then it
  444. 25:54got results back
  445. 25:56uh from our vector database.
  446. 25:59Um
  447. 26:01operator what are you talking about?
  448. 26:04Let's see what it did. So this is
  449. 26:08sometimes what you need to do to make
  450. 26:09the agents work. They just don't work
  451. 26:12out of the box. Again, you look why are
  452. 26:14you doing reax operator here, right?
  453. 26:18Don't do reax operator.
  454. 26:24So let's see what it does now.
  455. 26:34So,
  456. 26:36let's go back and see.
  457. 26:45Don't use
  458. 26:48metadata filters.
  459. 26:50So, you use the metadata filter, of
  460. 26:52course.
  461. 26:54Um, it shouldn't have
  462. 26:59What we can do here is just add in the
  463. 27:02system prompt to say don't use metadata
  464. 27:04filters to make the agent better more
  465. 27:06flexible so the search results come back
  466. 27:08better
  467. 27:10this case let's see what ends up
  468. 27:12happening now
  469. 27:15so
  470. 27:18let's look at the data right
  471. 27:21um
  472. 27:23took 19 seconds to execute this here you
  473. 27:27You can see the input and the output. So
  474. 27:29now it can do the metadata filter. Um,
  475. 27:33and now it got these results back from
  476. 27:34the vector database. And then here it's
  477. 27:38kind of uh comparing.
  478. 27:41So now we got our reviews agent work. Uh
  479. 27:43what did we do? We um got product
  480. 27:48reviews from Amazon. We vectorized them
  481. 27:51and then we did a query on them. And um
  482. 27:55so you can Imagine
  483. 27:58how you can do customer sentiment
  484. 28:00analysis on different kinds of products
  485. 28:02like this. And it was pretty simple to
  486. 28:04build. Uh and if you wanted to do that,
  487. 28:07you could turn this into a Slack agent.
  488. 28:09So instead of using the chat here, the
  489. 28:11input could be Slack, output could be
  490. 28:13Slack.
  491. 28:15Um this could be repurposed to use other
  492. 28:18types of review uh websites instead of
  493. 28:21just Amazon, maybe your own Shopify
  494. 28:24website. Uh but the general idea that we
  495. 28:27wanted to learn here is to build an
  496. 28:30agent
  497. 28:32um do some you know web uh data
  498. 28:35collection
  499. 28:37and vectorizing data which is really
  500. 28:40important for everybody to learn what
  501. 28:42happens when you vectorize data. you're
  502. 28:44able to do semantic searches
  503. 28:47um and then be able to get data into
  504. 28:50places like Google Sheets and then in
  505. 28:54batches put them into vector database.
  506. 28:56So in this case DTC.sh MCP server is
  507. 29:00allowing to do that but there are other
  508. 29:02ways to do it of course. Um so uh
  509. 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.