Weekly
Turn failed searches into synonym ideas
Failed queries arrive grouped by intent, with suggested synonyms for each group.
- Runs
- Weekly
- Apps
- Algolia
- AI
- Yes, uses the built-in AI allowance
- Access
- analytics ACL
Send this to your assistant
Create a ClickRuntime automation: every Friday, take last week's Algolia no-result queries, group them by what the shopper meant and email me synonym suggestions for each group.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A site search that returns nothing is a customer telling you what they wanted and could not find. On a shop that runs on Algolia, the no-results list can have hundreds of different queries a week: typos, brand names, regional words, plurals, things you do not sell. Read as a flat list, it is hard to see which ones matter. Merchandisers skip it, and the same gaps cost sales for months because nobody decided that sneakers and trainers should be the same thing.
Every week, the automation pulls the searches that returned no results, and ClickRuntime's built-in AI groups them by intent, for example misspellings, synonyms of products you sell and requests for items you do not carry. For each group it suggests synonyms or redirects you could add to Algolia. The result arrives as an email.
It is useful for e-commerce managers, merchandisers and anyone who owns the search experience of a site or app.
What you get out of it
Search gaps turn into a clear to-do list
Instead of 400 queries, you see six groups with an idea for each. A merchandiser can add a synonym or a rule in minutes, which turns lost searches into found products.
Vocabulary differences are caught
The AI notices that customers say couch where your catalog says sofa. Matching the words people really use is one of the cheapest ways to lift conversion. Adding the missing synonym brings those shoppers to the right products.
Demand you do not serve becomes visible
Groups of queries for products you do not sell are evidence for what to stock next. It is customer research that costs nothing to collect. You learn what to stock without running a survey.
Typos are separated from real gaps
Misspellings are grouped on their own, so you can decide whether to rely on typo tolerance or add rules, and avoid treating them as missing products. Each kind of problem has a different remedy, so sorting them saves effort.
Weekly attention keeps search improving
A small number of changes each week adds up. Over a quarter, the share of searches that end in nothing can fall noticeably, with no big project. That is a real gain for very little work each week.
How it works
What happens, step by step
Every week, ClickRuntime collects the searches on your shop from the past 7 days that found nothing in Algolia, with how often each was searched.
AI groups the failed searches by what shoppers were looking for, such as rain gear.
For each group it suggests synonyms that would link those searches to products you already sell.
You get an email listing each group with its search count, example searches and the suggested synonyms.
Before it runs live
- Connect Algolia
What you get
Build your own
Need it to work differently?
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
Changes you can ask for
- Run it at a different time, more or less often, or only on weekdays
- Change what the AI looks for, or how it writes the result
- Add another app, for example also send it to Slack
- Combine it with other Algolia steps into one automation
Under the hood
The code that runs this automation
from datetime import date, timedelta
from clickruntime import on_trigger, credentials, http, ai, notify
INDEX = "products"
@on_trigger
def run(event):
searches = http.get("https://analytics.algolia.com/2/searches/noResults",
headers={"X-Algolia-Application-Id": credentials.secret("ALGOLIA_APP_ID"),
"X-Algolia-API-Key": credentials.secret("ALGOLIA_ANALYTICS_KEY")},
params={"index": INDEX, "limit": 200,
"startDate": (date.today() - timedelta(days=7)).isoformat(),
"endDate": date.today().isoformat()}).json()["searches"]
if not searches:
return {"queries": 0}
queries = "\n".join(f"{s['search']} ({s['count']})" for s in searches)
report = ai.generate(f"Shop search queries that returned nothing last week:\n{queries}",
system="Group these queries by what the shopper meant. For each group give the queries, "
"total count and 1-3 synonym rules to add in Algolia. Plain text.",
max_output_tokens=1200).text
notify.email_me("No-result searches grouped, with synonym ideas", report)
return {"queries": len(searches)}FAQ
Common questions
Does the AI change my Algolia settings?
How many queries does it look at?
What Algolia data does it need?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Email yourself last week's zero-result searches
Each Monday you get the top searches on your site that found nothing.
See how it worksAlert Slack when the no-results rate passes 10%
Your team hears the same day if a growing share of searches return nothing.
See how it worksGet a daily news digest in Slack
Each morning your team gets a short summary of what's new on the sites and blogs you follow.
See how it worksKeep exploring
Set up “Turn failed searches into synonym ideas” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.