Automate GPT-4o fine-tuning with Google Sheets or Airtable data
Ready for 3.0What this workflow does
This AI workflow has 14 nodes and runs on a schedule (every day). Along the way it connects OpenAI, Airtable and Google Sheets.
How it runs
Trigger: On a schedule (every day).
- Get Examples from Sheet (Google Sheets): uses Google Sheets
- Get Examples from Airtable (Airtable): uses Airtable
- Create JSONL File (Code): runs custom JavaScript code
- Upload JSONL File (OpenAI): uses OpenAI
- Set GPT Model (Edit Fields (Set)): sets or maps fields
- Begin Fine-tune Job (HTTP Request): calls an HTTP API
- Wait: pauses before continuing
- Check Fine-Tune Job (HTTP Request): calls an HTTP API
- If: checks a condition and branches into true / false
- Add Fine-Tuned Model to Airtable (Airtable): uses Airtable
…plus 3 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Airtable templates (215) · Other Google Sheets + Airtable templates (72)
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)
- Wait
n8n-nodes-base.wait - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - OpenAI
@n8n/n8n-nodes-langchain.openAi - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Stop and Error
n8n-nodes-base.stopAndError - Airtable
n8n-nodes-base.airtable - Google Sheets
n8n-nodes-base.googleSheets
From the author
Who is this for? Anyone curating before/after text examples in a spreadsheet and wanting a push-button path to a fine-tuned GPT model—without touching curl. Works with Google Sheets or Airtable. --- What problem does it solve? Manually downloading CSVs,…