Tutorial · December 2, 2026

How to Get Slack Alerts When ChatGPT Drops Your Brand

Google Alerts cannot see what ChatGPT says about you. Here is how to get a Slack message when an AI engine drops your brand, using a free Cloudflare Worker, and real data on which changes deserve an alert and which are noise.

TL;DR
To get Slack alerts when ChatGPT drops your brand, create a weekly watch for each buyer prompt, point its webhook at a small Cloudflare Worker, and let the Worker post to a Slack incoming webhook. Filter hard. In our test, 31 of 40 same-day re-runs changed something, but none involved our example brand. A filtered alert fired zero times that day and five times two days later.

Most changes in AI answers are noise. The trick is alerting only on the ones that matter.

To get a Slack alert when ChatGPT stops recommending your brand, you need three things: a scheduled check that asks the AI engines your buyer prompts, a webhook that fires when the answer changes, and a small relay that posts the change to Slack. The relay also filters noise, so the channel only lights up when your brand drops, returns, moves two places, or loses first place.

AI visibility alerts test, November 30 and December 2, 2026: on the same day, 31 of 40 prompt and engine pairs changed something but 0 filtered alerts fired; two days later, 35 of 40 changed and 5 filtered alerts fired, including Omnisend dropping from first to fourth on Perplexity.

The data comes from ten email marketing prompts for online stores, asked twice on ChatGPT, Claude, Gemini, and Perplexity on November 30 and again on December 2, 2026. That is 160 answers, collected through DataForSEO for $2.96, scored for Omnisend as the example brand.

Disclosure: MentionsAPI sells AI visibility data, and the setup below uses our watch endpoint. Any tool that sends a webhook with the change works with the same Worker idea. Omnisend is an example, not a client.

Why set up AI visibility alerts?

AI visibility alerts tell you when ChatGPT, Claude, Gemini, or Perplexity stops naming your brand for a buyer question, so you can react before it costs deals. Google Alerts cannot do this, because it only watches new web pages and news, and AI answers are generated fresh for each question. A dashboard can show the change, but only if someone checks it. An alert brings the change to you.

Answers move more than most teams expect. Between November 30 and December 2, Omnisend went from first to fourth on one Perplexity prompt and from third to first on another.

Nobody on a marketing team rechecks forty answers every week by hand. A Slack message in the channel your team already reads is the cheapest way to notice.

What you need

You need three pieces: an AI visibility API with scheduled checks and webhooks, a Cloudflare account to run the relay Worker, and a Slack workspace where you can add an app. The Worker and the Slack webhook are free at this scale. Cloudflare's free plan allows 100,000 Worker requests a day, far more than a weekly alert needs.

PieceWhat it doesCost
Watch (MentionsAPI)Asks the engines on a schedule and sends a webhook when the answer changes150 credits per prompt per run in quick mode
Cloudflare WorkerChecks the signature, filters noise, posts to SlackFree up to 100,000 requests a day
Slack incoming webhookPosts the message into one channelFree

Why not point the watch straight at Slack? Slack incoming webhooks expect their own JSON with a text field, and they cannot check a signature. The Worker translates the payload and rejects anything not signed with your secret.

Step 1: Create a Slack incoming webhook

Create a Slack app for your workspace, open Incoming Webhooks in the app settings, turn the feature on, and choose Add New Webhook to Workspace. Pick the channel that should get alerts. Slack gives you a webhook URL that posts into that one channel. Copy it and keep it private, because anyone with the URL can post there.

Slack's incoming webhooks guide covers the screens. Each webhook is tied to a single channel, so make a separate one if you want competitor alerts somewhere else.

A dedicated channel such as #ai-visibility works best. Alerts are easier to discuss there than in a busy general channel.

Step 2: Deploy the relay Worker

The relay Worker receives each webhook, checks the HMAC signature against your shared secret, keeps only the changes worth a message, and posts them to Slack. It posts when your brand drops out, comes back, or moves two or more positions, and when a rival becomes the first brand named. Everything else is ignored, which keeps the channel quiet.

