# Know when people mention your product on Reddit or Hacker News

Source: https://clickruntime.com/use-cases/brand-mention-alerts

> Give your assistant your product name and where to send mentions. ClickRuntime searches on a schedule, sends each new mention once, and adds a label such as question, complaint or praise.

## Can ChatGPT or Claude watch Reddit and Hacker News for mentions of my product?

Only while you ask them to search. With ClickRuntime connected, your assistant sets up an automation that searches Reddit and Hacker News on a schedule, remembers what it has already sent, and posts each new mention to Slack with an AI label, so you can answer the ones that matter.

### Why the assistant can't do this on its own

- Mentions appear at any hour. Answering early needs a search that runs on its own.
- Without a record of what was sent you'd see the same threads every time. The automation keeps their IDs.
- Labelling free text (question, complaint, praise) is a job for AI; dedupe and filtering are plain code.

## Set it up from your AI assistant

Prompt to copy:

> Create a ClickRuntime automation: every 30 minutes, search Reddit and Hacker News for "Acme CRM". Post each new mention to #mentions in Slack with the title, link and a label: question, complaint, praise or other. Never post the same thread twice.

1. **Connect ClickRuntime to your assistant.** Add ClickRuntime as a connector (MCP server) in ChatGPT, Claude, Cursor or another MCP client, using https://clickruntime.com/api/mcp. You sign in with Google or email; there is no API key to copy. This is done once per assistant.
2. **Paste the prompt.** Start a new chat and paste: “Create a ClickRuntime automation: every 30 minutes, search Reddit and Hacker News for "Acme CRM". Post each new mention to #mentions in Slack with the title, link and a label: question, complaint, praise or other. Never post the same thread twice.” Change the details (times, channels, addresses) to yours.
3. **Read the draft.** The assistant restates what will happen, asks for anything missing, such as your timezone or which channel to post to, and saves a draft automation. A draft never runs on its own, so nothing happens until you agree.
4. **Connect accounts and save keys.** Reddit's public search and Hacker News's Algolia search need no key for light use. Slack alerts use the workspace notifications Slack, connected once in the ClickRuntime dashboard.
5. **Test it.** The first run records existing mentions. The assistant can run a test with a common word to show a sample alert, then switch back to your product name.
6. **Turn it on.** The assistant tells you what will run, when, and which services it will contact, then asks your permission to turn it on. From then on it runs on ClickRuntime's servers, and you can close the chat.
7. **Check it in the ClickRuntime dashboard.** Each run shows how many new mentions were found and posted. State holds the IDs already posted; clearing it starts again from a fresh baseline.

Connector setup for each assistant: https://clickruntime.com/assistants

## What the assistant writes

`brand_mentions.py`

```python
import time
from clickruntime import on_trigger, report_fetched, state, notify, ai, http

QUERY = "Acme CRM"
CHANNEL = "#mentions"
LABELS = ["question", "complaint", "praise", "other"]

def reddit():
    r = http.get("https://www.reddit.com/search.json",
                 params={"q": f'"{QUERY}"', "sort": "new", "limit": 25},
                 headers={"User-Agent": "clickruntime-mentions/1.0"}).json()
    return [{"id": "r:" + c["data"]["id"], "title": c["data"]["title"],
             "text": c["data"].get("selftext", "")[:600],
             "url": "https://www.reddit.com" + c["data"]["permalink"]} for c in r["data"]["children"]]

def hacker_news():
    since = int(time.time()) - 2 * 86400
    r = http.get("https://hn.algolia.com/api/v1/search_by_date",
                 params={"query": QUERY, "numericFilters": f"created_at_i>{since}"}).json()
    return [{"id": "hn:" + h["objectID"], "title": h.get("title") or h.get("story_title") or "Comment",
             "text": (h.get("comment_text") or "")[:600],
             "url": f"https://news.ycombinator.com/item?id={h['objectID']}"} for h in r["hits"]]

@on_trigger
def run(event):
    seen = set(state.get("seen") or [])
    new = [m for m in reddit() + hacker_news() if m["id"] not in seen]
    report_fetched(len(new))
    if not new:
        return {"summary": "Nothing new"}
    if seen:   # the first run only records the baseline
        for m in new[:15]:
            try:
                label = ai.generate(f"{m['title']}\n{m['text']}",
                                    system="Label this post about a product with one word: " + ", ".join(LABELS),
                                    max_output_tokens=10).text.strip().lower()
            except ai.AIError:
                label = "other"
            if label not in LABELS:
                label = "other"
            notify.slack(f"[{label}] {m['title']}\n{m['url']}", channel=CHANNEL)
    state.set("seen", list(seen | {m["id"] for m in new})[-2000:])
    return {"summary": f"{len(new)} new"}
```

