Playbook ยท Content

AI visibility dashboard

Runs buyer prompts in Clay on a schedule through Claude and the other AI assistants your buyers ask, extracts mentions, position, sentiment, citations and competitors as structured JSON, stores daily snapshots in Supabase and reports visibility trends in a custom Next.js dashboard.

Use this when

You want to know whether AI assistants mention, cite and recommend your brand against competitors, and you find packaged AEO tools too generic, opaque or costly.

Tools in this playbook

  • Clay
  • Claude
  • Supabase
  • Next.js
  • Vercel

The workflow

How it works

  1. 01

    Write the prompt library

    We start with 20 to 30 non-branded buyer-intent prompts tagged by type, topic, use case and intent. Branded prompts stay out of the visibility score and are reported separately, because they always score high.

  2. 02

    Build the Clay table

    One row per prompt. For each assistant measured we add a query column on Clay's native AI API integration so cited URLs are captured (not Claygent, which drops citations), a formula column that flattens the raw response, a Use AI analyser with Claude as the model and an HTTP API column.

  3. 03

    Write the analyser prompt

    Claude returns strict JSON for mention, position, sentiment, citation type, classified cited URLs, competitors, themes and positioning. Competitor aliases (spelling variants and former names) are mapped to one canonical name at extraction so the leaderboard does not fragment, and the prompt is tested on a known row.

  4. 04

    Set up Supabase

    We create a responses table unique on prompt, platform and run day, so a rerun overwrites, plus prompts, citation_domains and response_competitors tables.

  5. 05

    Upsert through one RPC

    One function takes a JSONB payload, accepts camelCase or snake_case keys via COALESCE, upserts the response and replaces its child rows. The HTTP API column posts to it with the anon key and a service-role bearer, and fires only on scheduled or manual runs.

  6. 06

    Build the dashboard

    A Next.js app, generated with Claude and hosted on Vercel, shows visibility score, citation rate, average position, sentiment, competitor visibility and the change on the previous period.

  7. 07

    Schedule and monitor

    The table reruns on a schedule with daily row-count and null-rate checks, because Clay reports 200 OK even when the JSON fails to parse and a model change can cause weeks of silent nulls. We also watch Clay Actions and Data Credits.

Run this playbook in your systems

We build it into your stack and run it for you. Start with a free strategy call.

The workflow: AI visibility dashboard