Skip to main content

Generate AI product marketing photos from Google Sheets with Google Gemini and Drive

Workflow preview

Workflow preview
100%
Generate AI product marketing photos from Google Sheets with Google Gemini and Drive preview
Open on n8n.io

1. Workflow Overview

1. How it works Reads product image links from a Google Sheet. Analyzes each image, generates an AI prompt, and combines the product with a human model image. Creates final AI advertising photos an...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.merge, n8n-nodes-base.googlesheets, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.chainllm, n8n-nodes-base.googledrive, n8n-nodes-base.stickynote, n8n-nodes-base.manualtrigger, @n8n/n8n-nodes-langchain.lmchatgooglegemini

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Vuong Nguyen.

Original n8n.io source

1.1 Workflow description

Title
Generate AI product marketing photos from Google Sheets with Google Gemini and Drive
Workflow name
Generate AI product marketing photos from Google Sheets with Google Gemini and Drive
  1. How it works Reads product image links from a Google Sheet. Analyzes each image, generates an AI prompt, and combines the product with a human model image. Creates final AI advertising photos and: Saves images to Google Drive. Saves prompts + result links to a separate “output” sheet. Here’s an updated version of the note, optimized so the customer knows exactly what they must customize (no hard‐coded IDs assumed).
  2. One‐time setup for your own account Before using the workflow, you must point it to your Google Sheet, Drive folder, and model image.

2.1. Prepare your Google assets Google Sheet

Create or copy a spreadsheet. Create two sheets, for example: Sheet A (input): e.g. “Product Images” Required column: Image-URL Sheet B (output): e.g. “Output Images” Required columns: Image-URL, Prompt, Output Google Drive

Create a folder to store generated AI images (e.g. “AI Product Photos”). Upload one model image (e.g. Model.png) that will be used as the human model in all generated photos. n8n credentials

In n8n, make sure you have: A Google Sheets credential (your Google account). A Google Drive credential. A Google Gemini / PaLM API credential. 2.2. Update the workflow nodes Open the workflow “Automated generation of AI advertising photos for product marketing” and update these nodes:

Node: “Read Image URLs” (Google Sheets)

Set Document / Spreadsheet to your product spreadsheet. Set Sheet to your input sheet (e.g. “Product Images”). Make sure that sheet has a column named exactly Image-URL. Node: “Insert Image URL in Table” (Google Sheets)

Operation: appendOrUpdate (keep as is). Set Document / Spreadsheet to the same spreadsheet as above (or another one if you prefer). Set Sheet to your output sheet (e.g. “Output Images”). Make sure the output sheet has columns: Image-URL Prompt Output Matching column: Image-URL (keeps update‐by‐product behavior). Node: “Download model image” (Google Drive)

Choose your model image file from Google Drive. This is the image of the human model that will appear in all generated photos. Node: “Upload to Drive” (Google Drive)

Set Folder to your AI output folder (e.g. “AI Product Photos”) where you want all generated images to be saved. Credentials in each Google node

For each Google Sheets / Drive node, select your Google accounts in the “Credentials” section if they are not already set. After these 4–5 fields are updated, the workflow is fully adapted to your environment.

  1. Daily usage (for business / marketing users) Open your Google Sheet. Go to the input sheet (e.g. “Product Images”). For each product, add a row with: Image-URL → a valid link to the product image. Do not edit the output sheet manually; it will be filled by the workflow. To generate images:

Log into n8n. Open the workflow “Automated generation of AI advertising photos for product marketing”. Click “Test workflow” or “Execute workflow”. Wait until it finishes. 4. Viewing results In Google Drive:

Open your chosen output folder (e.g. “AI Product Photos”). All generated advertising photos are stored there. In Google Sheets (output sheet):

Image-URL: product image link used as input. Prompt: the AI prompt used to generate the image. Output: a web link to the generated image on Google Drive. Re‐running the workflow with the same Image-URL will update the existing row instead of creating duplicates.

  1. Troubleshooting No image generated for a row Check that Image-URL opens correctly in a browser. No data written to output sheet Confirm the workflow nodes point to the correct spreadsheet and sheet names. Check that the columns Image-URL, Prompt, Output exist and are spelled exactly the same. General errors Open the last execution in n8n and review the error message. Share that message with your technical team for support.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.1

Block 2 - Read Image URLs

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 3 - Download Images

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Product Photography Prompt

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.6

Block 5 - Upload to Drive

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 6 - Insert Image URL in Table

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 7 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - When clicking 'Test workflow'

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 12 - Google Gemini Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 13 - Analyze an image

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1.1

Block 14 - Edit an image

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1.1

Block 15 - Download model image

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 16 - Merge1

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.1

Block 17 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 18 - Sample Promt

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 19 - Main overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Generate AI product marketing photos from Google Sheets with Google Gemini and Drive
Complexity advanced
Nodes 19
Categories Content Creation, Multimodal AI
Author Vuong Nguyen
Published 02 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13804/13804.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate AI product marketing photos from Google Sheets with Google Gemini and Drive do?

1. How it works Reads product image links from a Google Sheet. Analyzes each image, generates an AI prompt, and combines the product with a human model image. Creates final AI advertising photos an...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.