// Cloudflare Worker: receives MentionsAPI watch webhooks, verifies the signature, posts to Slack.
// Secrets: WEBHOOK_SECRET (same value you sent as webhook_secret), SLACK_WEBHOOK_URL, BRAND.
export default {
  async fetch(request, env) {
    if (request.method !== 'POST') return new Response('ok');
    const body = await request.text();
    const sig = request.headers.get('x-mentionsapi-signature') || '';
    if (!(await validSignature(env.WEBHOOK_SECRET, body, sig))) {
      return new Response('bad signature', { status: 401 });
    }

    const event = JSON.parse(body);
    const d = event.delta || {};
    const brand = env.BRAND;
    const lines = [];
    if ((d.dropped_brands || []).includes(brand)) lines.push(`:rotating_light: *${brand} dropped out of the answer*`);
    if ((d.new_brands || []).includes(brand)) lines.push(`:tada: *${brand} is back in the answer*`);
    for (const r of d.rank_changes || []) {
      if (r.brand === brand && Math.abs(r.to_rank - r.from_rank) >= 2) {
        const icon = r.to_rank < r.from_rank ? ':arrow_up:' : ':arrow_down:';
        lines.push(`${icon} ${brand} moved from position ${r.from_rank} to ${r.to_rank}`);
      }
      if (r.brand !== brand && r.to_rank === 1) lines.push(`:eyes: ${r.brand} is now named first`);
    }
    if (!lines.length) return new Response('no change worth posting');

    const text = [`*AI visibility alert:* ${event.watch_name || 'watch'}`, ...lines].join('\n');
    const res = await fetch(env.SLACK_WEBHOOK_URL, {
      method: 'POST',
      headers: { 'content-type': 'application/json' },
      body: JSON.stringify({ text }),
    });
    return new Response(res.ok ? 'posted' : 'slack error', { status: res.ok ? 200 : 502 });
  },
};

async function validSignature(secret, body, sigHex) {
  const key = await crypto.subtle.importKey('raw', new TextEncoder().encode(secret), { name: 'HMAC', hash: 'SHA-256' }, false, ['sign']);
  const mac = await crypto.subtle.sign('HMAC', key, new TextEncoder().encode(body));
  const hex = [...new Uint8Array(mac)].map((b) => b.toString(16).padStart(2, '0')).join('');
  if (hex.length !== sigHex.length) return false;
  let diff = 0;
  for (let i = 0; i < hex.length; i++) diff |= hex.charCodeAt(i) ^ sigHex.charCodeAt(i);
  return diff === 0;
}

Save it as worker.js, add this wrangler.toml next to it, and deploy:

name = "ai-alerts"
main = "worker.js"
compatibility_date = "2026-11-01"
npx wrangler deploy
npx wrangler secret put WEBHOOK_SECRET
npx wrangler secret put SLACK_WEBHOOK_URL
npx wrangler secret put BRAND

For WEBHOOK_SECRET, use a long random string of at least 16 characters. SLACK_WEBHOOK_URL is the URL from step 1, and BRAND is your brand name exactly as AI engines write it.

I tested the Worker against signed sample payloads. It posted the brand-drop alert, rejected a bad signature with a 401, and stayed silent on rival-only changes. Cloudflare's secrets guide explains how secrets reach the Worker as env values.

Step 3: Create a watch for each prompt

A watch re-runs one prompt for one brand on a schedule and sends a webhook when the answer changes. Create one for each buyer prompt you care about, with the Worker URL as the webhook URL, the same secret you gave the Worker, a weekly interval, and the triggers you want. Always list the triggers explicitly, so the watch knows which changes should fire.

curl -X POST https://api.mentionsapi.com/v1/watch \
  -H "Authorization: Bearer $MENTIONSAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "What is the best email marketing platform for ecommerce?",
    "brand": "Omnisend",
    "mode": "quick",
    "interval": "weekly",
    "webhook_url": "https://ai-alerts.YOUR-SUBDOMAIN.workers.dev",
    "webhook_secret": "the-same-secret-you-gave-the-worker",
    "trigger_on": ["mention_removed", "mention_added", "rank_changed"]
  }'

Quick mode asks ChatGPT, Claude, Gemini, and Perplexity through their APIs on every run. To watch the consumer ChatGPT app instead, use chatgpt_live. The watch documentation lists every mode, trigger, and the full webhook payload.

Each webhook includes a delta with new brands, dropped brands, and rank changes. That is what the Worker reads to decide whether to post.

How AI visibility alerts reach Slack: a weekly watch asks ChatGPT, Claude, Gemini, and Perplexity a buyer prompt, compares it with the last run, sends a signed webhook to a Cloudflare Worker, which checks the signature, filters noise, and posts to a Slack channel.
Watch, signed webhook, Worker filter, Slack.