- Two public search APIs, merged and deduped by ID in state.
- Each label is one short AI call with about ten output tokens. Unexpected answers fall back to “other”.
- The first run records what already exists and posts nothing.

## A schedule, not a trigger link

Use a schedule; neither site pushes search results. Every 15 to 60 minutes works well. The shortest interval is every 5 minutes.

## Limits

- Reddit's public JSON is rate limited; at higher volume the assistant can switch to Reddit's API with your app's credentials saved as secrets.
- Search covers what each site's search indexes; deleted posts and some very new posts may be missed.
- X search needs your own paid X API access.

## Troubleshooting

### Reddit returns 429 or 403.

You're being rate limited. Check less often, or ask your assistant to use Reddit's OAuth API with credentials saved as secrets in the ClickRuntime dashboard.

### Lots of irrelevant mentions.

Common product names match other things. Ask the assistant to require a second word, or to let AI drop posts that aren't about your product.

## Related

- [Reddit automations](https://clickruntime.com/apps/reddit)
- [Slack automations](https://clickruntime.com/apps/slack)
- [X automations](https://clickruntime.com/apps/x)
- [app-review-digest](https://clickruntime.com/templates/app-review-digest)
- [RSS feed alerts](https://clickruntime.com/use-cases/rss-feed-alerts)
- [AI triage and summaries](https://clickruntime.com/use-cases/ai-classify-and-summarise)
- [Monitoring and alerts](https://clickruntime.com/use-cases/monitoring-and-alerts)
- [IFTTT alternative](https://clickruntime.com/alternatives/ifttt)
- [Zapier alternative](https://clickruntime.com/alternatives/zapier)
- [Docs: state](https://clickruntime.com/docs/state)

## Extend it: what you can add next

The first version is rarely the last. Because the automation is a Python script with memory, AI and any API available, you grow it by asking your assistant for the change. Each change is a new version, and a failed deploy never replaces the working one.

- **Draft a suggested answer for each question** (Built-in AI)
  Prompt: "Change my mention alerts so that for posts labelled question, the Slack message includes a short suggested answer I can edit."
- **Log mentions in a Google Sheet for a monthly review** (Any app or API)
  Prompt: "Add to my mention alerts: add each mention to my Mentions sheet with date, site, label and link."
- **Watch competitor names and post them to another channel** (Multi-step logic)
  Prompt: "Change my mention alerts to also search for Beta CRM and Gamma, and post those to #competitors instead."
- **A weekly count of mentions by label** (Memory between runs)
  Prompt: "Add to my mention alerts: every Monday, post to #mentions how many questions, complaints and praise posts we got last week."
- **Turn complaints into Zendesk tickets** (Any app or API)
  Prompt: "Add to my mention alerts: for posts labelled complaint, create a Zendesk ticket with the link and text."
- **Search more often during a launch** (Schedules)
  Prompt: "Change my mention alerts to check every 5 minutes this Tuesday and Wednesday for our launch, then go back to every 30 minutes."

## Questions

### Can ChatGPT monitor Reddit for me?

Not by itself. With ClickRuntime connected, ChatGPT sets up an automation that searches Reddit on a schedule and posts new mentions to Slack or email.

### Can Claude track Hacker News mentions?

Yes, through ClickRuntime, using Hacker News's public Algolia search.

### Does it need a Reddit API key?

Not for light use of Reddit's public search. For heavier use, save your Reddit app's credentials as secrets in the ClickRuntime dashboard.

### Can it watch X?

Only with your own X API access, which is a paid plan from X.

### What can I add later?

Suggested answers, a mentions sheet, competitor tracking or tickets for complaints. See Extend it.
