Score draft content citability with GPT-4o-mini and Google Sheets
Ready for 3.0What this workflow does
This workflow has 9 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets. It also calls api.openai.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Read Drafts from Sheets (Google Sheets): uses Google Sheets
- Check Draft Text Presence (If): checks a condition and branches into true / false
- Fetch Article Page (HTTP Request): calls an HTTP API
- Build Judge Payload (Code): runs custom JavaScript code
- Convert HTML to Text (Code): runs custom JavaScript code
- Post to OpenAI API (HTTP Request): calls api.openai.com (POST)
- Calculate Scores (Code): runs custom JavaScript code
- Append Scores to Sheets (Google Sheets): append
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)
- Manual Trigger
n8n-nodes-base.manualTrigger - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if
From the author
Quick overview This workflow manually scores draft content for AI citability using OpenAI GPT-4o-mini and logs detailed, evidence-backed results to Google Sheets, either from pasted draft text or by fetching and cleaning a provided page URL. How it works 1.…