Skip to main content

Generate AI product photos using Gemini Nano Banana with Jotform & Google Sheets

Workflow preview

Workflow preview
100%
Generate AI product photos using Gemini Nano Banana with Jotform & Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

AI Product Photography With Nano Banana and Jotform Automate your product visuals! This n8n workflow instantly processes new product photography requests from Jotform or Google Sheets , uses an...

Best for

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

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.googlesheets, @n8n/n8n-nodes-langchain.googlegemini, n8n-nodes-base.set, n8n-nodes-base.googledrive, n8n-nodes-base.converttofile, n8n-nodes-base.extractfromfile, n8n-nodes-base.httprequest

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Generate AI product photos using Gemini Nano Banana with Jotform & Google Sheets
Workflow name
Generate AI product photos using Gemini Nano Banana with Jotform & Google Sheets

AI Product Photography With Nano Banana and Jotform 📸✨

Automate your product visuals! This n8n workflow instantly processes new product photography requests from Jotform or Google Sheets, uses an AI agent (Gemini Nano Banana) to generate professional AI product photography based on your product details and reference images, saves the final image to Google Drive, and updates the photo link in your Google Sheet for seamless record keeping.


How it Works

This n8n workflow operates as a fully automated pipeline for generating and managing AI product photographs:

  1. Trigger: The workflow is triggered either manually, on a set schedule (e.g., hourly), or immediately upon a new submission from the connected Jotform (or when new "Pending" rows are detected in the Google Sheet on a scheduled or manual run).
  2. Data Retrieval: If triggered by a schedule or manually, the workflow fetches new rows with a "Status" of "Pending" from the designated Google Sheet.
  3. Data Preparation: The input data (Product Name, Description, Requirements, and URLs for the Product and Reference Images) is prepared. The Product and Reference Images are downloaded using HTTP Requests.
  4. AI Analysis & Prompt Generation: An AI agent (using the Gemini model) analyzes the product details and image requirements, then generates a refined, professional prompt for the image generation model.
  5. AI Photo Generation: The generated prompt, along with the downloaded product and reference images, is sent to the image generation model, referred to as "Gemini Nano Banana" (a powerful Google AI model for image generation), to create the final, high-quality AI product photograph.
  6. File Handling: The raw image data is converted into a binary file format.
  7. Storage: The generated photograph is saved with the Product Name as the filename to your specified Google Drive folder.
  8. Record Update: The workflow updates the original row in the Google Sheet, changing the "Status" to "Completed" and adding the public URL of the newly saved image in the "Generated Image" column. If the trigger was from Jotform, a new record is appended to the Google Sheet.

Requirements

To use this workflow, you'll need the following accounts and credentials configured in n8n:

  • n8n Account: Your self-hosted or cloud n8n instance.
  • Google Sheets/Drive Credentials: An OAuth2 or API Key credential for the Google Sheets and Google Drive nodes to read input and save the generated image.
  • Google Gemini API Key: An API key for the Google Gemini nodes to access the AI agent for prompt generation and the image generation service (Gemini Nano Banana).
  • Jotform Credential (Optional): A Jotform credential is only required if you want to use the Jotform Webhook trigger. Sign up for Jotform here: https://www.jotform.com/?partner=zainurrehman
  • A Google Sheet and Jotform: with columns/fields for: Product Name, Product Description, Product Image (URL), Requirement, Reference Image 1 (URL), Reference Image 2 (URL), Status, and a blank Generated Image column.

How to Use

1. Set Up Your Integrations

  1. Add the necessary Credentials (Google Sheets, Google Drive, Gemini API, and optionally Jotform) in your n8n settings.
  2. Specify the Google Sheet Document ID and Sheet Name in the Google Sheet nodes.
  3. In the Upload to Drive node, select your desired Drive ID and Folder ID where the final images should be saved.

2. Prepare Input Data

You can start the workflow either by:

  • Submitting a Form: Fill out and submit the connected Jotform with the product details and image links.
  • Adding to a Sheet: Manually add a new row to your Google Sheet with all the product and image details, ensuring the Status is set to "Pending".

3. Run the Workflow

  • For Jotform Trigger: Once the workflow is Active, a Jotform submission will automatically start the process.
  • For Scheduled/Manual Trigger: Activate the Schedule Trigger for automatic runs (e.g., hourly), or click the Manual Trigger node and select "Execute Workflow" to process all current "Pending" requests in the Google Sheet.

The generated photograph will be uploaded to Google Drive, and its link will be automatically recorded in the "Generated Image" column in your Google Sheet.

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 - When clicking ‘Execute workflow’

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

Block 2 - Get row(s) in sheet

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

Block 3 - Message a model

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

Block 4 - Get Image Contents

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

Block 5 - Upload to Drive

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

Block 6 - Convert to File

Type / Role
n8n-nodes-base.convertToFile - convertToFile
Config choices
Version 1.1

Block 7 - Extract from File

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

Block 8 - Product

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

Block 9 - Reference Image 1

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

Block 10 - Reference Image 2

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

Block 11 - Merge

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

Block 12 - Aggregate

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

Block 13 - Gemini Nano Banana

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

Block 14 - Update row in sheet

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

Block 15 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 16 - JotForm Trigger

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

Block 17 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 18 - Add row in sheet

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

Block 19 - Edit Fields

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

Block 20 - Sticky Note

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

Block 21 - Sticky Note1

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

Block 22 - Sticky Note2

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

Block 23 - Sticky Note3

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

Block 24 - Sticky Note4

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

3. Summary Table

Workflow Generate AI product photos using Gemini Nano Banana with Jotform & Google Sheets
Complexity advanced
Nodes 24
Categories Content Creation, Multimodal AI
Author Zain Khan
Published 15 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9712/9712.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 photos using Gemini Nano Banana with Jotform & Google Sheets do?

AI Product Photography With Nano Banana and Jotform Automate your product visuals! This n8n workflow instantly processes new product photography requests from Jotform or Google Sheets , uses 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.