Invoices, documents and PDFs

Product image analysis, generation and Google Drive archiving

Short answer

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

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

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

Workflow architecture

  1. 1. OpenAI Chat Model (AI layer) (connects to Product Photography Prompt)
  2. 2. Merge (Logic and routing) (connects to Send Image with Prompt to…)
  3. 3. Read Image URLs (Service and data) (connects to Download Images)
  4. 4. Download Images (Service and data) (connects to Analyze Images, Merge)
  5. 5. Analyze Images (AI layer) (connects to Product Photography Prompt)
  6. 6. Product Photography Prompt (AI layer) (connects to Merge)
  7. 7. Send Image with Prompt to… (Service and data) (connects to Convert Base64 to File)
  8. 8. Convert Base64 to File (Service and data) (connects to Upload to Drive)
  9. 9. Upload to Drive (Service and data) (connects to Insert Image URL in Table)
  10. 10. Insert Image URL in Table (Service and data)
  11. 11. When clicking 'Test… (Trigger) (connects to Read Image URLs)
  12. 12. Convert to File (Service and data)
  13. 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

Workflow steps

  1. 01

    Source image URL retrieval

    Google Sheets supplies product image URLs and HTTP requests fetch the reference photos.

  2. 02

    Image analysis and prompt crafting

    OpenAI analyses source photos while an OpenAI chat model chain builds detailed product photography prompts.

  3. 03

    Image generation and file conversion

    Merged image and prompt inputs call the image generation API and convert Base64 data into binary files.

  4. 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

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.

Frequently asked

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.

Mert Can Gundogdu
The founder takes the call, not a sales team
Next step

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

Chat on WhatsApp