How to test the alert before going live

Test the setup by sending the Worker a fake alert signed with your secret. If a message appears in Slack, the signature check, the filter, and the Slack webhook all work. Then send the same request with a wrong signature and confirm it is rejected. This takes two minutes and saves you from finding a broken alert the week your brand actually drops.

BODY='{"event":"watch.fired","watch_name":"test alert","delta":{"new_brands":[],"dropped_brands":["Omnisend"],"rank_changes":[],"top3_reordered":false}}'
SIG=$(printf '%s' "$BODY" | openssl dgst -sha256 -hmac "$WEBHOOK_SECRET" | sed 's/^.* //')
curl -X POST https://ai-alerts.YOUR-SUBDOMAIN.workers.dev \
  -H "content-type: application/json" \
  -H "x-mentionsapi-signature: $SIG" \
  -d "$BODY"

Run it in a terminal with WEBHOOK_SECRET set to the same value you gave the Worker. You should see a Slack message saying Omnisend dropped out, with your own brand name in place of Omnisend.

If nothing arrives, check three things: the BRAND secret matches the brand name exactly, the Slack webhook URL is complete, and the Worker logs in the Cloudflare dashboard show the request.

Which changes deserve an alert?

Only a few kinds of change deserve an alert: your brand dropping out, your brand coming back, your brand moving two or more positions, and a rival taking the first spot. Everything else is usually noise. When we re-ran the same prompts on the same day, 31 of 40 prompt and engine pairs changed in some way, almost all from rivals shuffling lower in the list.

Change typeSame day (40 pairs)Two days later (40 pairs)
Any change at all3135
A rival newly appears2329
A rival disappears1518
First-named brand changes26
Our brand moves 2+ places02
Our brand drops out or returns01
Filtered Worker would post05

A pair is one prompt on one engine. "Same day" compares two runs on November 30. "Two days later" compares the first November 30 run with the first December 2 run.

An unfiltered alert would have fired on 31 pairs before anything real happened. The filtered Worker fired on none that day, then on five pairs two days later.

31 of 40same-day re-runs that changed something
0filtered alerts fired on the same day
5 of 40filtered alerts two days later
Raw changes versus filtered alerts across 40 prompt and engine pairs: same day, 31 pairs changed and 0 filtered alerts; two days later, 35 changed and 5 filtered alerts.
Filtering turns 31 pings into zero on a quiet day.

What the alerts caught in two days

The five alerts that fired two days later were all worth a look. On Perplexity, Omnisend fell from first to fourth for the most affordable email tool, with Brevo taking first. On another Perplexity prompt it rose from third to first. It appeared on a beginner prompt where it had been missing, and on Claude, Klaviyo and Mailchimp each took first place on one prompt.

  • Perplexity, most affordable tool: Omnisend 1st to 4th, Brevo now first.
  • Perplexity, best tool for WooCommerce: Omnisend 3rd to 1st.
  • Perplexity, easiest platform for beginners: Omnisend newly named.
  • Claude, best tool for WooCommerce: Klaviyo now named first.
  • Claude, easiest platform for beginners: Mailchimp now named first.

All five showed up in both runs on each day, so none was a one-run fluke. The overall picture barely moved: Omnisend's mention rate went from 98% to 100%, and its named-first share from 20% to 15%.

That is the right balance. The headline numbers belong in a weekly report, while the alerts point you at the specific prompt and engine that moved.

Thirty-one pairs changed on a quiet day. The filtered alert stayed silent until something real happened.From the two-day test

Alerts, dashboards, or reports?

Alerts, dashboards, and reports answer different questions, and most teams need all three. Alerts answer "what just changed?" for a single prompt and engine. A dashboard answers "where do we stand?" across all prompts at any moment. A monthly report answers "is the work paying off?" with trends and actions. Start with alerts if nobody on the team checks AI answers today.

FormatBest forCadence
Slack alertA drop or a rival taking first place on one promptWhen it happens
DashboardCurrent standing across prompts, engines, and rivalsAlways on
Monthly reportTrends, causes, and next actions for a client or CMOMonthly

All three can share one prompt set, which keeps the numbers consistent and the cost down.

Agencies get extra value from alerts. A client hears about a drop from you first, with the prompt, the engine, and the rival named, instead of spotting it themselves in a meeting. Our agency AEO audit playbook covers turning that into a retainer.

