Product image analysis, generation and Google Drive archiving
This AI-assisted n8n workflow reads product image links from Google Sheets and fetches source photos over HTTP. OpenAI analyses each image while an LLM chain writes a tailored product photography prompt. Generated images convert from Base64 into files, upload to Google Drive and update your tracking sheet.
- Catalogue ID
- #0889
- Functional nodes
- 13
- Connections
- 12
- Trigger
- manualTrigger
- AI layer
- AI-assisted
Business problem solved
Ecommerce catalogue teams producing uniform product shots across hundreds of SKUs spend days writing prompts, converting files and pasting Drive URLs back into spreadsheets manually.
Trigger
A manual trigger starts catalogue runs; live deployments switch to Google Sheets row triggers or schedules.
Connected systems
- Google Sheets
- HTTP API endpoints
- OpenAI
- Google Drive
- File conversion tools
- Self-hosted n8n
Every workflow is deployed on your own server with documentation, a run log and an error queue.
Workflow architecture
- 1. OpenAI Chat Model (AI layer) (connects to Product Photography Prompt)
- 2. Merge (Logic and routing) (connects to Send Image with Prompt to…)
- 3. Read Image URLs (Service and data) (connects to Download Images)
- 4. Download Images (Service and data) (connects to Analyze Images, Merge)
- 5. Analyze Images (AI layer) (connects to Product Photography Prompt)
- 6. Product Photography Prompt (AI layer) (connects to Merge)
- 7. Send Image with Prompt to… (Service and data) (connects to Convert Base64 to File)
- 8. Convert Base64 to File (Service and data) (connects to Upload to Drive)
- 9. Upload to Drive (Service and data) (connects to Insert Image URL in Table)
- 10. Insert Image URL in Table (Service and data)
- 11. When clicking 'Test… (Trigger) (connects to Read Image URLs)
- 12. Convert to File (Service and data)
- 13. Generate Image (Service and data) (connects to Convert to File)
- Trigger
- AI layer
- Logic and routing
- Service and data
Node positions and directed links are generated from the verified catalogue record.
Workflow steps
- 01
Source image URL retrieval
Google Sheets supplies product image URLs and HTTP requests fetch the reference photos.
- 02
Image analysis and prompt crafting
OpenAI analyses source photos while an OpenAI chat model chain builds detailed product photography prompts.
- 03
Image generation and file conversion
Merged image and prompt inputs call the image generation API and convert Base64 data into binary files.
- 04
Drive upload and Sheet link update
New images upload straight to Google Drive while resulting URLs write back into Google Sheets.
Error queue and human approval
Built-in state in the catalogue workflow
The verified catalogue workflow contains zero node-level error flags across its 13 functional nodes and 12 connections.
Production layer added by ALTAI
During live deployment, ALTAI adds human visual sign-off before storefront publishing, image size guards, API quota limits and an error queue.
OpenAI product image generation and Drive archive Frequently asked questions
No. Files land in Google Drive and update your tracking sheet so creative leads inspect every asset before publishing.
Live deployments filter for rows where the generated output URL column is empty so completed SKUs are skipped.
Yes. Studio background, angle and colour constraints live inside the prompt chain template.
Related n8n workflows
Chat-triggered ChatGPT image generation to Drive and Sheets
Accepts image prompts over chat, calls the image generation API via HTTP, loops outputs to Google Drive and records file URLs plus aggregated usage in Sheets.
Google Drive automated image metadata tagging
Watches Google Drive for new images, analyses subjects via OpenAI, merges generated keywords into Base64 metadata and updates the image file.
Google Drive media to OpenAI caption and Instagram
Fetches uploaded media from Google Drive, generates captions via OpenAI, saves post details to Google Sheets and publishes to Instagram through Facebook Graph API.

We write the proposal after we have found the problem together
In a thirty-minute call we listen to how you work and talk through where time and customers are slipping away. If you do not need a digital fix, we will tell you that too.
30 minutes · no preparation needed
The call and the week of discovery are both free.Read the terms