Generate images with GPT-image-1 and store in Google Drive with cost tracking
Ready for 3.0Ready 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.
Nodes used (10)
- Manual Trigger
n8n-nodes-base.manualTrigger - HTTP Request
n8n-nodes-base.httpRequest - Google Drive
n8n-nodes-base.googleDrive - Split Out
n8n-nodes-base.splitOut - Convert to File
n8n-nodes-base.convertToFile - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Aggregate
n8n-nodes-base.aggregate
What it does
How it works - Receive a chat input as an image prompt. - Call OpenAI's gpt-image-1 API to generate an image. - Split the returned images and process them one by one. - Upload each generated image to Google Drive. - Save image links and thumbnails to a Google Sheets document. - Record token usage and estimated cost into a separate sheet. Set up steps 1. Connect your OpenAI API credentials for image generation. 2. Connect your Google Drive and Google Sheets accounts. 3. Set the destination folder in Google Drive. 4. Set the target Google Sheet and specify the correct sheet tabs. 5. The setup usually takes around 5-10 minutes. 6. Detailed field mappings are already pre-configured inside the workflow. 7. Additional tips and instructions are included as sticky notes inside the workflow. !Screenshot20250425190410NRnD1vZE2x 2.jpg(fileId:1166) Google Sheet copy url Copy Sheet Link