Track brand visibility in ChatGPT results with OpenAI and Google Sheets
Ready for 3.0What this workflow does
This workflow has 9 nodes and runs on a schedule (every week at 08:00). Along the way it connects Google Sheets. It also calls api.openai.com over HTTP.
How it runs
Trigger: On a schedule (every week at 08:00).
- Read Queries from Sheets (Google Sheets): uses Google Sheets
- Expand Queries to Samples (Code): runs custom JavaScript code
- Loop Over Sample Batches (Loop Over Items (Split in Batches)): loops over the items in batches
- Calculate Visibility Score (Code): runs custom JavaScript code
- Post to OpenAI for Response (HTTP Request): calls api.openai.com (POST)
- Append Scores to Sheets (Google Sheets): append
- Evaluate Response with OpenAI (HTTP Request): calls api.openai.com (POST)
- Parse Evaluated Results (Code): runs custom JavaScript code
Services it uses
Other OpenAI + Google Sheets templates (2,011)
HTTP calls to: api.openai.com
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (5)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest
From the author
Quick overview This workflow runs weekly, reads buyer-style queries from Google Sheets, asks OpenAI Chat Completions (ChatGPT) each query three times, judges whether your brand is mentioned, and writes per-query visibility metrics and a 0–100 score back to a…