Templates / Monitor AI search citations and competitors with OpenAI, Google Sheets, and Gmail

Monitor AI search citations and competitors with OpenAI, Google Sheets, and Gmail

Ready for 3.0

by Rahul Joshi ✓ · 40 views · created 2026-06-30 · Market Research, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 16 nodes and runs on a schedule (every day) (plus 1 other trigger). Along the way it connects OpenAI, Google Sheets, Gmail and Slack.

How it runs

Trigger: On a schedule (every day) (plus 1 other trigger).

  1. 📋 Build Citation Queries – Fairy Frills (Code): runs custom JavaScript code
  2. Slack: uses Slack
  3. 🤖 Query AI – Static Knowledge (gpt-4o-mini) (OpenAI): uses OpenAI
  4. 🔍 Query AI – Web Search (gpt-4o-search-preview) (OpenAI): uses OpenAI
  5. Merge: merges the data from its input branches
  6. 🔗 Combine & Prepare Responses (Code): runs custom JavaScript code
  7. 🔬 Extract Citation Data (OpenAI): uses OpenAI
  8. 📊 Parse & Structure Citation Results (Code): runs custom JavaScript code
  9. 📝 Append Results to Google Sheets (Google Sheets): uses Google Sheets
  10. 🔀 Check If Final Query (ID = 15) (If): checks a condition and branches into true / false

…plus 3 more steps. See the full node list below.

Services it uses

OpenAIGoogle SheetsGmailSlack

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (10)

From the author

Quick overview This workflow runs weekly to test whether fairyfrills.in is cited in OpenAI answers to 15 shopping queries, logs citation details to Google Sheets, and emails a weekly HTML visibility report via Gmail, with optional Slack alerts on workflow…

Excerpt from Rahul Joshi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.