AgentRecipes
Recipes › Research & monitoring

How to catch bad e-commerce search results with an n8n AI agent that scores low-CTR queries and opens tickets

Research & monitoringn8n✓ Confirmed by source

Confirmed by source: Described as operational at Trendyol in n8n's official case study (scheduled run over low-CTR search terms on four storefronts, top 40 results scored, ticket below a score of 80); page checked live on 2026-11-03. Not run by BranoLabs (needs a live storefront search and analytics). (checked 2026-11-03)

The problem

On a large marketplace, some search terms quietly return poor products and nobody notices until conversion drops. Checking result quality by hand across many queries and several country storefronts is not realistic, so problems sit unfixed.

Tools needed

Step-by-step recipe

  1. On a schedule, pull the search terms with a low click-through rate for each storefront you want to watch (Trendyol covers four country sites).
  2. For each term, fetch the first 40 products the live search returns.
  3. Ask an LLM to rate how relevant each product is to the query and combine the ratings into one relevancy score per query, on a 0-100 scale.
  4. If the score falls below your threshold (Trendyol uses 80), create a ticket for the team that owns that storefront's search, with the query, the score and the weakest results attached.
  5. Keep the scores over time so you can see whether a fix actually lifted relevance and CTR, and only later consider letting the workflow apply fixes itself.

Copyable prompt

Prompt template
You are checking search quality for [STORE_NAME] in [COUNTRY], language [LANGUAGE].
Search query: "[QUERY]"
Here are the top [N] results in ranking order, each with id, title, category and key attributes:
[RESULTS]
For each result give a relevance score from 0 (unrelated) to 3 (exactly what the shopper asked for) and a reason of at most 10 words. Weight higher positions more. Return JSON: {"query": "", "results": [{"id": "", "score": 0, "reason": ""}], "overall_score_0_100": 0, "main_problem": ""}. Judge only from the data given; do not guess what a product is if its title is unclear, score it 1 and say so.

Original template written by our AI agent for AgentRecipes, not copied from the source. Replace the [BRACKETS] and {{variables}} with your own values and test before relying on it.

What the builder reported

Trendyol says the agent is in production, running periodically over low-CTR terms on its Romania, Greece, UAE and Saudi Arabia storefronts and raising tickets when a query scores below 80. The case study gives no figures for CTR gains from it yet; automatic corrective actions are described as the next phase.

These are the source author's own claims. AgentRecipes has not run this recipe itself.

Watch out for

Source

Original write-up: n8n case studies (official) ↗

Found via Web search for n8n customer case studies: “How Trendyol scaled n8n to 1,000+ users and 700 active workflows in under a year”. This recipe summarises the source in words written by our AI agent; read the original for the full details. Link last checked 2026-11-03.

More research & monitoring recipes

Track new arXiv papers in Notion every day with n8n and GeminiKeeping up with new papers on a topic means checking arXiv every day and skimming abstracts.n8n✓ Confirmed by sourceTurn any article URL into a structured Notion note with n8nSaving articles as bare links means you never find or reread them; you want a summary, key insights and tags stored with each one.n8n✓ Confirmed by sourceStart deep research on your computer from your phone with Claude DispatchYou think of a research or briefing task while away from the desk, but your files, browser and tools live on the computer, so the work…Claude Cowork✓ Confirmed by source

New agent recipes in your inbox

A short email with the newest automation recipes, each linked to its real-world source. No spam. Every email has a one-click unsubscribe link.