Weekly
Check each week whether AI search answers mention your brand
Each week your key buyer questions are put to Perplexity, and your sheet records whether your brand was mentioned, how, and which sources were cited.
- Runs
- Weekly
- Apps
- Google Sheets, Perplexity
- AI
- Optional
- Access
- Perplexity key; Sheets read+write
Send this to your assistant
Create a ClickRuntime automation: every Monday, ask Perplexity each buyer question in my Questions tab, record in my Visibility sheet whether Northwind is mentioned, the sentiment and the cited sources, and email me a short summary.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
More buyers now ask AI search tools which product to choose instead of scrolling through search results. If your brand is not in those answers, you are invisible at the moment of decision, and nothing in your usual analytics shows it.
Marketing teams, founders and SEO specialists use it to track their presence in AI answers week by week and to see which sources the answers rely on.
What you get out of it
See what buyers see
You get the actual answers to the questions your customers ask.
A trend, not a snapshot
Weekly rows show whether your visibility is improving after content or PR work.
Know which sources matter
Cited pages show where to earn mentions or improve your own content.
Competitors in context
Answers often name alternatives, which shows who you are being compared with.
How it works
What happens, step by step
Every Monday, ClickRuntime reads your list of buyer questions from the sheet.
Each question is asked to Perplexity, and the answer and cited sources are collected.
It checks whether your brand is mentioned, and AI labels how it is described.
One row per question is added to your sheet, and you get a short summary by email.
Before it runs live
- Connect your Google Sheets account and pick the spreadsheets it may use
- Connect Perplexity
What you get
Build your own
Need it to work differently?
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.
Changes you can ask for
- Run it at a different time, more or less often, or only on weekdays
- Change what the AI looks for, or how it writes the result
- Add another app, for example also send it to Slack
- Combine it with other Google Sheets and Perplexity steps into one automation
Under the hood
The code that runs this automation
from datetime import date
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from clickruntime import on_trigger, credentials, http, notify, ai
SHEET_ID, BRAND = "your-spreadsheet-id", "Northwind"
def sonar(prompt):
r = http.post("https://api.perplexity.ai/chat/completions", headers={"Authorization": f"Bearer {credentials.secret('PERPLEXITY_API_KEY')}"},
json={"model": "sonar", "messages": [{"role": "user", "content": prompt}]}, timeout=90).json()
return r["choices"][0]["message"]["content"], [s["url"] for s in r.get("search_results", [])]
@on_trigger
def run(event):
sheets = build("sheets", "v4", credentials=Credentials(credentials.connection("google", "work")),
cache_discovery=False).spreadsheets().values()
questions = [r[0] for r in sheets.get(spreadsheetId=SHEET_ID, range="Questions!A2:A").execute().get("values", []) if r]
rows = []
for q in questions:
answer, links = sonar(q)
mentioned = BRAND.lower() in answer.lower()
mood = ai.generate(f"How does this answer describe {BRAND}? One word: positive, neutral or negative.\n{answer[:3000]}",
max_output_tokens=5).text.strip().lower() if mentioned else "not mentioned"
rows.append([date.today().isoformat(), q, "yes" if mentioned else "no", mood, "\n".join(links[:5])])
sheets.append(spreadsheetId=SHEET_ID, range="Visibility!A:E", valueInputOption="RAW", body={"values": rows}).execute()
hits = sum(r[2] == "yes" for r in rows)
notify.email_me(f"{BRAND} mentioned in {hits} of {len(rows)} answers", "\n".join(f"{r[2]:>3} · {r[3]} · {r[1]}" for r in rows))
return {"mentioned": hits, "questions": len(rows)}FAQ
Common questions
How many questions should I track?
How is sentiment decided?
Do answers change week to week?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Get a sourced daily news digest, saved to a sheet
Each morning Perplexity researches the latest news on your topic; you get the digest by email and every day is logged in your sheet.
See how it worksDraft a researched LinkedIn post each morning from your topic list
Each morning the next topic in your sheet is researched and turned into a LinkedIn post draft, saved in the sheet for you to edit and post.
See how it worksResearch each new lead in your sheet
Every new prospect row gets a short profile of the person and company and a personal opening line, written back into the sheet.
See how it worksKeep exploring
Set up “Check each week whether AI search answers mention your brand” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.