Most SMBs check their Google rank weekly. Almost none track their AI-engine citations. That's a gap. Reddit appears in ~40% of AI-generated answers; ChatGPT runs on Bing; Perplexity, Claude, and Gemini each pull from a slightly different web. If a competitor is displacing you in those answers, you won't know from Search Console. This post is the working n8n + Perplexity + Google Sheets workflow we run on our own site weekly — and the dashboard it produces.
Why this workflow exists
When we audited 15 mid-market Indian B2B sites in February 2026, 13 had no formal tracking of AI-engine citations. They knew Google rank to 2 decimal places. They had no idea whether ChatGPT was suggesting them, a competitor, or nobody when a buyer asked "best CRM for Indian real estate" or "n8n alternatives in India". The same buyer asked the same question every week and got a slightly different answer. That answer is the new top-of-funnel.
This workflow gives you a weekly snapshot of where you appear, where competitors appear, and what changed since last week. It runs on n8n, queries Perplexity's Sonar API (which returns the answer + the cited URLs), and writes to Google Sheets with a Slack alert on regressions.
The workflow at a glance
The 7-node n8n build
A sample week of output (real, our own site)
We've been running this on softechinfra.com for 14 weeks. Here's what the dashboard looked like in week 14 vs week 13.
| Query | Week 13 (we ranked) | Week 14 (we ranked) | Change |
|---|---|---|---|
| "best n8n alternatives in India" | 3 | 2 | +1 (win) |
| "WhatsApp BSP comparison India" | 5 | not cited | dropped (regression — alert fired) |
| "GST e-invoicing software for SMB" | not cited | 4 | new entry (win) |
| "Razorpay vs Cashfree pricing" | 2 | 2 | no change |
| "chatbot development cost India" | not cited | not cited | still missing — backlog item |
The "WhatsApp BSP comparison India" drop in week 14 traced back to a competitor publishing a fresher comparison post. We refreshed our own post 36 hours later — by week 16, we were back at rank 3.
What the queries should look like
Three buckets in the Sheet, ~30-100 rows total:
Avoid wide vague queries ("best software") — they're noisy and rotate too much week to week. Be specific.
When NOT to bother running this
Three patterns where this isn't worth the build:
Real example — a Mumbai SaaS startup, B2B SMB tooling
Client: a 12-person Mumbai SaaS team selling expense-management to mid-market Indian companies. They were #2-3 on Google for "expense management software India" for 18 months. AI traffic was a black box.
We deployed this workflow in February 2026. First week's report showed they were cited in 4 of 23 tracked queries, vs the leading competitor's 17. The gap was almost entirely on "comparison" queries — the competitor had a series of "X vs Y" posts that Perplexity and ChatGPT pulled from.
The team published 8 comparison posts over 6 weeks (one per week) following the GEO playbook — definition-first paragraphs, comparison tables, FAQ schema. By week 12, they were cited in 14 of 23 queries. Demo requests attributed to "AI engines" in their CRM (asked at signup) went from ~2/month to ~11/month.
The Reddit thread on r/SEO about Perplexity API tracking has multiple Indian operators sharing similar setups. A few use BrowserAct to also crawl ChatGPT for the same queries — more data, more cost (~3x), more failure modes.
Cost breakdown (May 2026)
For a tracking volume of 50 queries × 4 weeks = 200 queries/month:
Total monthly cost: cheaper than a single hour of an SEO consultant's time per month, and far more actionable than waiting for Search Console to show AI traffic (it doesn't, in any useful detail).
For larger query banks (200-500 queries weekly, multi-language), the Perplexity bill scales linearly. Above 500 queries/week, consider sonar-pro on a sample subset weekly + sonar on the full set monthly.
Setup checklist (45 min, end-to-end)
- Perplexity Sonar API key created and stored as $env.PERPLEXITY_API_KEY in n8n
- Google Sheet "Queries" populated with 30-100 rows: query, category, expected_winner
- Google Sheet "Citation History" created with column headers (captured_at, query, you_present, your_rank, competitor_present, top_3_domains, full_citations_json)
- n8n Cron node scheduled for Monday 6am IST
- Slack incoming webhook URL configured in the Slack node
- Code node tested with a sample Perplexity response — citations parsed correctly
- Diff logic verified by manually adding two weeks of fake history rows and triggering Cron
- First Slack alert received (even if just the summary, no regressions)
What to do with the data once it's flowing
Tracking is the easy part. Acting on it is where most teams stall. After 4-6 weeks of data, three actions typically pay off:
A note on what Perplexity returns vs ChatGPT
We've spot-checked ~60 queries side-by-side over 12 weeks. Patterns:
The takeaway: Perplexity tracking is a leading indicator. If your wins on Perplexity grow over 4 weeks, ChatGPT typically catches up over the next 4-8.
Building the Slack alert format that people actually read
Most teams' GEO Slack alerts get muted within 2 weeks because the format is noisy. A pattern that survives:
We send the summary as a regular message in the channel, the regressions as threaded replies. People scan the parent; the team that owns the page reads the thread.
A note on our founder's workflow
A version of this workflow runs on Vivek Kumar's blog tracking ~80 founder-perspective queries weekly. The dashboard surfaces a weekly "what AI engines are now saying about Indian SaaS" digest, which feeds the editorial calendar. If you want a peek at the spreadsheet template (sanitised), email contact@softechinfra.com.
FAQ
Why Perplexity and not ChatGPT or Claude?
Perplexity exposes a public API (Sonar) with citations returned in the response. ChatGPT, Claude, and Gemini do not — to track those, you need browser automation (BrowserAct, Browse AI), which is slower, costlier, and breakable. Perplexity is the most reliable proxy for "what is the AI web saying right now".
How accurate is Perplexity as a proxy for ChatGPT?
Imperfect but usable. Perplexity's index is broader than Bing (which feeds ChatGPT) but most overlap in the top citations. In our spot-checks, ~70% of Perplexity's top-5 citations also appear in ChatGPT's answer for the same query. For trend tracking, that's plenty.
Can I do this without n8n?
Yes — a Python script + Google Sheets API + Slack webhook works. We use n8n because the visual workflow is easier to hand off to a marketing operator who can maintain queries without touching code. For dev-only teams, a 60-line Python script in cron is simpler.
How long until the data is useful?
After 4 weeks of data, you can spot trends. After 12 weeks, you can attribute content investments to citation lift with reasonable confidence. Don't act on week-1 data — Perplexity's results have meaningful week-to-week variance.
What's the difference between sonar and sonar-pro?
Sonar is the base model — fast, cheap, good for tracking. Sonar-pro uses a larger model with deeper citation tracking and is closer to what a Perplexity Pro user gets in the UI. For weekly tracking, sonar is fine. For one-off "give me the full answer with reasoning" investigation, sonar-pro is worth the 3x cost.
Do I need API keys for Slack and Sheets?
For Slack: an Incoming Webhook URL (free, no API needed) is enough for write-only alerts. For Google Sheets, n8n's OAuth integration handles auth — sign in once, n8n stores the token. No service account needed for personal sheets.
How do I avoid hitting Perplexity's rate limits?
The default Sonar API rate limit is generous (200 queries/minute). At 50 queries/week, you're nowhere near it. If you scale to 1,000+ queries weekly, batch them across the day (10 queries every 30 minutes) instead of firing all at once on Monday morning.
Want This Citation-Tracking Dashboard Built?
We ship the n8n + Perplexity + Sheets + Slack workflow end-to-end in 4 working days — query bank curation, workflow setup, dashboard formulas, Slack channel setup, and a 30-day check-in. Suitable for SaaS, agencies, B2B brands with active content programs and ₹50 lakh+ annual revenue.
Request a GEO AuditIf you'd like the n8n workflow JSON and the Sheets template (both sanitised), email contact@softechinfra.com — we'll send them over before the call.
