# Post a weekly Algolia search performance recap to Slack

> Every Monday morning your team gets a plain-English rundown of the past week's search trends, top clicks, and dead-end queries, right in Slack.

- Workflow type: agent
- Services: Algolia, Slack
- Categories: Marketing, Product
- Published: 2026-07-17

## What it does

- Every Monday morning, pulls the last seven days of search data from your main Algolia index.
- Turns the raw numbers into a short, plain-English recap of what actually moved.
- Highlights surging queries, weakening ones, no-results trends, and the records people clicked most.
- Posts the write-up to a Slack channel your merchandising and content teams already read.

## What you'll need

- An Algolia account with analytics enabled on the index you want to report on.
- A Slack workspace and the channel where the recap should land.
- The name of the Algolia index you want the recap to cover.

## Prompt

Every Monday at 9am in my timezone, pull the last 7 days of search analytics from my main Algolia index and post a short, plain-English recap to a Slack channel.

Trigger: cron, weekly on Monday at 9am. The workflow should compute a startDate/endDate covering the previous 7 days (so a run on Monday covers the prior Monday through Sunday) and reuse that same date range for every analytics call below.

Data to fetch from Algolia for my main index (I will provide the index name during setup):

1. Analytics: Searches Count for the last 7 days AND the 7 days before that, so the recap can talk about week-over-week change.

2. Analytics: Top Searches for the last 7 days AND the prior 7 days, so the agent can spot surging and weakening queries by comparing rank and volume.

3. Analytics: Top Hits for the last 7 days — the records that get clicked or returned most often.

4. Analytics: Top Searches with No Results for the last 7 days — dead-end queries.

5. Analytics: Top Filter Attributes for the last 7 days — which facets shoppers are actually using.

6. Analytics: Top Countries for the last 7 days — where the search traffic is coming from.

Then use an agent to turn those six datasets into a short brief. The agent should focus on what actually moved and what a human should do about it, not dump raw tables. Specifically call out: total search volume and week-over-week change; the 3-5 queries that surged the most; any queries that clearly weakened; the no-results rate and the top 5 no-results queries the content or merchandising team should fix; the top clicked records and whether the mix shifted; notable filter-attribute usage (a facet suddenly popular is a signal); and notable country-mix changes. Keep the whole thing tight — about 8-15 short lines, written in Slack mrkdwn, with a clear 'this week's action items for merchandising and content' section at the bottom.

Finally, use the Send a Message action in Slack to post the recap to the channel I pick during setup. The message should be readable inline (Slack mrkdwn, not raw JSON), lead with the week the recap covers, and end with 2-4 concrete callouts phrased as suggestions the merchandising or content team can act on this week.

Skip the run and send nothing if the Algolia responses come back empty (zero searches for the week). Otherwise always post, even if the week looked flat.

## How to customize

- Change the day, time, or timezone the recap runs on (weekly on Monday morning is the default).
- Point it at a different Algolia index or send it to more than one Slack channel.
- Adjust what the recap emphasizes: no-results issues, surging queries, top clicked products, or filter usage.

## FAQ

### Does this work if I have more than one Algolia index?

Yes. Point the recap at your main index to start, and duplicate the workflow to give each additional index its own Monday post if you want them tracked separately.

### Can I send it on a different day or more than once a week?

Yes. The schedule is a simple setting. Weekly on Monday is the default because most teams review last week's search performance in their Monday standup, but daily or twice-weekly works fine.

### Will the recap flag zero-result searches that need attention?

Yes. It calls out the no-results rate for the week and lists the specific queries returning nothing, so your content or merchandising team can add matching products, synonyms, or landing pages.

### Do I need an Algolia Analytics add-on?

You need analytics enabled on the index you're reporting on. Most Algolia plans include search analytics by default. Check your Algolia dashboard if you are not sure.

### Can it post to a private Slack channel?

Yes, as long as the Slack connection you authorize can see or is invited to the private channel you choose.

Use this prompt in General Input: https://www.generalinput.com/prompts/post-a-weekly-algolia-search-performance-recap-to-slack