Skip to content

Automate Algolia

Algolia powers the search box on your site or store, and its analytics show what visitors type and what comes back empty. Teams automate reports on queries with no results, synonym suggestions for those gaps, and alerts when the no-results rate climbs. Explain what you want to your AI assistant, confirm what it will run, and it carries on by itself.

Try asking

Create a ClickRuntime automation: every Monday at 8am, email me the 50 most frequent Algolia searches on my products index that returned no results in the last 7 days.

Paste it into your assistant. It tells you what it will send or change before it runs live.

Build your own

Build any Algolia automation you can describe

The ideas above are ready-made starting points, not a fixed list. Describe what Algolia should do in your own words, with your conditions, other apps or an AI step, and your assistant writes it, tests it and runs it on ClickRuntime.
  • 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.

For example, ask your assistant

Every Monday, pull Algolia searches with no results from last week and have AI group them into topics we should add content for.

Every week, post the top 20 Algolia search terms and no-result searches to our #product Slack channel.

Every night, sync products from my Google Sheets catalog into my Algolia index, and post a Slack message if any records failed to update.

Beyond chat

Have Algolia work when you're not in the chat

Connecting Algolia to ChatGPT or Claude lets you ask about it while you chat. ClickRuntime handles the part that should happen on its own: checks on a schedule and actions on each new event, set up from the same chat and running after you close it.

Setup

Connect Algolia

Algolia needs your Application ID and an API key. A restricted key with only the ACLs the automation uses is safer than your Admin key.

Algolia

Search

  1. In the Algolia dashboard, open Settings, then API Keys.
  2. Copy your Application ID.
  3. Create a restricted API key with the analytics ACL for search reports, or copy your Write key if the automation must change indexes.
  4. In the ClickRuntime dashboard, open Connections & secrets and save your Algolia app ID and key as secrets for Algolia. They are sent as X-Algolia-Application-Id and X-Algolia-API-Key.

Good to know

Algolia limits that affect automations

  • Use a key limited to the ACLs the automation needs; the Admin key can change and delete any index.
  • Analytics data is served from a regional analytics host, which must match the region of your Algolia application.
  • Some newer Algolia APIs, such as Ingestion, also use regional hosts rather than the main application host.

FAQ

Questions about automating Algolia

Can ClickRuntime change my search index?
Only if the key you save allows it. The reports and alerts here need just the `analytics` ACL, which cannot edit records or settings.
Where does the no-results data come from?
From Algolia's analytics, which records searches that returned zero hits. The automation reads it for the period you choose, such as the last 7 days.
How does the synonym suggestion work?
AI groups the failed queries by what people meant and proposes synonyms for each group. You review them and decide what to add in Algolia.
Do I need an AI key for the grouping?
No. AI comes with every plan, including on the free plan, so there is no separate key to set up.
Does the spike alert run in real time?
No. It checks once a day against your threshold and recent history, which suits a metric that moves over hours rather than seconds.
Is this a Algolia connector for ChatGPT or Claude?
Not for chatting with Algolia data. A chat connector lets your assistant read and change Algolia while you're in the conversation. ClickRuntime is for the work that should happen without you: you set up an automation from the chat once, and it keeps running on a schedule or on each Algolia event.

Tell your assistant what Algolia should do

Free plan. No credit card.