Track weekly brand visibility in ChatGPT and Perplexity with Google Sheets, Gmail, and Slack
Ready for 3.0What this workflow does
This workflow has 16 nodes and runs on a schedule (every week at 08:00). Along the way it connects Google Sheets, Gmail and Slack. It also calls api.openai.com and api.perplexity.ai over HTTP.
How it runs
Trigger: On a schedule (every week at 08:00).
- Read Brand Settings (Google Sheets): uses Google Sheets
- Read Prompts To Track (Google Sheets): uses Google Sheets
- Expand To Repeat Runs (Code): runs custom JavaScript code
- Ask ChatGPT With Web Search (HTTP Request): calls api.openai.com (POST)
- Ask Perplexity With Citations (HTTP Request): calls api.perplexity.ai (POST)
- Merge: merges the data from its input branches
- Read Mentions And Citations (Code): runs custom JavaScript code
- Score Each Prompt (Code): runs custom JavaScript code
- Save Prompt Results (Google Sheets): append or update
- Read Last Week (Google Sheets): uses Google Sheets
…plus 5 more steps. See the full node list below.
Services it uses
HTTP calls to: api.openai.com, api.perplexity.ai
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 (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Gmail
n8n-nodes-base.gmail - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack
From the author
Quick overview This workflow runs weekly to ask a list of buyer-style prompts in ChatGPT (with web search) and Perplexity, then scores whether your brand is mentioned or cited and writes results to Google Sheets, emailing a report and sending a Slack alert on…