What do AI visibility alerts cost?

The Slack webhook and the Cloudflare Worker cost nothing at this scale, so the cost is the AI answers. A weekly MentionsAPI watch in quick mode is 150 credits per prompt per run, which covers four engines. Ten prompts checked weekly use about 6,500 credits a month, roughly $27 on the monthly plan with top-ups. Checking the same ten daily costs about seven times as much.

Our data shows why weekly is enough. Same-day re-runs produced no real change for our brand, so daily checks would mostly pay for noise.

If you already track a prompt set for a dashboard, reuse it. Our Looker Studio dashboard guide shows the weekly collection, and the alerts cover the gaps between reports.

Our test covered one brand, ten prompts, and two days. Treat the noise numbers as a guide to tuning your filter, and check the first few weeks of your own alerts before you trust them.

Tips to keep alerts useful

Keep alerts useful by watching only prompts that drive revenue, sending them to a dedicated channel, and reviewing the filter after the first month. If an alert matters, re-run that prompt before acting, since a single run can be a fluke. Pair alerts with a monthly report, so the team sees both sudden moves and the longer trend.

  • Start with five to ten prompts that match how buyers ask.
  • Use one channel for your brand, and optionally one for rivals.
  • Re-run any prompt that alerts before changing pages or campaigns.
  • Review alerts monthly and drop prompts that never move.

For the report side, our AI visibility report template covers what to include each month.

Get alerted when AI answers change
Create a watch for any prompt and get a signed webhook when your brand drops, returns, or moves across ChatGPT, Claude, Gemini, and Perplexity. 300 free credits, no card.

Frequently asked questions

Can Google Alerts track mentions in ChatGPT?
No. Google Alerts watches new web pages and news that match your keywords. It does not read answers from ChatGPT, Claude, Gemini, or Perplexity, because those answers are generated per question and are not published pages. To get alerts about AI answers, you need a tool that asks the AI engines your prompts on a schedule and compares the results.
How often should AI visibility alerts run?
Weekly suits most brands. In our test, re-running the same prompts on the same day changed something in 31 of 40 prompt and engine pairs, so more frequent checks mostly catch noise. Weekly runs keep costs down and still catch real moves. Use daily runs only for a handful of prompts that drive most of your sales.
Which AI visibility changes deserve an alert?
Alert on your own brand dropping out of an answer, coming back, moving two or more positions, and a rival taking the first spot. Skip alerts for rivals appearing or disappearing lower in the list. In our data, rival churn happened in most re-runs on the same day, while the filtered alerts fired zero times on the same day and five times two days later.
Do I need a server to send AI alerts to Slack?
You need something that can receive a webhook, check its signature, and post to Slack, because Slack incoming webhooks expect their own message format. A Cloudflare Worker does this on the free plan, which allows 100,000 requests a day. You could also use a serverless function on another platform or an automation tool such as n8n.
Can I get alerts for Perplexity and Gemini too?
Yes. A MentionsAPI watch in quick mode asks ChatGPT, Claude, Gemini, and Perplexity each time it runs, so one watch covers all four. Live modes capture the consumer apps instead, such as chatgpt_live for the ChatGPT app or ai_mode for Google AI Mode. Each mode is billed at its own credit rate per run.
How much do AI visibility alerts cost?
The Slack webhook and the Cloudflare Worker are free at this scale. The cost is the AI answers. A weekly watch in quick mode costs 150 credits per prompt per run, so ten prompts weekly use about 6,500 credits a month, roughly $27 on the monthly plan with top-ups. Daily checks cost about seven times more.

Set it up once, then let Slack tell you

Create the Slack webhook, deploy the Worker, and add a weekly watch for your top five buyer prompts. It takes about half an hour. After that, the channel stays quiet until your brand drops, returns, moves, or loses first place, which is exactly when someone should look.

Quiet channels get read. Noisy ones get muted.

Nikhil Kumar
Founder, MentionsAPI

Growth marketer at the intersection of marketing, product, and technology. 8+ years across startups and scale-ups in India, Switzerland, and the Netherlands. Founder of Landkit (landkit.pro).

Know the day AI stops recommending you.

Watch any buyer prompt across ChatGPT, Claude, Gemini, and Perplexity and get a signed webhook when your brand drops, returns, or moves. 300 free credits, no card.